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


Similar Posts:


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

Flex :: Web Application Timeout After A Specific Time And Redirect To Login

Jan 20, 2011

We have a Flex, Blazeds & Spring based Web application. The requirement is that if the browser is idle for 30 minutes, we have to popup an error message to the user and then redirect to the login page.

View 1 Replies

Flex :: Link Be Provided In Alert Box To Redirect To Another Page ?

Jul 21, 2011

I need to provide a link (like Click here to view.....) in a AlertBox that redirects to another page.

View 4 Replies

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 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

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

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

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

CS3 Redirect An Flv To Another Html Page

Jul 29, 2009

i'm an motion-graphics designer, who had experience with flash only this was 8 year's ago. I'm not a programmer so I allways had people around me who could do the flash things. So I absolutely have no idea how it works.

Now i'm making a website, with an swf which play's an flv. The flv can be paused etc. now is my question, after the flv is played I want this to redirect to for example index2.html where are a couple of links. and from that page you can go to the next.

I've seen on the web a lot of reactions about this question, people say use the playerdiy.com. but that's not gonna work for me now.. Because i have set the design up this way (picture in swf which say's ichap etc, with a black solid where the video is been played).

Playerdiy does what i want's but i wanna have my swf design what I used here: [URL] this is with playerdiy: [URL]

View 5 Replies

Professional :: Url Redirect To A New Page?

Sep 11, 2011

I have a Flash Movie that when you click on a image it's suppose to redirect you to a new page but it has been opening it in a new tab, heres my code:

mc.onPress = function():Void  {
if (getTimer()-this.pressTime<=ClickRegister && this.pressTime) {
getURL(infostruc[current-1].artUrl, "_blank");
//button actions
}

View 2 Replies

Flash :: Redirect To Page In Asp.net?

Dec 14, 2009

i am using one swf file.on click i have some background process.after finish the process i want to redirect to particular page.but its not working.what should i do to redirect to page.i am using asp.net?

View 2 Replies

Redirect To A New Html Page After Flv File Is Done?

Aug 6, 2009

1 -I have a flv file on one frame.I imported my video and CS3 added it to my library.I change parameters to autoplay and autorewind. This is on one frame.My flv file name is  movie.flv

2- When this is done playing I want it to automatically go to main.html

3-I read a previous answer on this that gives the following code which I inserted right on the same frame that my flv is loaded.I named the instance name of this flv as "flv"

It isn't working.Here is the code I picked up on previous forum:So I put this on the frame where the flv is loaded which is scene 2 frame 1 and instance name of flv.

flv.addEventListener(Event.COMPLETE,completeF);
function completeF(e:Event){
navigateToURL(new URLRequest("main.html"));

Statement must appear within on/onClipEvent handler .The class or interface 'Event' could not be loaded.I can't add a get URL code because it is a flv on one frame.

View 4 Replies

ActionScript 3.0 :: Redirect To A Different Page On Click?

Jan 13, 2011

I have a text object, which I've converted to a symbol (specifically a button, as intuition tells me this is what I would want).

Anyway, I want to make it so that when the user clicks on the button, it redirects them to a page on my website.

Now, I understand that I should be using navigateToURL(new URLRequest("sitegoeshere"));

but I can't figure out how to make it conditional so that it DOESNT execute that code until the user clicks on the object in the frame that the code is attached to.

One other problem as well is that as it is, when it gets to the recirect code, I get a popup saying that flash has stopped a potentially unsafe operation. How do I make it so that it doesn't simply deny the running of that code?

View 3 Replies

ActionScript 2.0 :: Redirect To Html Page?

Oct 9, 2005

I have one html page for intro that using flash and doing some animation..ok what I want do is..how to redirect this page to index.html contain no flash as soon as the intro was done...without clicking the button to enter the index.html

View 1 Replies

ActionScript 3.0 :: Redirect To Page In Same Directory Of Site

Jul 25, 2009

I have 1 menu them it use an action script for redirect the answer by the user. For example I used the script :
on (release) {
getURL("[URL]");
}
In this case the request is ""Http"" ....but, if must call one page present in the directory of my site for example:
chi_siamo/
-home.aspx
-contattaci.aspx
-menu.swf
dove_siamo/
This menu for call the page on his directory, what action script I must use?

View 3 Replies

ActionScript 3.0 :: Redirect To An Html Page On Submit?

Jan 24, 2011

I have this form and I would like when people click the submit btn, to be redirected to an html landing page. I'm not sure if I need to modify the php or the action script or both. Does anyone know how to do this

[Code]...

View 5 Replies

Ruby On Rails :: Redirect To A New Page From A Swf File?

Feb 4, 2010

I have a swf file, which handels some xml data. After that process complets I am giving the data back to my rails server. My problem is, that any redirection in my rails app is handed ower to the swf file and the actual displayed page remains the same!

How can I perform a redirection in my webpage from a swf flash file.

View 1 Replies

Flash :: If Not Installed Then How To Redirect To An HTML Page

Feb 18, 2011

I want in my Flex app to redirect to an HTML page if the user doesn't have Flash installed. I noticed in the HTML generated by Flash it has:

[Code]....

Which displays generic message about not having flash. I know I can put HTML there to be displayed if Flash doesn't exist but I don't want to load the HTML if it's not need (case when Flash is installed) so I thought the best way is to redirect to an HTML page if flash doesn't exist.

View 1 Replies







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