Solved

Flash redirect to a new webpage

Posted on 2010-08-14
4
344 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now