Hm. I haven't used ExternalInterface at al (I'm stuck with Flash 7), so I'm not really sure what the problem could be. Though you might be able to do it as a callback (have the javascript function call some function in your Flash movie to give it the value). The control flow for that would be a bit odd, but it might work if you can't get it to return correctly.
-Andy On 3/20/07, Bob Wohl <[EMAIL PROTECTED]> wrote:
yeah, I can alert the value (real fun with a set interval =P). Just getting it from JS seems to be the issue. yep, QuickTime, their documentation rocks for javascript ;) Bob On 3/20/07, Andy Herrman <[EMAIL PROTECTED]> wrote: > Have you tried getting the value out using just Javascript (no Flash > involved)? See if that works. It might make it easier to debug > (removing a layer of complexity). Maybe IE has some security in place > that's preventing the access of the values from QT (you mean > quicktime? I always think of QT as the C++ toolset made by > trolltech.) > > -Andy > > On 3/20/07, Bob Wohl <[EMAIL PROTECTED]> wrote: > > Hello all, > > > > > > I've researched quite a bit over the past week to no avail on how in > > IE i get a return of null when pulling the time from a QT file but in > > FireFox i get the proper time... > > > > > > flash call - > > myTime = ExternalInterface.call("DisTime", "document.movie1"); > > > > > > js - > > function DisTime(anObj){ > > var obj = eval(anObj); > > return obj.GetTime(); > > } > > > > > > seems simple enough but I cannot for the life of me find out why IE > > sees it as null. > > > > Any ideas, pointers? > > > > > > Thanks! > > Bob > > _______________________________________________ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com