You can also load the html file with the XML loader.
Something like:
var __xml = new XML();
__xml.onLoad = function(succes:Boolean){
if(success) trace(this);
else trace("Error loading file");
}
__xml.load("imagemap.html");
Now it will trace the full html-file.
Bernard
> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Namens GregoryN
> Verzonden: zondag 28 mei 2006 20:20
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] sending HTML image map data to Flash
>
> Hello Marc,
>
> Well, the decision WHERE to parse is yours entirely.
> I think it can also depend on your security goals:
> if you parse in JS, all your funtions, vars at swf's _root
> etc are available in cache.
> If you just pass all "innerHTML" to flash - something will be hidden.
>
>
>
> --
> Best regards,
> GregoryN
> ================================
> http://GOusable.com
> Flash components development.
> Usability services.
>
>
> > --------- Marc Hoffman wrote:
> >
> > Thanks, Gregory! I'm passing this along to the person who's been
> > working on parsing the image map from within flash. You approach
> > would seem to eliminate the need for parsing by Flash.
> >
> > [Peter: what do you think?]
> >
> > Marc
>
>
> _______________________________________________
> [email protected]
> 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
>
_______________________________________________
[email protected]
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