ActionScript 3.0 :: Loading Aspx Page As Xml?

Jul 31, 2009

I'm using swfobject to replace various objects on my page with flash. I use location.href (javascript) in order to pass the URL into flash via flashvars. In flash, I load the page as XML and then parse the data according to my current needs.This all seems to work fine when testing locally. However, I am trying to use this process with a CMS that is running ASP.NET and it no longer works.Is there an issue with the following code if the page being loaded is a .aspx page rather than a .html page? (xmlPath is the URL passed via flashvars)

Code:
// loadXML
private function loadXML():void

[code].......

View 0 Replies


Similar Posts:


ActionScript 3.0 :: Communication With ASPX Page Possible?

Jun 3, 2010

I need to call a javascript function in an aspx page from flash. Is it possible? Also I need to pass an argument to the js function in aspx page. How this can be achieved?

View 3 Replies

Asp.net :: Converting Aspx Page Into Flash Swf?

Mar 4, 2011

I have a iframe for advertisement but google adsense want to flash format how to convert iframe to flash swf

View 1 Replies

ActionScript 3.0 :: Get A Variable From .aspx Page ?

Jan 25, 2009

I am trying to call an aspx page, have it hit the database, and return a string of text to my actionscript.

Here is my actionscript code:

It crashed on the line 'gameText = urlLoader.data.theText;' with the error of 'Error #1010: A term is undefined and has no properties.' so i guess urlLoader.data.theText is coming back null.

Here is my .aspx page code:

When I run the .aspx page separately, it returns what I want it to: '&theText=This is my test text'. I think I may be missing the big picture here somewhere.

View 0 Replies

ActionScript 2.0 :: Send Value From Flash To ASPX Page

Oct 30, 2010

How can we able to send a value with getURL from flash document to aspx page?
Example:
getURL("default.aspx?ui=12", "_blank", "POST");
The main aim is that the address above don't show in browser's address bar.

View 1 Replies

ActionScript 3.0 :: Load Data From Aspx Page Using It?

Jul 18, 2010

I'm making a project that will need to read some xml from aspx page

the aspx page will connect to database and retrive some records then will convert them to xml

I don't know how to read that info from as3.

View 2 Replies

ActionScript 3.0 :: Pass Data To And From An Aspx Page?

Oct 17, 2010

How can I pass data to and from an aspx page tp AS3? IN AS2 I could use LoadVars . I have sen some examples and there seems afew ways.

View 6 Replies

Html :: Embedding Flex App In ASP.NET Page (aspx)?

Feb 2, 2010

I am making a flex app to embed in my ASP.NET portfolio. What is the best way to embed the .swf file into the HTML of the .aspx page?

View 2 Replies

C# :: SWF Posting Image File To ASPX Page

Feb 22, 2011

I'm trying to save a file using HTTP request from a SWF file to an ASPX file. i have a WinForms app that hosts the SWF using AxShockwaveFlash control that passes parameters to the SWF that generats the file and posts it to an ASPX page. the page uses the binary data to save the binary stream to a file in the following way:

[Code]...

View 1 Replies

Variables :: Access The Value From Aspx Page In Flash?

Jan 4, 2012

i am trying to access the aspx variable.But i can't to do this.am using flash professional cs5.

import flash.net.URLRequest;
import flash.net.URLVariables;
import flash.net.URLRequestMethod;[code]....

View 2 Replies

ActionScript 3.0 :: Receive Data To Aspx Page From This?

Jan 3, 2012

I have a application in flash professional cs5.In that Application i have a Button.When i click the Button i want to receive the data from aspx page.

View 7 Replies

Reload Flash Movie In An ASPX Page With C#?

Jun 29, 2009

I have an aspx page with a flash movie (gallery) that calls another aspx page which gets the info form a database and returns XML that the movie uses to populate the gallery with. Currently I have it use a query string that is passed through the flashvars so it will get the right info on post back. Is there a way I can reload the movie and pass the variable into flash without a postback? For instance the page doesn't reload, just the flash with the correct set of images.This is the JS used for the movie:

Code:

Select all<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};

[code]....

View 1 Replies

ActionScript 3.0 :: Url Redirect From Aspx Page To A Flex Application

Jul 11, 2011

I have an application where the home page is an aspx page. It redirects to the flex application with authentication information in the url. The problem here is, if a guy copies the link for the flex application (which appears in the browser after redirection) and pastes it again, he will be able to access it. Is there some way to prevent this? That is, can we check whether the link was redirected from aspx or copy pasted?

View 2 Replies

Asp.net :: Session Is Different If Flash Uploads Photo To The Aspx Page

Mar 17, 2011

I have a aspx called user-photo-upload.aspx and another aspx called get-photo.aspx. I set the Session["PhotoId"] in the page_load method of user-photo-upload.aspx.

If I visit the user-photo-upload.aspx through the browser normally, the session can be retrieved in get-photo.aspx. But if the flash uploads photo to the user-photo-upload.aspx page, I can't get the Session["PhotoId"] in get-photo.aspx.

I discover that the Session ID is different when visiting the page using browser normally or by flash. I don't know why flash uses another session.

View 1 Replies

ActionScript 3.0 :: Passing A Variable To Swf File From .aspx Page

Jan 20, 2010

I am trying to pass a variable from my .aspx page into my published swf file. I am using the code below, and using swfobject to try to pass my variable. (I am very comfortable with swfobject and would prefer, if possible, to avoid using FlashVars.) The variable myVar represents the name of an image file, and will be a different image for each user on my site. I am using Flash CS4, and AS3. I only mention that because I was able to do this in CS3 using AS3, yet certain things have been deprecated in CS4 - hence my code does not work. And for what I'm doing and how I'm doing it I cannot use CS3 to create my swf file. Anyway, here is the code:

[Code]...

View 1 Replies

Asp.net :: Xcelsius XML Data Connection Using .aspx Page Error #2032

Mar 21, 2012

Because of my version of Xcelsius I'm limited to 2 web service connections so I tried using XML Data connection and aspx page to bring data from database to Xcelsius.I have an ASPX page that outputs an xml file with the format

<data><variable name=""><row><column></column>...</row></variable>...</data>

In Xcelsius I made a XML Data connection having the XML URL pointing to the .aspx page that should output an xml. Then I have the Enable Load checked and I have selected the proper # of cells and rows . If I try preview I get

"An error has occurred. For more information, contact the file creator or yoursystem administrator. Error: Error #2032 Connection Type: XML Data".

I have the crossdomain.xml file on both the application folder and IIS wwwroot folder that looks like this:

<?xml version="1.0" ?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain- policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" secure="false" />

[code].....

If I put in the XML URL in Xcelsius, the url to the xml file directly without using .aspx to write it to the output of the page it works. The xml is in the same application folder as .aspx page.My scope is to use the .aspx page to write query on the database and output back an xml with the table in the correct xml format so I can then consume the data in Xcelsius.

View 2 Replies

ActionScript 3.0 :: Post The UserAnswer From Radio Button Group To An ASPX Page

Jul 16, 2009

i needed to change the code below to post the userAnswer from radio button group, to an ASPX page so i can read the data in and post it to a database.

[Code].....

View 4 Replies

ActionScript 3.0 :: Retrieve Xml Data In Aspx Page After Sending It Using URLLoader.load

Jul 23, 2009

How to retrieve xml data in an aspx page after sending it using URLLoader.load

This is the flash code i am using:
 
var urlLoader:URLLoader = new URLLoader();
urlLoader.dataFormat = URLLoaderDataFormat.TEXT; //tried by giving VARIABLES also urlLoader.addEventListener(Event.COMPLETE, handleComplete);
urlLoader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);

[Code]....
 
I were able to accept data in above statement when i send a string in var1 say "test". But on sending xml above error is getting.I have tried to load the xml data in XMLDocument also.
 
In AS20 i used sendAndLoad method to send and reterive xml data. 

View 2 Replies

ActionScript 2.0 :: Loading ASPX Function From Flash?

Mar 5, 2009

How to load a aspx function from flash? For example, I wrote a function inside the aspx page.. say sayhello().. I want to call that sayhello() function inside the flash..

View 1 Replies

ActionScript 2.0 :: Loading Xml In HTML Pages From Aspx Proxies?

Aug 20, 2007

I'm having a problem retrieving xml data from aspx proxies only when the swf is embedded in an HTML page on a staging server. I developed the swf on my local machine, providing urls to the proxy pages via full urls to my local machine (a la, [URL]. While this worked, I need the path to the proxy page to be relative to the html page, so that when it's on the site, it can still reach the proxy page.

The code looked like this when it worked:

var localProxyPageUrl:String = "http://machinename/sitename/proxypage.aspx";
var proxyPage:XML = new XML();
proxyPage.ignoreWhite = true;

[Code]....

PS: Forgot to mention that I tried even putting the absolute url in the 2nd version to the proxy page, to no avail... <sigh>

PPS: The proxy page is in the same folder as the swf & html page...

View 6 Replies

IDE :: Loading ASPX File - Append Dynamic Number Instead Of 1?

Sep 15, 2009

I'm using Flash CS3 Actionscript 2. I'm loading an external file (it used to be an XML file but now it is an aspx file). Anyway, my actionscript for loading the file looks like this:
xmlFile = "flash/info.aspx?id=1"
Which works great with the aspx file I've created. But I need the "id=1" to append a dynamic number instead of the "1".

View 3 Replies

Flash :: Data Integration - Post Data (values) To Aspx Page

May 26, 2006

I have form in flash with input text fields with Var field set to t2_2 t3_2 t4_2... what i want to do when user enter values and press buton it should post data(values) to aspx page - how can i do that ? i saw what i did

[Code].....

then i can access t2_2 value on aspx page, so what shoul i put before getURL so it will set values from texboxes

View 2 Replies

ActionScript 3.0 :: A Page Loading In Other .swfs (need To Unload Entire Page)

Nov 3, 2011

I have an invisible movie clip I want to go to the NEXT page, as it goes to that page, I want it to essentially remove itself (page1.swf). e.g. page1.swf (contains fancy.swf - [AS2], 4 images, several invisible MCs with code) has an invisible MC + on click = remove page1.swf.

To be clear, this does work. It goes to page2.swf and page2.swf goes to page1.swf as it should. The issue is that if the user repeatedly does this (just 2 or 3 times) the fancy.swf becomes impossible to control and Flash (CS5) crashes. I think this is due to the fact it's not unloading the entire thing, it's only unloading fancy.swf on click (I hope). So underneath page2.swf is page1.swf, and when the user clicks back to page1.swf, page2.swf AND page1.swf are underneath that, and so on and so forth.

[Code]...

View 9 Replies

ActionScript 3.0 :: Removing The Previous Page Before Loading New Page?

Jan 20, 2010

how to activate the animation that removes the previous page items before loading new page when you click on a menu button. like this website [URL] When you click on a menu button, current items are removed with nice animation before new items appears.

View 3 Replies

ActionScript 3.0 :: Gallery Page With A Bunch Of Page Numbers - Click On A Page Number, The Over Script Should Stop Until Go To Another Page?

Jan 26, 2009

i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,

function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....

View 0 Replies

ActionScript 3.0 :: Putting A Swf On An.aspx Website?

Apr 19, 2010

I did a banner for a client and was asked if I could put the banner up on their site when I was done, not realizing the site was done in .aspx. I'm in the control panel of the site, I uploaded the flash files to the correct folder and rather than going into this blind I thoughtThe code for the banner on the site currently  is

<script type="text/javascript" src="/home-ads/swfobject.js"></script>  <script type="text/javascript">  var flashvars = {};  flashvars.xmlPath = "/home-ads/powertri-ads.xml";  var params =

[code].....

View 4 Replies

ActionScript 3.0 :: Invoke Swf Function From Aspx

Feb 21, 2011

I have a swf that created using flex actionscript 3.0. And I put it into aspx page and I want to invoke this swf's function from aspx.

View 3 Replies

Flex 4 :: Communicate This With A File Aspx?

Dec 16, 2010

I'd like to know if it's possible to communicate flex 4 with a file .aspx..

My problem is.. I'm trying to export a datagrid to excel and both parts are right, except because they are not communicating.. When I open with Visual Studio the url is = localhostcasawsExportExcel and when I open with flex the url is localhost:8080casaExportExcel.

View 1 Replies

ActionScript 3.0 :: Image And Video Upload With Aspx?

Jun 30, 2011

I am making a uploader which has 2 buttons to upload image and video respectively.. I know fileReference to be used for uploading files but am unable to make out how to interact with aspx to save the files to server and name them dynamically..

View 1 Replies

ActionScript 3 :: File Upload From FLEX To ASPX .NET?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved