RE: [Flashcoders] sending HTML image map data to Flash

2006-05-29 Thread Bernard Visscher
-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

RE: [Flashcoders] sending HTML image map data to Flash

2006-05-29 Thread Bernard Visscher
: [Flashcoders] sending HTML image map data to Flash 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

RE: [Flashcoders] sending HTML image map data to Flash

2006-05-29 Thread Bernard Visscher
bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Marc Hoffman Verzonden: maandag 29 mei 2006 17:01 Aan: Flashcoders mailing list Onderwerp: RE: [Flashcoders] sending HTML image map data to Flash Very cool solution, Bernard -- thanks! Any way to force ImageReady to close all

RE: [Flashcoders] sending HTML image map data to Flash

2006-05-29 Thread Bernard Visscher
mapNode:XMLNode = this.firstChild; -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Bernard Visscher Verzonden: maandag 29 mei 2006 17:29 Aan: 'Flashcoders mailing list' Onderwerp: RE: [Flashcoders] sending HTML image map data to Flash I don't know how

RE: [Flashcoders] sending HTML image map data to Flash

2006-05-29 Thread Marc Hoffman
. Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Marc Hoffman Verzonden: maandag 29 mei 2006 17:01 Aan: Flashcoders mailing list Onderwerp: RE: [Flashcoders] sending HTML image map data to Flash Very cool solution, Bernard

Re: [Flashcoders] sending HTML image map data to Flash

2006-05-28 Thread GregoryN
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,

Re: [Flashcoders] sending HTML image map data to Flash

2006-05-27 Thread GregoryN
Hello Marc, I can suggest the following: 1) place your image map description inside div tag and set ID to this div. Say, div id=myMap 2) Create a function in Javascript that reads the document.getElementById(myMap).innerHTML; and sets some of hosted swf's var(s) according to content of this

Re: [Flashcoders] sending HTML image map data to Flash

2006-05-27 Thread Marc Hoffman
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 At 10:35 AM 5/27/2006, you wrote: Hello Marc, I can suggest the

[Flashcoders] sending HTML image map data to Flash

2006-05-25 Thread Marc Hoffman
Anyone have tips on making Flash read the image map on the host html page and parse it into a multi-dimensonal array (as would happen if we were importing xml)? In a web-based project, we provide non-flash browsers with a jpg and image map. We want to grab the image map data directly from the

[Flashcoders] sending HTML image map data to Flash

2006-05-25 Thread Marc Hoffman
[My apologies if you receive this twice -- didn't seem to go through the first time.] Anyone have tips on making Flash read the image map on the host html page and parse it into a multi-dimensonal array (as would happen if we were importing xml)? In a web-based project, we provide