Any Flash programmers around here? (need lil help on Flash website)
Thread Starter
VIP Member
iTrader: (23)
Joined: Sep 2003
Posts: 4,969
From: Fremont
Car Info: 1999 2.5RS / 2004 Forester X
If so there's somethin I've been trying to figure out recently in regards to a website I just made. I tried asking a few friends about it and using Flash help but still not really sure what to do.
Basically its a Flash website and on 2 sections I have a list of titles of some videos and animations that are direct links to them when clicked on. The titles are static text, not buttons.
Problem with this is when you click on the title to watch the video or animation, it wipes out my Flash site because it opens up in the same window, not a new one.
Whats the best way to make these text titles open up the video / animation when clicked on into a new window or tab??
So far I tried using static text with a direct link embedded, and also the same thing but I set the Target to _parent... which is what my friend told me will open up a new window but that didn't work.
Also, I know I can use the getURL function and convert all my text to buttons then put the code on each button. I also messed around with that but kept getting errors.
Any thoughts?
I'm using Flash 8 on a MacBook Pro btw...
Basically its a Flash website and on 2 sections I have a list of titles of some videos and animations that are direct links to them when clicked on. The titles are static text, not buttons.
Problem with this is when you click on the title to watch the video or animation, it wipes out my Flash site because it opens up in the same window, not a new one.
Whats the best way to make these text titles open up the video / animation when clicked on into a new window or tab??
So far I tried using static text with a direct link embedded, and also the same thing but I set the Target to _parent... which is what my friend told me will open up a new window but that didn't work.
Also, I know I can use the getURL function and convert all my text to buttons then put the code on each button. I also messed around with that but kept getting errors.
Any thoughts?
I'm using Flash 8 on a MacBook Pro btw...
Pixel Master
iTrader: (2)
Joined: Jun 2006
Posts: 767
From: www.miniridez.com
Car Info: 2006 WRX BLACK
You want to add the following ActionScript to the button:
on (release){
getURL ( "the url here.html", "_blank");
}
"_blank" is what's going to get you a new window.
on (release){
getURL ( "the url here.html", "_blank");
}
"_blank" is what's going to get you a new window.
Thread
Thread Starter
Forum
Replies
Last Post



