Re: [Flashcoders] Printing without print dialog box in an exe
Rishi, you can do that with SWF Studio (Northcode http://www.northcode.com/). It's really easy. GaB rishi wrote: Hi I need to give a print command from flash without opening the print dialog box. I have my application embedded in VB. I want to know the proposed solutions. I know this can be done and can see this working in flash jester jprintor. But I’ld like to know some more tools. Also ,if somebody has worked with Jprintor. Please advise. I need to discuss, this, Rishi ___ 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
Re: [Flashcoders] wheel on curve game engine
Thanks a lot, it is unbelievable, awesome, superb, he must be genius thatis the best engine for flash i have seen, Martin - Original Message - From: Mick G [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, May 29, 2006 6:28 AM Subject: Re: [Flashcoders] wheel on curve game engine Help vampire messages are more of a waste of *everything* than the original posters - Yawn http://www.cove.org/flade/ if a flash physics engine that might help you. On 5/29/06, Byron Canfield [EMAIL PROTECTED] wrote: Review the archives for the thread entitled: Are you a help vampire? -- Byron Barn Canfield Hello, got anyone idea or even script modellign wheel (bike, car..) on curve, collision but mainly bounces, gravity, etc like in this game: http://www.freeonlinegames.com/play/3286.html ___ 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
RE: [Flashcoders] mtasc inject code onto first frame of root tmeline?
You can. Just don't use the -header option for the mtasc params. If you want to keep the existing code in the swf too, you will have to use the -keep param. This might introduce some interesting conflicts though, especially when there's already code in which will be reinjected (your core library, for instance, or the mx libs). Ralph. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of aaron smith Sent: zondag 28 mei 2006 10:34 To: Flashcoders mailing list Subject: [Flashcoders] mtasc inject code onto first frame of root tmeline? is it possible to use mtasc to inject code into the root timeline of a already existing swf? the swf is video. I want to inject some code onto the first frame so I can control it when loaded cross domain. thanks ___ 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
RE: [Flashcoders] mtasc inject code onto first frame of root tmeline?
Hi Robert, On testing the following cards (on the left), we got the results on the right 611 - 032768 ( shows as a smiley face) 005 - 0491528 004 - 008 597 - 032768 ( shows as a smiley face) A little different than we expected :) Regards, Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hauwert, Ralph Sent: 29 May 2006 12:50 To: Flashcoders mailing list Subject: RE: [Flashcoders] mtasc inject code onto first frame of root tmeline? You can. Just don't use the -header option for the mtasc params. If you want to keep the existing code in the swf too, you will have to use the -keep param. This might introduce some interesting conflicts though, especially when there's already code in which will be reinjected (your core library, for instance, or the mx libs). Ralph. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of aaron smith Sent: zondag 28 mei 2006 10:34 To: Flashcoders mailing list Subject: [Flashcoders] mtasc inject code onto first frame of root tmeline? is it possible to use mtasc to inject code into the root timeline of a already existing swf? the swf is video. I want to inject some code onto the first frame so I can control it when loaded cross domain. thanks ___ 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
RE: [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); 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 ___ 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
RE: [Flashcoders] sending HTML image map data to Flash
__xml = new XML(); __xml.ignoreWhite = true; __xml.onLoad = function(success:Boolean){ var xmlString:String = this.toString(); var indexBegin = xmlString.indexOf(map); var indexEnd = xmlString.indexOf(/map)+6; xmlString = xmlString.substring(indexBegin,indexEnd); this.parseXML(xmlString); var mapNode:XMLNode = this.firstChild; trace(Flashout.INFO + mapNode.firstChild); //traces the first area (rect) } __xml.load(imagemap.html); The mapNode will hold all area nodes and you can access them as normal XMLnodes The one thing you should do is close all areas, the map should look something like: map name=MY_FLASH_TEST_MAP area shape=rect coords=20,25,84,113 href=rectangle.html / area shape=polygon coords=90,25,162,26,163,96,89,25,90,24 href=triangle.html / area shape=circle coords=130,114,29 href=circle.html / area shape=rect coords=19,156,170,211 href=mailto:[EMAIL PROTECTED] / area shape=default nohref / /map Greetz, Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Bernard Visscher Verzonden: maandag 29 mei 2006 15:27 Aan: 'Flashcoders mailing list' Onderwerp: RE: [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); 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 ___ 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
Re: [Flashcoders] security issues with php mail from Flash?
Yep, the main exploitation would happen by using the underlying PHP script. Google will help you with sorting the PHP: http://www.google.com/search?client=safarirls=enq=stop+spammers+php +scriptsie=UTF-8oe=UTF-8 Also, the php online manual reference for 'mail' has a number of comments about securing your forms. Dan On 29 May 2006, at 00:43, f a r i d | s i l v a | a b o i d wrote: I think that you must to put all protection against mysql injection and spammers in the php processor, because your flash form its only an usre interfase Dan Efergan [EMAIL PROTECTED] ___ 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
RE: [Flashcoders] geturl:javascript is causing images to not display onIE
At 08:00 PM 5/28/2006, Nehal Mick bot wrote: The best way is to test from server. If its Flash Security issue, while running locally u need to trust all the files. So what I do is to always check from server first and if issue is still there then investigate further Yes, it is a live site run from a server (Dreamhost). I've also ported it to another remote server and had the same issues. What's baffling me is that everything works fine on Mozilla and not on IE. I've had a number of testers report the same problem. Is there something related to F8 security that happens on IE differently than Firefox (my experience has been that Firefox is the more fussy one). The Flash is getting displayed correctly on both browsers. The problem is the display of a few gif images that are part of the regular html page, not at all related to the Flash. thanks, Phil ___ 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
RE: [Flashcoders] sending HTML image map data to Flash
I don't know how with imageready. One thing you could do is replace all area with /areaarea and the last /map with /area/map. But before you do that delete all /area entries, because flash add's them(not at the correct place) if you don't use closed area-tags. 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 -- thanks! Any way to force ImageReady to close all tags? - Marc At 06:51 AM 5/29/2006, you wrote: __xml = new XML(); __xml.ignoreWhite = true; __xml.onLoad = function(success:Boolean){ var xmlString:String = this.toString(); var indexBegin = xmlString.indexOf(map); var indexEnd = xmlString.indexOf(/map)+6; xmlString = xmlString.substring(indexBegin,indexEnd); this.parseXML(xmlString); var mapNode:XMLNode = this.firstChild; trace(Flashout.INFO + mapNode.firstChild); //traces the first area (rect) } __xml.load(imagemap.html); The mapNode will hold all area nodes and you can access them as normal XMLnodes The one thing you should do is close all areas, the map should look something like: map name=MY_FLASH_TEST_MAP area shape=rect coords=20,25,84,113 href=rectangle.html / area shape=polygon coords=90,25,162,26,163,96,89,25,90,24 href=triangle.html / area shape=circle coords=130,114,29 href=circle.html / area shape=rect coords=19,156,170,211 href=mailto:[EMAIL PROTECTED] / area shape=default nohref / /map Greetz, Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Bernard Visscher Verzonden: maandag 29 mei 2006 15:27 Aan: 'Flashcoders mailing list' Onderwerp: RE: [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); 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 ___ 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 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you
RE: [Flashcoders] sending HTML image map data to Flash
This should work: var xmlString:String = this.toString(); var indexBegin = xmlString.indexOf(map); var indexEnd = xmlString.indexOf(/map)+6; xmlString = xmlString.substring(indexBegin,indexEnd); xmlString = xmlString.split(/area).join(); //Delete all /area added by flash var areaArray:Array = xmlString.split(area); //split the string at area xmlString = areaArray.shift().toString() + area; //place first area back, because it MAY NOT have /area in front xmlString += areaArray.join(/areaarea); //place the rest of the area's back with a /area in front. this.parseXML(xmlString); var 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 with imageready. One thing you could do is replace all area with /areaarea and the last /map with /area/map. But before you do that delete all /area entries, because flash add's them(not at the correct place) if you don't use closed area-tags. 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 -- thanks! Any way to force ImageReady to close all tags? - Marc At 06:51 AM 5/29/2006, you wrote: __xml = new XML(); __xml.ignoreWhite = true; __xml.onLoad = function(success:Boolean){ var xmlString:String = this.toString(); var indexBegin = xmlString.indexOf(map); var indexEnd = xmlString.indexOf(/map)+6; xmlString = xmlString.substring(indexBegin,indexEnd); this.parseXML(xmlString); var mapNode:XMLNode = this.firstChild; trace(Flashout.INFO + mapNode.firstChild); //traces the first area (rect) } __xml.load(imagemap.html); The mapNode will hold all area nodes and you can access them as normal XMLnodes The one thing you should do is close all areas, the map should look something like: map name=MY_FLASH_TEST_MAP area shape=rect coords=20,25,84,113 href=rectangle.html / area shape=polygon coords=90,25,162,26,163,96,89,25,90,24 href=triangle.html / area shape=circle coords=130,114,29 href=circle.html / area shape=rect coords=19,156,170,211 href=mailto:[EMAIL PROTECTED] / area shape=default nohref / /map Greetz, Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Bernard Visscher Verzonden: maandag 29 mei 2006 15:27 Aan: 'Flashcoders mailing list' Onderwerp: RE: [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); 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 ___ 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
RE: [Flashcoders] sending HTML image map data to Flash
Many thanks! -Marc At 08:46 AM 5/29/2006, you wrote: This should work: var xmlString:String = this.toString(); var indexBegin = xmlString.indexOf(map); var indexEnd = xmlString.indexOf(/map)+6; xmlString = xmlString.substring(indexBegin,indexEnd); xmlString = xmlString.split(/area).join(); //Delete all /area added by flash var areaArray:Array = xmlString.split(area); //split the string at area xmlString = areaArray.shift().toString() + area; //place first area back, because it MAY NOT have /area in front xmlString += areaArray.join(/areaarea); //place the rest of the area's back with a /area in front. this.parseXML(xmlString); var 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 with imageready. One thing you could do is replace all area with /areaarea and the last /map with /area/map. But before you do that delete all /area entries, because flash add's them(not at the correct place) if you don't use closed area-tags. 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 -- thanks! Any way to force ImageReady to close all tags? - Marc At 06:51 AM 5/29/2006, you wrote: __xml = new XML(); __xml.ignoreWhite = true; __xml.onLoad = function(success:Boolean){ var xmlString:String = this.toString(); var indexBegin = xmlString.indexOf(map); var indexEnd = xmlString.indexOf(/map)+6; xmlString = xmlString.substring(indexBegin,indexEnd); this.parseXML(xmlString); var mapNode:XMLNode = this.firstChild; trace(Flashout.INFO + mapNode.firstChild); //traces the first area (rect) } __xml.load(imagemap.html); The mapNode will hold all area nodes and you can access them as normal XMLnodes The one thing you should do is close all areas, the map should look something like: map name=MY_FLASH_TEST_MAP area shape=rect coords=20,25,84,113 href=rectangle.html / area shape=polygon coords=90,25,162,26,163,96,89,25,90,24 href=triangle.html / area shape=circle coords=130,114,29 href=circle.html / area shape=rect coords=19,156,170,211 href=mailto:[EMAIL PROTECTED] / area shape=default nohref / /map Greetz, Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Bernard Visscher Verzonden: maandag 29 mei 2006 15:27 Aan: 'Flashcoders mailing list' Onderwerp: RE: [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); 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 ___ 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
RE: [Flashcoders] geturl:javascript is causing images to notdisplay onIE
Phil, Do you have an URL where I (and others) can look? Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Phil Glatz Verzonden: maandag 29 mei 2006 16:32 Aan: Flashcoders mailing list Onderwerp: RE: [Flashcoders] geturl:javascript is causing images to notdisplay onIE At 08:00 PM 5/28/2006, Nehal Mick bot wrote: The best way is to test from server. If its Flash Security issue, while running locally u need to trust all the files. So what I do is to always check from server first and if issue is still there then investigate further Yes, it is a live site run from a server (Dreamhost). I've also ported it to another remote server and had the same issues. What's baffling me is that everything works fine on Mozilla and not on IE. I've had a number of testers report the same problem. Is there something related to F8 security that happens on IE differently than Firefox (my experience has been that Firefox is the more fussy one). The Flash is getting displayed correctly on both browsers. The problem is the display of a few gif images that are part of the regular html page, not at all related to the Flash. thanks, Phil ___ 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
RE: [Flashcoders] security issues with php mail from Flash?
http://www.securephpwiki.com/index.php/Email_Injection -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Dan Efergan Verzonden: maandag 29 mei 2006 16:27 Aan: Flashcoders mailing list Onderwerp: Re: [Flashcoders] security issues with php mail from Flash? Yep, the main exploitation would happen by using the underlying PHP script. Google will help you with sorting the PHP: http://www.google.com/search?client=safarirls=enq=stop+spammers+php +scriptsie=UTF-8oe=UTF-8 Also, the php online manual reference for 'mail' has a number of comments about securing your forms. Dan On 29 May 2006, at 00:43, f a r i d | s i l v a | a b o i d wrote: I think that you must to put all protection against mysql injection and spammers in the php processor, because your flash form its only an usre interfase Dan Efergan [EMAIL PROTECTED] ___ 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
Re: [Flashcoders] geturl:javascript is causing images to not display on IE
I think you may have hit one of the problems with using javascript: pseudo urls. If I remember correctly, when you use a javascript pseudo url it disables some of the events under some circumstances. You could try two things - either use fscommand (or FlashJS, or one of the other communication packages floating around on the net) or try returning false from the javascript: url (I'm not sure about this one). getURL(javascript:setFlashHeight('wrapper','+h+');return false;); This is the only mention of the problem that I could find: http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/a57416b64499f57b/e77bfad5ee2fe342?lnk=stq=javascript+pseudo+url+images+not+loading+group%3Acomp.lang.javascriptrnum=2hl=en#e77bfad5ee2fe342 Since the javascript: url seems to work fine in plugin based browsers (Mozilla, Opera, Safari), and just doesn't work in ActiveX (IE) you could check the plugin type in Actionscript (System.capabilities.playerType == PlugIn), and use fscommand for ActiveX and use getURL for plugin. You would just need to add a vbscript to catch the fscommand and route it to the javascript call. Something along these lines should work (untested - probably needs work): Actionscript: if (System.capabilities.playerType == PlugIn) { getURL(javascript:setFlashHeight('wrapper','+h+');return false;); } else { fscommand(setFlashHeight, wrapper,+h); } HTML: script type=text/vbscript language=vbscript On Error Resume Next Sub YourMovieName_FSCommand(ByVal command, ByVal args) Call yahooMap_DoFSCommand(command, args) End Sub /script script type=text/javascript function YourMovieName_DoFSCommand(command, args) { var args = args.split(','); window[command](args[0], args[1]); } /script :NOTE: You could probably do everything from the VBScript, but I don't know VBScript well. Also, if you are publishing to Flash 8 then you can save yourself some headache by using ExternalInterface. BTW, I'm pretty sure this is an IE problem, not a Flash one. ;-) Kevin N. Phil Glatz wrote: I've been experiencing an intermittent problem with a getURL call back to a javascript function on the page calling an SWF. I'm using Flash 8, and testing on XP. With Firefox, there is no issue. With IE 6, I experience the problem about 80% of the time. This issue is that I have my SWF in a div, with some divs below it containing some gif images. When I flush the browser's cache, the images always display. After subsequent page refreshes (F5), the images usually don't appear (but sometimes do). I'm using the SWF to display some variable content, filling dynamic text fields from passed variables. I can also select from a number of fonts via a passed var. When the font changes, the div height needed to contain the stage changes. I created an actionscript function that passes the new calculated height back to the page via a javascript call: function resize() { if (allowResize == true) { h = Math.ceil(pBody._y+pBody._height)+10; getURL(javascript:setFlashHeight('wrapper','+h+');); } } The HTML page has the javascript function setFlashHeight() that resizes the enclosing division for the SWF, via DOM. Like I say, it all works fine with Firefox, and the HTML and CSS are both correct. I first suspected a DOM issue, but I later discovered that if I added a return statement as the first line of the javascript function, the problem persisted. If I comment out the getURL call in the actionscript, my disappearing image problem goes away. So it appears to be a Flash issue of some sort, which I'm not understanding. I've Googled around a bit and can't find anything remotely related to this problem. I'm on a tight project deadline and am about to send $99 to Macromedia for a support call. I thought I'd check with this wise group first to see if this rings any bells. Is this some sort of known issue with Flash/IE? Driving me nuts! thanks, Phil ___ 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
Re: [Flashcoders] geturl:javascript is causing images to not display on IE
Use getURL(javascript:void(setFlashHeight('wrapper','+h+')); On Mon, 29 May 2006 13:19:02 -0300, Kevin Newman [EMAIL PROTECTED] wrote: I think you may have hit one of the problems with using javascript: pseudo urls. If I remember correctly, when you use a javascript pseudo url it disables some of the events under some circumstances. You could try two things - either use fscommand (or FlashJS, or one of the other communication packages floating around on the net) or try returning false from the javascript: url (I'm not sure about this one). getURL(javascript:setFlashHeight('wrapper','+h+');return false;); This is the only mention of the problem that I could find: http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/a57416b64499f57b/e77bfad5ee2fe342?lnk=stq=javascript+pseudo+url+images+not+loading+group%3Acomp.lang.javascriptrnum=2hl=en#e77bfad5ee2fe342 Since the javascript: url seems to work fine in plugin based browsers (Mozilla, Opera, Safari), and just doesn't work in ActiveX (IE) you could check the plugin type in Actionscript (System.capabilities.playerType == PlugIn), and use fscommand for ActiveX and use getURL for plugin. You would just need to add a vbscript to catch the fscommand and route it to the javascript call. Something along these lines should work (untested - probably needs work): Actionscript: if (System.capabilities.playerType == PlugIn) { getURL(javascript:setFlashHeight('wrapper','+h+');return false;); } else { fscommand(setFlashHeight, wrapper,+h); } HTML: script type=text/vbscript language=vbscript On Error Resume Next Sub YourMovieName_FSCommand(ByVal command, ByVal args) Call yahooMap_DoFSCommand(command, args) End Sub /script script type=text/javascript function YourMovieName_DoFSCommand(command, args) { var args = args.split(','); window[command](args[0], args[1]); } /script :NOTE: You could probably do everything from the VBScript, but I don't know VBScript well. Also, if you are publishing to Flash 8 then you can save yourself some headache by using ExternalInterface. BTW, I'm pretty sure this is an IE problem, not a Flash one. ;-) Kevin N. Phil Glatz wrote: I've been experiencing an intermittent problem with a getURL call back to a javascript function on the page calling an SWF. I'm using Flash 8, and testing on XP. With Firefox, there is no issue. With IE 6, I experience the problem about 80% of the time. This issue is that I have my SWF in a div, with some divs below it containing some gif images. When I flush the browser's cache, the images always display. After subsequent page refreshes (F5), the images usually don't appear (but sometimes do). I'm using the SWF to display some variable content, filling dynamic text fields from passed variables. I can also select from a number of fonts via a passed var. When the font changes, the div height needed to contain the stage changes. I created an actionscript function that passes the new calculated height back to the page via a javascript call: function resize() { if (allowResize == true) { h = Math.ceil(pBody._y+pBody._height)+10; getURL(javascript:setFlashHeight('wrapper','+h+');); } } The HTML page has the javascript function setFlashHeight() that resizes the enclosing division for the SWF, via DOM. Like I say, it all works fine with Firefox, and the HTML and CSS are both correct. I first suspected a DOM issue, but I later discovered that if I added a return statement as the first line of the javascript function, the problem persisted. If I comment out the getURL call in the actionscript, my disappearing image problem goes away. So it appears to be a Flash issue of some sort, which I'm not understanding. I've Googled around a bit and can't find anything remotely related to this problem. I'm on a tight project deadline and am about to send $99 to Macromedia for a support call. I thought I'd check with this wise group first to see if this rings any bells. Is this some sort of known issue with Flash/IE? Driving me nuts! thanks, Phil ___ 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 -- _ Marcelo Volmaro ___ 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] Shared fonts
Hi all, Last weeks/months I see more and more questions about shared fonts. I've used the following for about a year now and it works for me. The basic is the same as sharedfonts (2 swf's to load the fonts), I'm sorry for all the people behind sharedfonts for this. Example: http://www.debit.nl/flashcoders/fonts/ FontLoader.as : http://www.debit.nl/flashcoders/FontLoader.txt Source of the example: http://www.debit.nl/flashcoders/FontLoader.zip Good luck with the code. Bernard ___ 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
Re: [Flashcoders] Shared fonts
Hello Bernard, - thank you! BV Last weeks/months I see more and more questions about shared fonts. BV I've used the following for about a year now and it works for me. BV The basic is the same as sharedfonts (2 swf's to load the fonts), I'm sorry BV for all the people behind sharedfonts for this. BV Example: http://www.debit.nl/flashcoders/fonts/ BV FontLoader.as : http://www.debit.nl/flashcoders/FontLoader.txt BV Source of the example: http://www.debit.nl/flashcoders/FontLoader.zip BV Good luck with the code. BV Bernard BV ___ BV Flashcoders@chattyfig.figleaf.com BV To change your subscription options or search the archive: BV http://chattyfig.figleaf.com/mailman/listinfo/flashcoders BV Brought to you by Fig Leaf Software BV Premier Authorized Adobe Consulting and Training BV http://www.figleaf.com BV http://training.figleaf.com -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru ___ 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] Getting the selection
Can anyone tell me why this outputs -1 for every value? Could it be because the textfield looses focus when I click on the button component? I am trying to get the first and last position of the selected text in a dynamic textfield. Any pointers would be awesome! Outputs: String to Underline: |B: -1 |E: -1 |C: -1 var underline_check:Object = new Object(); underline_check.click = function(eventObj:Object) { var startIndex:Number = Selection.getBeginIndex(); var endIndex:Number = Selection.getEndIndex(); var strToUnderline:String = editdesc_txt.text.substring(startIndex, endIndex); trace(String to Underline: +strToUnderline + |B: +Selection.getBeginIndex()+ |E: +Selection.getEndIndex() + |C: +Selection.getCaretIndex()); editdesc_txt.replaceText(startIndex, endIndex, u+strToUnderline+/u); }; underline_btn.addEventListener(click, underline_check); Boots ___ 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
RE: [Flashcoders] geturl:javascript is causing images to notdisplay onIE
Marcello suggested: Use getURL(javascript:void(setFlashHeight('wrapper','+h+')); I tried adding that, same problem - good suggestion though; I know this can be an issue. And thanks to Kevin for his suggestions about pseudo urls. At 09:05 AM 5/29/2006, Bernard wrote: Do you have an URL where I (and others) can look? Certainly: http://instapoem.glatz.com/v7.php Here is another version where I stripped out the enclosing CSS divisions from all but the SWF: http://instapoem.glatz.com/v8.php To reproduce the problem, go to the URL in IE 6 (I'm on XP). You should see the poem with a purple background. Below this, to the right of there should be an image here:, you'll see a small gif image with the text List all by author. Now hit F5 to refresh the screen. The small gif and/or the purple background will disappear. Refresh a few more times, should keep happening. I've tried this on a number of systems and the small gif almost always goes away on refresh. There is also a small curlycue image at the top that sometimes goes away. If you flush the browser cache (tools/internet options/delete files), the problem also goes away, until you refresh again. If you open the page in Firefox 1.5, the problem never occurs. This is a stripped down version of a much larger page. There is a link at the bottom to pull down the .fla file. You can view source to see the page itself (it is static). If anyone is interested, I will be happy to mail any other source materials (css, etc.). I'm primarily a backend developer, and the is the first time I've worked in Flash for some time, so I apologize for any glaring errors. This is for a site that will allow members to post their own poems. One of the goals was to allow them to specify different backgrounds and fonts. The SWF is transparent, so the background image shows through. It is set dynamically on the real site, and is here as a static style on line 18. The poem information and font specifier are sent to the SWF via FlashVars. In the action script, you'll see where I make the font assignment based on the values. The fonts themselves are stored in a second SWF and linked in as external library sources. When the poem is loaded, a call is made in the action script to the function resize(), when in turn calls the javascript function setFlashHeight() in the HTML. This compares the calculated stage height passed from the action script to the value stored in the database, and if they are different, updates the database and redisplays the page (some of this is done in PHP and isn't visible in this static source I'm using in this example. I added a return statement at the top of setFlashHeight() for testing, so it isn't executed anyway here. I discovered if I comment out the call to getURL() in the action script (line 128) the problem doesn't happen. That's what's making me suspect there is something wrong with the way I'm using this function, or there is a bug of some sort with Flash or IE (I suspect IE). thanks to all for their excellent help, Phil ___ 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
Re[2]: [Flashcoders] Shared fonts
Hello Bernard, - really it isn't a problem: SFM work principles was published many times but sales not stopped yet. Trere are many companies and peoples which can't allow himself to use solutions with dubious copyrights. Of course many companies and peoples don't think about it. In any case it isn't my clients. Also SFM is free for web site developers and if developer can't add SFM to project budget for client he can receive it free from me. I understand situation: I'm developer too. I hope my english is understandable, good luck! BV I believe we had the discussion about this more than a year ago ;) BV You know the code is different from the sahredfonts code and there is no AS BV involved in the lib's BV I'm sorry.. -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru ___ 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
RE: Re[2]: [Flashcoders] Shared fonts
Hi Ivan, - really it isn't a problem: SFM work principles was published many times but sales not stopped yet. Glad to hear it.. I really mean it! It's a good thing people can get money for their knowledge. Trere are many companies and peoples which can't allow himself to use solutions with dubious copyrights. Well, dubious copyrights aren't an issue with this code. The basic maybe the same as shared fonts, but so are linux and windows.. They both use the x86 architecture ;) Of course many companies and peoples don't think about it. In any case it isn't my clients. Also SFM is free for web site developers and if developer can't add SFM to project budget for client he can receive it free from me. I understand situation: I'm developer too. Ivan.. Maybe you can update SFM, feel free to use this code. In my opinion SFM is too old and can't be successfully used in an FAME (or other) enviroment. I hope my english is understandable, I hope mine is too ;) good luck! You too! Greetz, Bernard ___ 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
Re[4]: [Flashcoders] Shared fonts
Hello Bernard, BV In my opinion SFM is too old and can't be successfully used in BV an FAME (or other) enviroment. - SFM is AS2 class compatible for the most hard parser settings in FDT. But for licensed users only :) -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru ___ 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
Re[4]: [Flashcoders] Shared fonts
Hello Bernard, - and.. I'm sorry, but your code have imperfections. It's works, but you need support experiance with many languages and different situations for find a problems in your code. It's one more reason for use original solution. -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru ___ 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
RE: Re[4]: [Flashcoders] Shared fonts
Well, I haven't had any difficulties.. And i've used it in many sites.. But if you say so ;) Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Iv Verzonden: maandag 29 mei 2006 21:31 Aan: Flashcoders mailing list Onderwerp: Re[4]: [Flashcoders] Shared fonts Hello Bernard, - and.. I'm sorry, but your code have imperfections. It's works, but you need support experiance with many languages and different situations for find a problems in your code. It's one more reason for use original solution. -- Ivan Dembicki __ __ [EMAIL PROTECTED] || http://www.design.ru ___ 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
Re: Re[4]: [Flashcoders] Shared fonts
Hi, Which copyright problems are we talking about? Maybe I´m missing something here. Cheers, On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote: Well, I haven't had any difficulties.. And i've used it in many sites.. But if you say so ;) Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Iv Verzonden: maandag 29 mei 2006 21:31 Aan: Flashcoders mailing list Onderwerp: Re[4]: [Flashcoders] Shared fonts Hello Bernard, - and.. I'm sorry, but your code have imperfections. It's works, but you need support experiance with many languages and different situations for find a problems in your code. It's one more reason for use original solution. -- Ivan Dembicki __ __ [EMAIL PROTECTED] || http://www.design.ru ___ 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 -- Zárate ___ 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
RE: Re[4]: [Flashcoders] Shared fonts
Hi Zarate, I don't know either ;) I think Ivan means the principle of my code and the priciple of the sharedfonts system They both use 2 swf's for loading the font. There can't be copyright on that, because that's the only way the flashplayer allows fonts to be dynamicaly loaded. And it's no secret code or something, just a player posibility.. Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Zárate Verzonden: maandag 29 mei 2006 23:13 Aan: Flashcoders mailing list Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts Hi, Which copyright problems are we talking about? Maybe I´m missing something here. Cheers, On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote: Well, I haven't had any difficulties.. And i've used it in many sites.. But if you say so ;) Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Iv Verzonden: maandag 29 mei 2006 21:31 Aan: Flashcoders mailing list Onderwerp: Re[4]: [Flashcoders] Shared fonts Hello Bernard, - and.. I'm sorry, but your code have imperfections. It's works, but you need support experiance with many languages and different situations for find a problems in your code. It's one more reason for use original solution. -- Ivan Dembicki __ __ [EMAIL PROTECTED] || http://www.design.ru ___ 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 -- Zárate ___ 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
Re: [Flashcoders] Getting the selection
It's because the button you click will have the focus. So you should return the focus on the textfield before you can get the Selection of the text. [as] underline_btn.addEventListener(click, mx.utils.Delegate.create(this, underline_check)); function underline_check(evt:Object):Void { Selection.setFocus(editdesc_txt); var startIndex:Number = Selection.getBeginIndex(); var endIndex:Number = Selection.getEndIndex(); var strToUnderline:String = editdesc_txt.text.substring(startIndex, endIndex); trace(String to Underline: +strToUnderline+|B:+Selection.getBeginIndex()+ |E: +Selection.getEndIndex()+ |C:+Selection.getCaretIndex()); editdesc_txt.replaceText(startIndex, endIndex, u+strToUnderline+/u); } [/as] 2006/5/29, [EMAIL PROTECTED] [EMAIL PROTECTED]: Can anyone tell me why this outputs -1 for every value? Could it be because the textfield looses focus when I click on the button component? I am trying to get the first and last position of the selected text in a dynamic textfield. Any pointers would be awesome! Outputs: String to Underline: |B: -1 |E: -1 |C: -1 var underline_check:Object = new Object(); underline_check.click = function(eventObj:Object) { var startIndex:Number = Selection.getBeginIndex(); var endIndex:Number = Selection.getEndIndex(); var strToUnderline:String = editdesc_txt.text.substring(startIndex, endIndex); trace(String to Underline: +strToUnderline + |B: +Selection.getBeginIndex()+ |E: +Selection.getEndIndex() + |C: +Selection.getCaretIndex()); editdesc_txt.replaceText(startIndex, endIndex, u+strToUnderline+/u); }; underline_btn.addEventListener(click, underline_check); Boots ___ 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
Re: Re[4]: [Flashcoders] Shared fonts
I don´t think he means that... at doesn´t make any sense for me. By the way, if you want to avoid using two files per font, take a look to this (french): http://www.v-i-a.net/blog/archives/43.html I did myself almost 2 years ago some RD to use just one file (spanish): http://www.zarate.tv/articulos/shared_fonts/index.php AFAIK, I´m not violating any license or copyright :D Cheers, On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote: Hi Zarate, I don't know either ;) I think Ivan means the principle of my code and the priciple of the sharedfonts system They both use 2 swf's for loading the font. There can't be copyright on that, because that's the only way the flashplayer allows fonts to be dynamicaly loaded. And it's no secret code or something, just a player posibility.. Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Zárate Verzonden: maandag 29 mei 2006 23:13 Aan: Flashcoders mailing list Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts Hi, Which copyright problems are we talking about? Maybe I´m missing something here. Cheers, On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote: Well, I haven't had any difficulties.. And i've used it in many sites.. But if you say so ;) Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Iv Verzonden: maandag 29 mei 2006 21:31 Aan: Flashcoders mailing list Onderwerp: Re[4]: [Flashcoders] Shared fonts Hello Bernard, - and.. I'm sorry, but your code have imperfections. It's works, but you need support experiance with many languages and different situations for find a problems in your code. It's one more reason for use original solution. -- Ivan Dembicki __ __ [EMAIL PROTECTED] || http://www.design.ru ___ 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 -- Zárate ___ 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 -- Zárate ___ 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] Assignment for increment variables when referencing arrays
Hi Guys, I'm wondering if this is a bug or just a language difference between JS and AS, I was pulling my hair out for awhile and wondering what the hell was going on. For example.. for (var j:Number = 0; j arr1.length;) { var currentByte = bitRow[0]; calcCount[j++] += (currentByte 1); calcCount[j++] += (currentByte 2) 1; calcCount[j++] += (currentByte 4) 2; calcCount[j++] += (currentByte 8) 3; calcCount[j++] += (currentByte 16) 4; calcCount[j++] += (currentByte 32) 5; calcCount[j++] += (currentByte 64) 6; calcCount[j++] += (currentByte 128) 7; } Whenever j++ is read rather than assigning the increment after the value is read it seems that ActionScript assigns the increment first, then reads the value and then assigns it again! That's just craziness. Can anyone else verify this or explain it? Regards, Drew Foehn Actionscript Developer HotHouse Interactive - p: +61 2 9432 3655 e: [EMAIL PROTECTED] - HotHouse Interactive Pty Ltd Level 3, 154 Pacific Highway St Leonards NSW 2067 Australia - www.hothouse.com.au http://www.hothouse.com.au/ - ___ 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] ICE Technology released iPushR FlashR API v2.0.1 to help real-time RIA development
Taipei, Taiwan – May 26, 2006 – ICE Technology Corp. officially released iPushR FlashR API v2.0.1. It enables real-time data distribution capability of FlashR applications. “For supporting the development of real-time Rich Internet Application, we have provided iPushR APIs, such as Java Class and ActiveX Control for a long time. From now on, FlashR developers can use this iPushR FlashR API to take advantage of iPushR Server in FlashR applications. It provides another choice besides Macromedia FlashR Media Server for real-time data distribution.” said Fred Chiang, Chief Marketing Officer of ICE Technology. iPushR Server is a proven middleware for real-time data distribution, designed for serving massive concurrent connections. With its various APIs, different kind of client applications and devices, from server to mobile device, can participate in the same real-time service, subscribe-to-receive data in the way of server pushing. Enterprises and developers are paying close attention to Rich Internet Application now, because better user experience will bring in higher value from the net. Obviously, the speed of data update plays a significant factor in user experience of RIA. “The iPushR FlashR API is the first move of ICE Technology’s continuing contributions to Flash community. With it, FlashR applications can leverage the high performance of iPushR Server which achieves throughput of 105,000 messages per second on a entry-level PC host. Furthermore, a FlashR application can bi-directionally communicate with applications on Linux, WindowsR, JavaR virtual machine, Pocket PC, Smart Phone, even embedded system. This presents another important feature - high accessibility of iPushR Server.” said Fred Chiang. About ICE Technology Corporation Founded in April 2000, ICE Technology is a leading provider of real-time information distribution software and relative solutions for real-time services. ICE Technology delivers the most cost-effective information distribution server family, iPush Server, and provides solutions for various vertical markets’ needs, such as financial service, sports and gamming, mobile service, and industrial automation. Please visit http://www.icetechnology.com to get more information about ICE Technology. iPush Server is a registered trademark of ICE Technology Corporation. All other trademarks contained herein are the property of their respective owners.___ 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
Re: [Flashcoders] geturl:javascript is causing images to not display on IE
are you making the js call before the page is done loading? the browser might be treating is as an anchor click and stop loading the remaining items on the page (this is normal browser behavior) since you are using Flash 8, why not use ExternalInterface to make the call? in IE that will have the player use fscommand (basically) and i think your images will stop dissapearing. (or failing to load as the case may be) On May 28, 2006, at 9:50 PM, Phil Glatz wrote: I've been experiencing an intermittent problem with a getURL call back to a javascript function on the page calling an SWF. I'm using Flash 8, and testing on XP. With Firefox, there is no issue. With IE 6, I experience the problem about 80% of the time. This issue is that I have my SWF in a div, with some divs below it containing some gif images. When I flush the browser's cache, the images always display. After subsequent page refreshes (F5), the images usually don't appear (but sometimes do). I'm using the SWF to display some variable content, filling dynamic text fields from passed variables. I can also select from a number of fonts via a passed var. When the font changes, the div height needed to contain the stage changes. I created an actionscript function that passes the new calculated height back to the page via a javascript call: function resize() { if (allowResize == true) { h = Math.ceil(pBody._y+pBody._height)+10; getURL(javascript:setFlashHeight('wrapper','+h+');); } } The HTML page has the javascript function setFlashHeight() that resizes the enclosing division for the SWF, via DOM. Like I say, it all works fine with Firefox, and the HTML and CSS are both correct. I first suspected a DOM issue, but I later discovered that if I added a return statement as the first line of the javascript function, the problem persisted. If I comment out the getURL call in the actionscript, my disappearing image problem goes away. So it appears to be a Flash issue of some sort, which I'm not understanding. I've Googled around a bit and can't find anything remotely related to this problem. I'm on a tight project deadline and am about to send $99 to Macromedia for a support call. I thought I'd check with this wise group first to see if this rings any bells. Is this some sort of known issue with Flash/IE? Driving me nuts! thanks, Phil ___ 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] XML problem
Hi all! I have a simple XML gallery. Id like to load it to an another movie with loadMovie(gallery.swf, container). After of my loading within main movie the gallery doesnt work. It seems does not find the XML file or does not load the XML file, but the XML is in a same dir. What is the problem? Thx for your help. Robert ___ 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
Re: [Flashcoders] XML problem
once you load a movie into another all paths relate to the host movie and no longer to the child. So make sure you're pathing is right. Test the onload for the xml and make sure it can't find the xml- you will get a huge can't find the url error in the output window if that was the case. In terms of pathing i mean : Shell fla assets/gallery.swf assets/gallery.xml Shell loads assets/gallery.swf now the path to the xml is not gallery.xml as in relative to the gallery swf, but relative to the shell, being assets/gallery.xml Hi all! I have a simple XML gallery. Id like to load it to an another movie with loadMovie(gallery.swf, container). After of my loading within main movie the gallery doesnt work. It seems does not find the XML file or does not load the XML file, but the XML is in a same dir. What is the problem? Thx for your help. Robert ___ 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
Re: [Flashcoders] geturl:javascript is causing images to not display on IE
At 08:56 PM 5/29/2006, Geoff wrote: are you making the js call before the page is done loading? the browser might be treating is as an anchor click and stop loading the remaining items on the page (this is normal browser behavior) Good point! I am doing this after load, but that's very useful advice, thanks. since you are using Flash 8, why not use ExternalInterface to make the call? Bingo! That solved it. Thanks for pointing this out. And thanks to everyone else for their suggestions, I've learned a lot of good things today. This is a very supportive community, and I really appreciate everybody's kindness and patience. ___ 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
Re: [Flashcoders] geturl:javascript is causing images to not display on IE
A personal thanks, Geoff - using ExternalInterface saved the day for me. This problem has been bugging me on and off the last few months, and it is finally solved. I was thinking it was CSS for a long time. I'm glad it was something that could be fixed with just two lines of cde. Thanks again - you've pulled a lot of frustration off my shoulders. Best, Phil ___ 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