Flasher Archive

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


Subject: Re: FLASH: Problem with loading text into textfield
From: Cheri Harder
Date: Wed, 26 Apr 2000 18:37:58 +0100

Can you load a new movie into that movie clip and will it retain its
variables? I am thinking that is what he's trying to do? I'm not sure of
the answer, though and since you have it all set up???? And you've already
broken your oath of "no list for me today" :-)


~~~~Cheri Harder~~~~~
charderatawsolution [dot] com
Advantage Web Solution
www.awsolution.com
----- Original Message -----
From: "Helen Triolo" <designerati-technica [dot] com>
To: <flasheratchinwag [dot] com>
Sent: Wednesday, April 26, 2000 10:20 AM
Subject: Re: FLASH: Problem with loading text into textfield


> OK, Thorvald, I tried Jason's suggestion and it worked. (I'll email you
> the fla and txt file offlist if you want). Here's what I did:
>
> Create textfield, name it nestedfield. Convert it to a movieclip mc2.
> Make a red rectangle (just so there's something), convert to movieclip
> mc1. Edit mc1, drag mc2 into mc1. Give that copy of mc2 an instance
> name of mc2instance. Edit movie, drag mc1 onto the stage, give it an
> instance name of mc1instance. Now in first frame do Load Variables
> ("myfile.txt", "/mc1instance/mc2instance") then goto and play showvars.
> Frame showvars has mc1instance in it and has a stop action. (you should
> also put a wait loop in the middle of those frames to make sure vars are
> loaded, but i did it with just one var and tested locally so i didn't
> need it). The contents of myfile.txt were:
>
> nestedfield=abcdef
>
> and the frame labelled showvars does indeed display abcdef in the
> textfield. (and of course, when I changed the contents of myfile.txt,
> the display changed accordingly on rerun).
>
> So, you can load vars directly into your movie clip if your instances
> are set correctly.
>
> Helen



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Problem with loading text int, Helen Triolo
  Re: FLASH: Problem with loading text int, Thorvald Neumann
  Re: FLASH: Problem with loading text int, Helen Triolo

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