Featured FLA
» Author: Bugra Ozden
» Title: Skatalog v9 - product catalog
» Description: Create your product catalog easly and publish on your website or Create your image gallery, documents list, portfolio. Fully XML Driven
» More by Bugra Ozden
Featured Site
» Posted in the Flash Kit Links section
» Title: Creative DW Image Show PRO
» Description: Creative DW Image Show PRO is a Dreamweaver extension which enables the user to create multimedia presentations. It combines the features of the popular Creative DW Image Show with the ability to add professional text effects to slides (similar to After Effects). The product is very customizable: the user can choose the duration of the transition effects, the slide motion start and end position, zoom and panning type for both images and texts.
Still confused? Well when dealing with expression always consider what type you want the value to be. Do you want it to evaluate to be a string, a number or a boolean value? If you require a number and your expression evaluates to a string you will have problems.
Do you remember what I mentioned about the quote marks in the last tutorial? Flash uses quote marks to help determine the type of an expression (btw the expression is on the right hand side of the equals sign). See the examples below and try and pick the differences:
Set Variable: "myvariable" = "450"
Set Variable: "myvariable" = 450
Set Variable: "myvariable" = True
Set Variable: "myvariable" = "True"
Go to and Play(myvariable)
Go to and Play("myvariable")
[a string]
[a number]
[a boolean value]
[a string]
[go to and play frame 450]
[go to and play label myvariable]
That's it for expressions. If you are having trouble understanding them, start small and work up to bigger, more complex expressions. Don't forget the flashkit board too, there's thousands of members there waiting to answer your post. Now let's have a look at operators.
Eddie is the Content Editor at Flashkit.com and is actually a sentient Gateway Solo 2150xl notebook that suffers from acute lysdexia and caffeine addiction. He is carried on the shoulders of a semi-autonomous human called "Body".