macromedia.director.lingo
[Top] [All Lists]

Re: Flash Integration

Subject: Re: Flash Integration
From: "Tal_CS"
Date: Wed, 21 Nov 2007 10:33:23 +0000 UTC
Newsgroups: macromedia.director.lingo

Brian, I suggest you'll try to call a function in Flash that performs the code 
you mentioned. 
 Here's a quote from the reference: 

 [Q]To execute a Flash method:
 Use the following syntax: 
 spriteReference.myFlashMethod()
 [/Q]

 I used an swf within director and changed it's text var like this, but you 
should try calling a function, as described above:


 -- somewhere, you call this
 sendAllSprites(#write2Flash, htmlStr)

 -- which calls this, on the sprite that contains the Flash swf object within 
director:
 on write2Flash (me, htmlStr)
  -- change the variable 'txt' which is a textfield in Flash:
   sprite(me.spriteNum).txt.htmltext = htmlStr
 end


<Prev in Thread] Current Thread [Next in Thread>