Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: Comparing an Integer with a String
From: Jim Antonopoulos
Date: Tue, 5 Oct 1999 05:10:51 +0100

I can't seem to access the variable ../:xFroumCount from within the MC1
frame script...

Loop While (n ne ../:xForumCount)
> Set Variable: "n" = n+1
> End Loop

I can access it by putting a field into mc1 .. but for some reason not from
the framescript... (above)..







****************
Jim Antonopoulos
jimatsausage [dot] com <jimatsausage [dot] com (mailto:jimatsausage [dot] com)>
icq:284800
****************
Sausage Interactive
Level 2
The Tea House
28 Clarendon Street,
South Melbourne, Victoria 3205
Tele 9690 7711
Fax� 9696 1206




-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of John
Croteau
Sent: Tuesday, 5 October 1999 13:17
To: flasheratchinwag [dot] com
Subject: Re: FLASH: Comparing an Integer with a String


Hi Jim,

> I've got MC1 (Movieclip) sitting on the stage which has MC2 (movieclip)
> sitting inside it. Mc2 has a button and a textfield (forumtopic).
> "xforumcount" is a string.
> Is there any other way to compare "n" with "xforumcount" ?
> (xforumcount is an external variable (asp) with a value of 4.
> Actionscript***>>
> Loop While (n ne ../:xForumCount)
> Set Variable: "n" = n+1
> End Loop

If the external variable is loaded on the main timelne:

Loop While (n <> /:xForumCount)
Set Variable: "n" = n+1
End Loop

This will work if xFormCount includes only a 4 (or any number) and no
spaces or returns because when evaluated by <> it is treated as a
number.

>From MC2 which is in MC1 which is on the main timeline:
../:xForumCount would refer to xFormCount in MC1 and
../../:xForumCount would also refer to xFormCount the main timeline.

/:xFormCount refers to the variable xFormCount on the main timeline from
anyehere in the movie.

--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratchinwag [dot] com. Problems to: helpatchinwag [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratchinwag [dot] com


------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratchinwag [dot] com. Problems to: helpatchinwag [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratchinwag [dot] com


Replies
  FLASH: advanced telltargetting, Jim Antonopoulos

Replies
  Re: FLASH: Comparing an Integer with a S, John Croteau

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]