Need Help With Flash Actions

This is a discussion on "Need Help With Flash Actions" within the Flash & Multimedia Forum section. This forum, and the thread "Need Help With Flash Actions are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jul 4th, 2007, 20:43
New Member
Join Date: Jul 2007
Location: poopville
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Need Help With Flash Actions

i am trying in flash to have a button that switches scenes and starts to play the new scene. basically, when you hit it, i want it to switch scenes and start playing the new scene. how do i do this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jul 5th, 2007, 02:52
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Need Help With Flash Actions

Should be as simple as:
Code: Select all
on (release)
{
gotoAndPlay ("scene name", 1); //where 1 is frame one fo the specified scene.
}
Last Blog Entry: Yay!? (Oct 8th, 2007)

Last edited by Sgaspar11; Jul 5th, 2007 at 23:17.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jul 5th, 2007, 04:06
Reputable Member
Join Date: May 2006
Location: NC, USA
Age: 16
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Need Help With Flash Actions

Do you want to be able to keep going to the next scene? Or one scene? Or do you want it to be able to switch back and forth between two scenes?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jul 5th, 2007, 05:50
New Member
Join Date: Jul 2007
Location: poopville
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Need Help With Flash Actions

ok so heres whats happening:

scene 1 is playing. at the end of scene one i have on a different layer an action to stop scene 1. I also have a different layer with a button. What is the actionscript i use to make it go play scene 2 once you release the mouse from the button?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jul 5th, 2007, 15:39
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Need Help With Flash Actions

The code I supplied should be what you need.
Last Blog Entry: Yay!? (Oct 8th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jul 5th, 2007, 22:52
New Member
Join Date: Jul 2007
Location: poopville
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Need Help With Flash Actions

When i use what you gave me i get this message (by the way the first scene is called Scene 1 and th second scen is called Scene 2):

**Error** Scene=Scene 1, layer=Layer 3, frame=39:Line 4: Syntax error.
{

**Error** Scene=Scene 1, layer=Layer 3, frame=39:Line 2: Statement block must be terminated by '}'
{

**Error** Scene=Scene 1, layer=Layer 3, frame=39:Line 4: Syntax error.
{

Total ActionScript Errors: 3 Reported Errors: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Jul 5th, 2007, 23:17
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Need Help With Flash Actions

Whoops change it to a } instead of a {
Last Blog Entry: Yay!? (Oct 8th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
button, flash, help, interactive, scene

Thread Tools

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 On

Similar Threads
Thread Thread Starter Forum Replies Last Post
attach actions along with attachMovie tox0tes Flash & Multimedia Forum 0 Feb 7th, 2008 20:34
One form, two actions? skuliaxe Web Page Design 1 Jan 23rd, 2008 14:05
multiple actions on one image sjh Flash & Multimedia Forum 6 Nov 13th, 2007 20:43
2 actions on a button fishbyname Web Page Design 1 Nov 16th, 2006 14:25
text actions benbacardi Flash & Multimedia Forum 1 May 14th, 2004 22:14


All times are GMT. The time now is 03:27.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42