Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 12-22-2005, 02:54 AM   #1
In Runtime
 
wolfinstinct's Avatar
 
Join Date: Jun 2005
Posts: 253
Send a message via AIM to wolfinstinct Send a message via MSN to wolfinstinct Send a message via Yahoo to wolfinstinct
Default Keeping swf files from playing

Is it possable to keep an swf file from playing until the visitor clicks something or something like that?
__________________

wolfinstinct is offline   Reply With Quote
Old 12-22-2005, 06:01 AM   #2
In Runtime
 
jamieoliver22's Avatar
 
Join Date: Apr 2004
Posts: 245
Default Re: Keeping swf files from playing

Yes.

Add a button to the 1st scene that when clicked, plays the next scence.

I can't remember the ActionScript for it though, its been a while.

Good Luck.
Jamie.
__________________

jamieoliver22 is offline   Reply With Quote
Old 12-30-2005, 12:22 AM   #3
In Runtime
 
Daeva's Avatar
 
Join Date: Dec 2005
Posts: 407
Send a message via AIM to Daeva Send a message via MSN to Daeva Send a message via Yahoo to Daeva
Default Re: Keeping swf files from playing

It's best to create an additional layer for actionscript, then in the first frame of the movie, you type:

stop();

then, for your button the actionscript would look like:

on (release){
gotoAndPlay("Scene", frame#);
}
Daeva is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 06:17 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0