Flasher Archive

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


Subject: Re: FLASH: have a="1", but need a=1
From: DSG
Date: Sat, 18 Mar 2000 01:17:39 GMT

Waldo Smeets wrote:
> Try int(string), this converts numeric strings to real numbers.

Thanks, but that's not doing it for me. So maybe my problem is deeper
than that.

this is what I have...

dsg.txt:
name=DSG&a=3

actionscript:
Load Variables ("dsg.txt", 0)
Begin Tell Target ("/head")
Go to and Stop (../:a)
End Tell Target
Stop

So if a = 3 in the text file, it should go to frame 3 in the mc 'Head'.
This is my problem. It doesn't move from frame 1.

I've added Set Variable "a" = "3" before the Tell Target and it works
(jumps to frame 3), even without it being a real number. So I guess
something is goofing up on the Load Variable??

What gives?

Again, TIA...

DSG

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: site check http://www.reydo.c, Mats Persson
  FLASH: have a="1", but need a=1, dsg
  Re: FLASH: have a="1", but need a=1, Waldo Smeets

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