[Extendflash] Blocking in WindowSWF
clark slater
slater.clark at gmail.com
Sat Jan 28 10:43:05 PST 2006
WoW! I only just found out that blocking exists in WindowSWF's. I was
looking for a way to browse files from a WindowSWF and assumed I would need
a callback of some kind from the JSFL to the SWF. Couldn't find an option
for that so just for kicks I tried assigning the returned path from the
browsefiles dialog to a variable and sure enough it works perfectly!!
var fileURI = MMExecute ("fl.browseForFIleURL(\"open\", \"Choose File\");
trace ("fileURI: " + fileURI) // outputs the file path
How come I've never heard of this before, it makes life much, much easier.
Don't know if this works for all JSFL commands that have an asynchronous
nature...going to do some testing.
Clark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.flashguru.co.uk/pipermail/extendflash/attachments/20060128/bdb864ed/attachment.htm
More information about the Extendflash
mailing list