Remove the asterisks (*) from before and after the double equals sign. The
line should be:
if (video1 == video) {
not....
if (video1 *==* video) {
The asterisks were probably there to highlight the correction. That is, it
should be a double equal sign for an "is equal to" comparison; as opposed to
a single equal sign, which is used to assign a value.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gustavo
Duenas
Sent: Wednesday, January 24, 2007 5:39 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] passing url variables to flash movie
thi is the message now is giving me
error!!
Operator '*=' must be followed by an operand
and this is the action script I'm using:
var video1 = nbc6;
var video = _root.video;
if (video1 *==* video){
this.videoLoader.gotoAndPlay(2);
}
the link in the text said;
fullpage.html?video=nbc6
Thanks
Gustavo
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com