grimmwerks wrote:

Just wanted to point out
_global.fModule = new Object();

fModule.movieTime = mov_timer;

fModule.movieTitle = mov_title;

fModule.movieDuration = mov_duration;

fModule.setMovieTime = function(theText){fModule.movieTime.text = theText;}


Pmod = sprite(1).getVariable("fModule", false)


pMod.setMovietime("whatever")

Does work.

It's definitely the way director and flash sees things differently. It'd be
nice if that wasn't true.

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]



Hi grimm,


Have you tried making it _level0.fModule rather than _global?
Flash's implementation of _global is rather different than Director's...at least in terms of communicating between them.


Also, you can let the flash text field reference a variable name - rather than trying to target myTextField.text, try setting myTextVar that is associated with the dynamic text field...

Functions are also a great way to go. I've had success With Mark Jonkman's stuff in the past, may want to dig up some of the scrips on the archives of direct-l and this list too.

--
Thanks,
Mathew

..................................
Mathew J. Ray
Interactive Developer
IQ Television Group

tel: 404.255.3550
fax: 770.956.8014
..................................



[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to