This content has been marked as final. Show 4 replies
If you have a Flash sprite in Director and it issues a getURL() call,
this can be trapped in Director by adding a behavior to the Flash sprite:
on getURL me, vars
put "getURL:", vars
Do I have to replace vars by my variables name or I have to keep it this way cause it doesnt work.
Do I use the getUrl the normal way in flash or do I have to call lingo event.
> Do I have to replace vars by my variables name or I have to keep it this way cause it doesnt work.
> Do I use the getUrl the normal way in flash or do I have to call lingo event.
You shouldn't have to change anything. Which version of Director and
which version of Flash are you using on which platform?
Good I finaly manage to make it work.
I was using sprite("Rapports").selectImg and its doesnt work.
If I use sprite(1).selectImg it work. Seem to only work with sprite number
heres the code.
gAgIMG = sprite(1).selectImg
instance = new(xtra "FileXtra4")
result = fx_FileOpenDocument(instance,the moviepath & gAgIMG)
if result = 0 then alert "Désoler aucune application associée aux fichiers JPEG est présente sur votre ordinateur."