Actionscript 3 - Incorporating Flash Components In One Site?
Jan 21, 2011
I need to integrate ASP.NET into an existing Flash site. The site is heavily laden with Flash and needs to communicate with a SQL Server database. I want to use ASP.NET SQLDataSource for this purpose. Given that I need to integrate the two technologies for one web page on the site, do I need to make the site fully ASP.NET with embedded Flash objects? Or, can I just add a single ASPX page to the site that contains the web.config and connection string to SQL Server?
View 1 Replies
Similar Messages:
Mar 31, 2010
I have had a request come in to do this, and I remember doing this in a different way a couple of years ago but forgotten how it should work and how to make it work for this scenario: a swf will be doing POST/GET requests to an ASPX file.
this ASPX file will have methods to do specific functions. In the end, it will return back a custom XML back to the swf.This is all fine but here is the problem that I am having:how will the ASPX page know what method is to be "executed" along with the parameters? Parameters I understand will be obtained from querystring or form variables.How does one "send back" the result in XML? Do we do a write on the Response stream (setting the contenttype/mime type) or just return back an XML string on the method being called?
View 1 Replies
Jan 26, 2010
am getting problem in SQL Server 2005 installation. When option of 'select components u want to install' comes, all components appears to be disable.
View 5 Replies
Mar 27, 2011
I have a create form.. I want to upload flash files into my detail page.. can anyone show me an example on that ?
View 7 Replies
Oct 13, 2010
I have a WebForm which has an ImageButton. When clicked, it will open a new window (using javascript). This new window,will load an html page (video.html).
[Code]....
In the website root theres a folder called Content, inside it theres anothe folder called Video and inside Video there are alll the objects
that the video needs. When I try this in debug mode, it works. However, when I publish my website, and click the ImageButton the new window opens, and the FLV player shows, but the video never loads.
View 21 Replies
Jul 14, 2010
I am a student and i want to make online gaming website as a part of my academic project.
Now the problem that i am facing is that as it is an academic project i have to use downloaded swf games into my project . now i want to fetch the highest score for an individual for a particular game and i want to store that data into my database so that i can populate the list of high scorers for any particular game on my webpage.
View 1 Replies
Aug 2, 2010
how is it possible to embed any .swf file into any .aspx page?
View 2 Replies
Jul 12, 2010
I would like to know how to upload a file from ActionScript 3 (From a FLEX Application) to a Dot Net Back End, maybe to an ASHX file, an ASPX file or similar and using C# as core backend language.
View 1 Replies
Mar 29, 2011
I'm trying to add Embeded flash in aspx page running on iis 7.5 windows server 2008. When i'm adding the Embeded code src=/mylocation/test.swf it works fine. But when I'm adding fileserver location src="file:\c: est.swf the page doesn't load.
The code works fine in normal html file on my desktop.
View 1 Replies
Sep 3, 2010
I have done an multiple upload with uplodify jquery, but when i check it in a system with no flash player installed a blank area is present in the region of the uplodify flash button, how can i show the user some missing plug-in like in other sites to install latest flash player plug-in... or suggest some option to make upload possible in a button click (single/multiple) even when user don't have flash installed.
View 2 Replies
Nov 10, 2010
I incorporated "JQuery UI DatePicker" from this site [URL] to my web application. I have it working but my issue comes with incorporating it with my strongly typed views.
I have included my revelant code below. The view is bind to the "NewEditDataTypeModel" model. I have 2 questions:
1. I have a date variable in my model that I pass to the view, how do I setup the DatePicker to use data from my model has a default value?
2. When an user selects a date from the DatePicker, how do I bind it to the model? Currently this value is passed in as a separate DateTime parameter in the action method (showned below).
I have a HTMLHelper Extension for the DatePicker:
[Code]....
Inside my view it looks like this: (code snippet)
[Code]....
My action method in my controller:
[Code]....
View 9 Replies
Jul 15, 2010
I have web site where web application exist in asp.net2.0 ie Framework 2.0. Now I would like Add another web application of ASP.NET3.5 FRAMEWORK. After adding assemblies of 3.5. I am getting error in ajax 1.0 code where this code is called
ScriptManager.RegisterClientScriptBlock(p, cstype, csname1, cstext1,true );
Error stated as CS0433: The type 'System.Web.UI.ScriptManager' exists in both 'c:WINDOWSassemblyGAC_MSILSystem.Web.Extensions1.0.61025.0__31bf3856ad364e35System.Web.Extensions.dll' and 'c:WINDOWSassemblyGAC_MSILSystem.Web.Extensions3.5.0.0__31bf3856ad364e35System.Web.Extensions.dll'
Is there any possibility that these error can be rectified from web.config or only we have to delete the assembly file from server of 1.0
[code]....
View 1 Replies
Jan 10, 2010
I would like to have a FLEX SWF Menu in .NET that is animated, and use button clicks to update an iFrame in an .NET 2.0 Ajax enabled application without a page update or refresh. If I use URLVaribles in Flex, The only way I've gotten to them to ASP.NET is via URL Page Navigation which always refreshes the screen. There is a LOADVARS function but I have not gotten it to work. Is there any suggestion on how one would do this??
Do I need to look into using JSON for Flex??? Or WebOrb???
This works fine... but with a page refresh (which is not cool)...
navigateToURL( new URLRequest( "http://localhost:50294/WEBAPP/Default.aspx?P=2&H=500" ), "_self" );
This does NOT work fine... (in fact it just loads the whole page .NET page in FLEX, not what I am looking for)
var variables:URLVariables = new URLVariables();
variables.P="1";
variables.H="400";
var request:URLRequest = new URLRequest();
request.url = "http://localhost:50294/Timber2/Default.aspx?";
request.method = URLRequestMethod.POST;
request.data = variables;
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.TEXT;
loader.addEventListener(Event.COMPLETE, uploadComplete);
try
{
loader.load(request);
}
catch (error:Error)
{
trace("Unable to load URL");
}
View 2 Replies
Dec 14, 2010
I am writing a search application for a large dataset of images of algae.
The search is in two steps: first some general search criteria is filled out. Next a list of species that fit the general criteria shows up and the user checks which species they would like to see. Finally a list of images comes up that both fit the general search criteria and belong one of the species that the user had checked. I'm trying to decide the best way to do this, I thought about two potential ways...
One way: I can add all the checked species to a WHERE clause in the SQL statement that gives me my image search results. I dont like this though... its possible the user selects 100+ species and this would make for a very very long WHERE clause.
Another way: I could leave my SQL statement so it only takes into account the general search criteria. Then when I go to display the results, maybe I could choose not to display a record if it does not belong to a species that was checked by the user.
View 8 Replies
Feb 13, 2010
1084 syntax error; expecting rightbrace before leftbrace as well as var 'colour' will be scoped to default namespace. Im' not sure what is going on but it is interfering with my ability to debug. it is action script
1084 error
package {
import flash.display;
import flash.display.Loader;
import flash.display.Sprite;
import flash.events.Event;
import flash.net.*;:
public class assgn extends Sprite
{
public function assgn()
{
var request = new URLRequest("C:UsersFujitsu UserDesktopprojects folder09_10");
var loader = new Loader();
loader.load(request);
[Code].....
View 2 Replies
May 14, 2010
I create a static website , but i want to master page, i select one flash template but i dont how to edit flash template.
View 1 Replies
Mar 18, 2010
I have dlls in bin directory. I can't see where they are referenced in either solution or web.config files. So where are the references stored ?
View 3 Replies
Mar 24, 2011
I have a one admin to many clients scenario. The admin asks questions and the clients are expected to respond with a Yes/No. The communication happens real-time and time to live for one question is say about 2 minutes. So, after 2 minutes, the admin refreshes the question and new question is put up. I am working with ASP.NET. Before getting started on code, I was wondering if there are any components available that can be used to work with something like this?
View 2 Replies
Mar 6, 2010
I am tasked with re-architecture an existing ASP.Net 2.0 Web Site. The current solution has 3 projects; Web UI, Business layer project and Data layer project. The Data layer uses some sort of SQL helper class and stored procedures to return DataTable. The Business layer sort of passes the DataTable along, I don't see much business logic. The UI web site is heavy on DataGrids. While brainstorming, my thoughts are; I want to obviously keep the layered design and use the separation of code by using 3 projects in the solution.
The part that I am most confused about is the Data Layer. What should I use for this part, Entity Framework, or create my own Classes that represent my database or logical objects? Speed of development is also an issue, it has to be down fairly quickly and be flexible or decoupled for enhancements. I tried going the MVC route but the learning curve is too steep for the developers at this time. So, it has to be Web Forms. I am leaning on using Enterprise Library for Data access, logging, caching and Exception handling.
View 5 Replies
Aug 24, 2010
I'm trying to create reusable "zones" but am having trouble figuring out how to give them all unique ids.What I'd like is to be able to create a component which can be put on an mvc page using the usercontrol syntax or using RenderAction or RenderPartial. I want to be able to update these components' content using ajax, so I need someway to reference them by id. However, there is no mechanism in MVC that wraps anything in a div or something like that.
I've learned that if I extend ViewUserControl and put the controls on the page like so:
[Code]....
This way, I can pass the previous ID and put it in ViewData, in case I need it laterThen, I can even go through all my controls on page load event in the master page and get my unique ID and write somekind of register javascript function to the page so that I can do javascript stuff if I want when the page loads.
[Code]....
Is there a more elegant way to do this? I see similar stuff from 'Areas' but never seen an example where someone has put more than one area on a page and then needed to reference them via javascript. This also seems similar to custom templates, but I'm having trouble figuring out how that would work.
View 5 Replies
Dec 13, 2010
I am having problems with 2 popupcontrol extenders. They are used in conjuction with a webservice to display the detail information from a database. Each extender gets information a from 2 different tables. The extenders both work fine except when they have run across a row that has the same primary key number. Here is what the code is (I removed most of the info) to hopefully make it faster to view:
<cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" CssClass="ajax__myTab" Width="100%" ScrollBars="Horizontal">
<cc1:TabPanel ID="TabPanel5" runat="server" HeaderText="" Enabled="true">
<HeaderTemplate>Agent Info </HeaderTemplate>
[Code]....
View 1 Replies
Apr 8, 2010
I have a FormView component, that includes an EditItemTemplate. From my code behind, i would like to access some of the components that are children from this EditItemTemplate. I tried with FindComponent() but it doesnt seems to work.
View 2 Replies
Apr 19, 2010
how i can install ajax on windows 7.
i have visual studio 2008. i think i just ned to install the components for it.
View 1 Replies
Oct 1, 2010
I have gone through many articles which uses different workaround to create .net based ActiveX control. But I did not find any standard way of creating ActiveX controls in C#. Can someone share me how to create and test ActiveX control in c#. Note that I have created ActiveX components in VB6 and now looking for a way to create ActiveX control in c# which might be similar to VB6.
View 1 Replies
May 4, 2010
I'm trying to use a GridView to display a list of components in ASP.NET. I'm trying to make it editable at the same time. One of the columns is a string that should be selected out of a list when the user edits the row.
So I've tried the following:
Convert the BoundField row to an ItemTemplate Add a dropbox to the template window in the gridview
bound the selecteditem to the string
At this point, I get an error because the list items haven't been set up in the dropbox. So I guess the two things I'm wondering are:
How do I assign the items in the dropbox to a dynamically created list of options? How do I make the dropbox only appear when the row is being edited?
Ok so I've discovered the "EditItemTemplate" field in visual studio, that answers #2.
And now I've discovered that the dropbox has a datasource field which can be linked to a property in the data object, and that holds the options list.
View 1 Replies