Solved

Flash redirect to a new webpage

Posted on 2010-08-14
4
376 Views
Last Modified: 2012-05-10
Hi there

I have created a an intro flash page.

What I want to do is for the flash movie to automatically redirect at the end of the movie to my home page.

I have tried the getURL actionscript but it doesn't seem to work - please help!

Screen dump attached if that helps - as you may have guessed I am not the worlds best programmer!!!

Thanks in advance example.tiff
0
Comment
Question by:heijmer
  • 2
  • 2
4 Comments
 
LVL 10

Expert Comment

by:Kechka
ID: 33436212
you opened a new question... here again
take a look at http://curtismorley.com/2008/01/16/flex-flash-actionscript-error-1095/ this explain your first error.
0
 

Author Comment

by:heijmer
ID: 33436358
and....

Sorry this does not make sense to me - I am not that much upto speed on programming so can you explain in good old plain english for me?
0
 

Author Comment

by:heijmer
ID: 33436373
so i've noticed that the url wasn't closed off with a double quotation mark - this has now been correct and I am still getting and error...

this is what I am using

getURL("www.google.com");
0
 
LVL 10

Accepted Solution

by:
Kechka earned 500 total points
ID: 33436731
If you are using Action Script 3.0 then try this

var request:URLRequest = new URLRequest("http://www.mysite.com/home.htm");
navigateToURL(request,"_parent");

The "_parent" parameter is optional and tells the browser to open the URL in the current window. Use "_blank" to open the page in a new window or other standard link target name.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question