FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Flash 8 actionscript help - FIXED





Hogwarts
This is an error flash displays me when I try to export as a .swf file. I don't know much about flash, because I have only been playing with it for a week as I only just downloaded the 30day trial. I have never used this whole "actionscript" thing before and if anybody could assist me here it would be great. I am trying to make it so on frame one it says:
Soulplayer
By Toby W
V1.0b

>
play

--
The play bit and arrow are buttons (its some object) that I made which then I right clicked on it, went actionscript and looked up tutorials where I came up with this script. It is meant to, at Frame 1 stop the video. Then when "> play" is clicked on go to Frame 2, where I used inport video to inport a video clip (Trailer for Guild Wars: Factions) into some little pre-made object-player thing. Quite frankly i have no idea. Your insight into this matter will be greatly appreciated. Thanks - Toby

Here is the error I get when exporting:
Quote:
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Statement must appear within on handler
On (click)

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 2: Syntax error.
Go to and Play (2)

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 3: Syntax error.
End On

Total ActionScript Errors: 3 Reported Errors: 3


---

Nevermind. I got it working with a code wiht curly brackets and without the End On part
Related topics
Searching for script masters FLASH 8 USERS OR PROGRAMMING
Best Flash Web Design Apps?
Your video converted into Flash 8 for 10 FRIH$
Please help me!!!! HTML/Flash help needed!
I need Flash 8 Help
Flash help!
About animation software?
Help With Flash Actionscripting
Need vb.net or Flash ActionScript Help!
Cool Flash MX and 8 Bugs
Oy Styled Text In Flash 8.
My own game
Flash Preloader Help
Flash 8
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.