PDA

View Full Version : Flash link to Card



randy vild
08-03-2005, 08:44 PM
On my website I can use Flash video then at the end of the video it says CLICK HERE then that has them go to a certain web page. Is it possible to have ENTER page on my CD with Flash then have CLICK HERE within flash to have the home page launch?

Thank you,
Randy

Corey
08-03-2005, 08:55 PM
Hi. Yes, that's pretty easy:

1. Add this code to the "CLICK HERE" button in your Flash movie:

fscommand("home");
2. And then in AutoPlay Media Studio, simply add your Flash and then add this code to the "OnFSCommand" event for your Flash object:

File.OpenURL("http://www.yoursite.com", SW_SHOWNORMAL);
* Make sure to substitute the name of your web page for the "www.yoursite.com" part. :)

randy vild
08-03-2005, 09:32 PM
Hello Corey,

I think I was not clear enough. I create an Mpeg2 in Sony Vegas then convert it to FLASH with a program called Winform. In Wildform I can create links to web pages if the flash is clicked. But I dont want to use for web. I want link to go to my HOME page in my video card.

Whatever command I put in my wild form link it goes to URL. Is there a way to do this all in Autoplay? Like page jump or something?

Thank you in advance,
Randy



Hi. Yes, that's pretty easy:

1. Add this code to the "CLICK HERE" button in your Flash movie:

fscommand("home");
2. And then in AutoPlay Media Studio, simply add your Flash and then add this code to the "OnFSCommand" event for your Flash object:

File.OpenURL("http://www.yoursite.com", SW_SHOWNORMAL);
* Make sure to substitute the name of your web page for the "www.yoursite.com" part. :)

Corey
08-03-2005, 09:58 PM
Hi. That depends. Which program by Wildform are you using? The key to doing it smoothly is to use an FScommand if that is available in whichever program you are using...

But even if it isn't, you can create a workaround. Simply serve your Flash inside a web object and then add a page jump to the web object's OnNavigate event. Then, no matter what the URL link is inside your Flash, it will trigger your application to jump to the home page when clicked. :yes

randy vild
08-03-2005, 10:10 PM
Corey,
Are you referring to my home page in my VIDEO CD or home page on the Web? Because I need this link to go to page (home) within the video card.

Thank you,
Randy



Hi. That depends. Which program by Wildform are you using? The key to doing it smoothly is to use an FScommand if that is available in whichever program you are using...

But even if it isn't, you can create a workaround. Simply serve your Flash inside a web object and then add a page jump to the web object's OnNavigate event. Then, no matter what the URL link is inside your Flash, it will trigger your application to jump to the home page when clicked. :yes

Corey
08-03-2005, 10:14 PM
I'm referring to the home page on your CD. Any actions in a web object's OnNavigate event area are executed whenever a link is clicked on the web page within it which, in this case, is your Flash movie being served via an HTML page. So you just put a Page.Jump action in there and no matter what the link is in your Flash, the application will jump to the HOME page on your CD ROM. :yes