Flasher Archive

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


Subject: Re: FLASH: Problem with loading text into textfield
From: Helen Triolo
Date: Wed, 26 Apr 2000 19:25:20 +0100

Hejsan! Or maybe Eureka! OK, I took the movieclip (mc1) that had
another movieclip (instance mc2instance) that had a textfield
(nestedfield) and made this an external movie: outside.swf. The
instance of the bottom movieclip (what used to be mc1) now has the
instance name of outsidemc1instance in outside.swf (one frame only).

Movie 2 (the one I'll load this into) has a blank movieclip with
instance name dummyinstance. This appears in all frames of movie 2 (I
finally figured out what you and Karin have been talking about, Cheri,
about how instances have to be named in *every frame* in which they are
referenced, not just somewhere in the movie--but I digress). Here are
the actions:

Frame 3:
Load Movie ("outside.swf", "/dummyinstance")

Frame 4:
Load Variables ("myfile.txt",
"/dummyinstance/outsidemc1instance/mc2instance")
Go to and Play ("loading")

Notice that *both* instance names have to be in that string (and in the
next frame too)--the one in movie2 and the one in the external movie!

Frame 5 (label=loading):
If (/dummyinstance/outsidemc1instance/mc2instance/:nestedfield ne "")
Go to and Play ("showvars")
End If

Frame 6:
Go to Previous Frame

Frame 7:
Stop

It works! pant, pant. See if that makes any sense...

Helen
----------------------------------------
helen triolo � http://i-technica.com
designerati-technica [dot] com � 301-424-6037
----------------------------------------

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

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