RE: [Flashcoders] custom map image geocoding service?
Hehe Google Mercator projection and start doing math . I started working on maps too and as I can see my employer uses Mercator projection algorithm to calculate x,y. So my advice to you is to get started with that if you don't find service that will help you. Greetings -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rich Rodecker Sent: Monday, June 16, 2008 10:05 PM To: Flash Coders List; [EMAIL PROTECTED] Subject: [Flashcoders] custom map image geocoding service? I'm building a flash app which requires some mapping functionality. It's relatively simple, so I'm not sure that it needs all the bells and whistles that come with using google's or yahoo's map services. Basically we have a static U.S./Canada map image (no pan or zoom) that has some interactive markers overlaid on it...pretty much a heatmap I guess. We're already set up with receiving the latitude and longitude coordinates, now i just need to translate that into x,y positions on the map. I know there are services out there that handle this, but I've been searching for a while and most of the results reference back to google or yahoo maps, so I'm thinking I'm not suing the right search terms. Does anyone know where I can get this done...or any other tips/advice that might help? Thanks, Rich ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Image Hyperlinks in TextFields
This is supposed to be relatively simple, but I'm facing a rather odd problem. I've got almost everything working but the link only works if you right click the image and click Open or Open in new window. Just clicking the link, seems to do nothing at all. The text field has mouseEnabled on and the cursor is changing when I roll over, but clicks do nothing! What is going on?? Cheers! -- Random Lines 3D My online portfolio www.therandomlines.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] custom map image geocoding service?
That is, only if his base map actually is in Mercator projection (which I doubt). Rich, first you have to find out the actual projection of your base map. Only after that you can do the math. For more info on map projections: http://www.csiss.org/map-projections If you are north american based you might get more info here: http:// www.nacis.org HTH Willem van den Goorbergh Op 17-jun-2008, om 9:34 heeft Haris KRAJINA het volgende geschreven: Hehe Google Mercator projection and start doing math . I started working on maps too and as I can see my employer uses Mercator projection algorithm to calculate x,y. So my advice to you is to get started with that if you don't find service that will help you. Greetings -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rich Rodecker Sent: Monday, June 16, 2008 10:05 PM To: Flash Coders List; [EMAIL PROTECTED] Subject: [Flashcoders] custom map image geocoding service? I'm building a flash app which requires some mapping functionality. It's relatively simple, so I'm not sure that it needs all the bells and whistles that come with using google's or yahoo's map services. Basically we have a static U.S./Canada map image (no pan or zoom) that has some interactive markers overlaid on it...pretty much a heatmap I guess. We're already set up with receiving the latitude and longitude coordinates, now i just need to translate that into x,y positions on the map. I know there are services out there that handle this, but I've been searching for a while and most of the results reference back to google or yahoo maps, so I'm thinking I'm not suing the right search terms. Does anyone know where I can get this done...or any other tips/advice that might help? Thanks, Rich ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Geografiek is a Dutch, Utrecht-based map and chart design company. Willem van den Goorbergh can be contacted by telephone: (+31) 30-2719512 or cell phone: (+31)6-26372378 or by fax: (+31)302719687 snail mail: Hooghiemstraplein 89 3514 AX UTRECHT Visit our website at: http://www.geografiek.nl =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Is there any way to get a list of the classes compiled into a SWF?
I'm trying to nail down where a reference to an unwanted class is coming from, and I need to be able to work out which classes are being compiled from my classpath. The reason is because I'm trying to take small element out of a larger project and put it into its own SWF. I've done this by extending the classes that are involved to override anything which has references to parts of the app which won't be in the smaller SWF, but one of them is still being included from somewhere, and I can't work out where. Thanks, Piers ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Is there any way to get a list of the classes compiled into a SWF?
Hi, as2 or as3? In as2 i'd use the verbose option on mtasc. greetz JC On Tue, Jun 17, 2008 at 11:33 AM, Piers Cowburn [EMAIL PROTECTED] wrote: I'm trying to nail down where a reference to an unwanted class is coming from, and I need to be able to work out which classes are being compiled from my classpath. The reason is because I'm trying to take small element out of a larger project and put it into its own SWF. I've done this by extending the classes that are involved to override anything which has references to parts of the app which won't be in the smaller SWF, but one of them is still being included from somewhere, and I can't work out where. Thanks, Piers ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Is there any way to get a list of the classes compiled into a SWF?
In AS3, the flex compiler can tell you which classes were used - look at the command-line option --link-report As JC says, you can use MTASC for AS2. If you happen to have FlashDevelop installed, you can just find the .swf file in the project file view and expand it as a tree node; all the symbols and classes contained in it will be listed. FlashDevelop is great. :-) Cheers, Ian On Tue, Jun 17, 2008 at 10:53 AM, Hans Wichman [EMAIL PROTECTED] wrote: Hi, as2 or as3? In as2 i'd use the verbose option on mtasc. greetz JC On Tue, Jun 17, 2008 at 11:33 AM, Piers Cowburn [EMAIL PROTECTED] wrote: I'm trying to nail down where a reference to an unwanted class is coming from, and I need to be able to work out which classes are being compiled from my classpath. The reason is because I'm trying to take small element out of a larger project and put it into its own SWF. I've done this by extending the classes that are involved to override anything which has references to parts of the app which won't be in the smaller SWF, but one of them is still being included from somewhere, and I can't work out where. Thanks, Piers ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Is there any way to get a list of the classes compiled into a SWF?
Forgot to mention, I'm using Flash CS3 / Mac. Piers On 17 Jun 2008, at 10:33, Piers Cowburn wrote: I'm trying to nail down where a reference to an unwanted class is coming from, and I need to be able to work out which classes are being compiled from my classpath. The reason is because I'm trying to take small element out of a larger project and put it into its own SWF. I've done this by extending the classes that are involved to override anything which has references to parts of the app which won't be in the smaller SWF, but one of them is still being included from somewhere, and I can't work out where. Thanks, Piers ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders [EMAIL PROTECTED] 0207 631 3278 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Is there any way to get a list of the classes compiled into a SWF?
AS3, and I'm using Flash CS3. I wouldn't be opposed to using something else though! Piers On 17 Jun 2008, at 10:53, Hans Wichman wrote: Hi, as2 or as3? In as2 i'd use the verbose option on mtasc. greetz JC On Tue, Jun 17, 2008 at 11:33 AM, Piers Cowburn [EMAIL PROTECTED] wrote: I'm trying to nail down where a reference to an unwanted class is coming from, and I need to be able to work out which classes are being compiled from my classpath. The reason is because I'm trying to take small element out of a larger project and put it into its own SWF. I've done this by extending the classes that are involved to override anything which has references to parts of the app which won't be in the smaller SWF, but one of them is still being included from somewhere, and I can't work out where. Thanks, Piers ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders [EMAIL PROTECTED] 0207 631 3278 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Is there any way to get a list of the classescompiled into a SWF?
I think Flash develop should show you the content of your SWF. Sothink decompiler will do the job as well, but PC software. I remember FDT is showing the content of a SWC, you might be able to do the same with a SWF. Romu www.soundstep.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Piers Cowburn Sent: 17 June 2008 11:07 To: Flash Coders List Subject: Re: [Flashcoders] Is there any way to get a list of the classescompiled into a SWF? AS3, and I'm using Flash CS3. I wouldn't be opposed to using something else though! Piers On 17 Jun 2008, at 10:53, Hans Wichman wrote: Hi, as2 or as3? In as2 i'd use the verbose option on mtasc. greetz JC On Tue, Jun 17, 2008 at 11:33 AM, Piers Cowburn [EMAIL PROTECTED] wrote: I'm trying to nail down where a reference to an unwanted class is coming from, and I need to be able to work out which classes are being compiled from my classpath. The reason is because I'm trying to take small element out of a larger project and put it into its own SWF. I've done this by extending the classes that are involved to override anything which has references to parts of the app which won't be in the smaller SWF, but one of them is still being included from somewhere, and I can't work out where. Thanks, Piers ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders [EMAIL PROTECTED] 0207 631 3278 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Is there any way to get a list of the classescompiled into a SWF?
Ok, I'm getting Flash Develop. Only problem is, the reason I want to see what classes are getting compiled is because I'm getting compiler errors - so I don't think it'll produce a SWF which I can then open in FD. Does that make sense? Piers On 17 Jun 2008, at 11:20, Romuald Quantin wrote: I think Flash develop should show you the content of your SWF. Sothink decompiler will do the job as well, but PC software. I remember FDT is showing the content of a SWC, you might be able to do the same with a SWF. Romu www.soundstep.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Piers Cowburn Sent: 17 June 2008 11:07 To: Flash Coders List Subject: Re: [Flashcoders] Is there any way to get a list of the classescompiled into a SWF? AS3, and I'm using Flash CS3. I wouldn't be opposed to using something else though! Piers On 17 Jun 2008, at 10:53, Hans Wichman wrote: Hi, as2 or as3? In as2 i'd use the verbose option on mtasc. greetz JC On Tue, Jun 17, 2008 at 11:33 AM, Piers Cowburn [EMAIL PROTECTED] wrote: I'm trying to nail down where a reference to an unwanted class is coming from, and I need to be able to work out which classes are being compiled from my classpath. The reason is because I'm trying to take small element out of a larger project and put it into its own SWF. I've done this by extending the classes that are involved to override anything which has references to parts of the app which won't be in the smaller SWF, but one of them is still being included from somewhere, and I can't work out where. Thanks, Piers ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders [EMAIL PROTECTED] 0207 631 3278 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders [EMAIL PROTECTED] 0207 631 3278 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Exclude classes
Hi, Does anyone know if there's a way to exclude certain built-in classes? E.g. if I'm not going to be using the BlurFilter class is there anyway for it not to be compiled with the .swf-file? I'm using Flash CS3+AS3 and the reason for this is that I want to keep the filesize as low as possible for a contest. Every byte is important. Thanks, / Viktor H ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Gaia 2.2.0 now available
What is Gaia, and what makes it useful? Elia - Original Message - From: Steven Sacks [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com; [EMAIL PROTECTED] Sent: Tuesday, June 17, 2008 4:47 AM Subject: [Flashcoders] Gaia 2.2.0 now available I'd like to let everyone on the list know about the latest major release of my free, open-source, front-end Flash framework, Gaia. http://www.gaiaflashframework.com/forum/index.php/topic,542.0.html Gaia 2.2.0 is a major release and contains many awesome improvements and upgrades! First off, SWFObject 2 + SWFAddress 2.1 are now fully supported. Updating older Gaia projects will automatically convert all your html pages, including your SEO Scaffolding ones, all while keeping any custom params and FlashVars you have in the old syntax. One click and your project is up-to-date with the latest SWF embedding technology. It doesn't get much easier than that! Another cool new feature is queued on-demand asset loading. Gaia will now only open a maximum of two HTTP requests at a time, which means your Gaia site is more stable (developers have reported AS3 becomes unstable when you have too many pending HTTP requests) and more responsive. External pages now have a window attribute which enables you to target which window you want to open your link in right in the site.xml. The Gaia panel now has Site XML and Class Path validation so you don't accidentally scaffold invalid class folder names (no spaces, no number at the start, alphanumeric), or invalid page ids. Additionally, the panel tells you exactly which nodes are invalid so you don't have to waste time trying to determine which ones they are. Gaia now has AS3 Event Metadata for auto-completion when using Flex Builder 3. Separate page templates for Actionscript and Timeline are now available for easy customization (and to solve a nasty JSFL bug with removeFrames). Plus, some important bug fixes were made in both the framework and the panel. And to top it all off, the latest version of the TweenMax family (v 1.17) is also included. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Exclude classes
Is this what your after? http://www.bit-101.com/blog/?p=941 http://www.martijndevisser.com/blog/2004/enable-disable-_excludexml-files/ Also try this: http://www.google.com/search?source=ighl=enrlz==q=excluding+classes+as3btnG=Google+Search Sid On Jun 17, 2008, at 1:01 PM, Viktor Hesselbom wrote: Hi, Does anyone know if there's a way to exclude certain built-in classes? E.g. if I'm not going to be using the BlurFilter class is there anyway for it not to be compiled with the .swf-file? I'm using Flash CS3+AS3 and the reason for this is that I want to keep the filesize as low as possible for a contest. Every byte is important. Thanks, / Viktor H ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Exclude classes
If you aren't using a class, and don't reference it anywhere in your code, it won't be compiled in. Most 'built-in' classes (i.e. classes beginning with flash.*) are actually implemented within the Flash Player itself, so won't be compiled into your .swf anyway. I'd imagine that's true of BlurFilter. See a previous thread today about how to see exactly what is being compiled into your .swf file. Ian On Tue, Jun 17, 2008 at 12:01 PM, Viktor Hesselbom [EMAIL PROTECTED] wrote: Hi, Does anyone know if there's a way to exclude certain built-in classes? E.g. if I'm not going to be using the BlurFilter class is there anyway for it not to be compiled with the .swf-file? I'm using Flash CS3+AS3 and the reason for this is that I want to keep the filesize as low as possible for a contest. Every byte is important. Thanks, / Viktor H ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Exclude classes
could you get rid of the main classpath and use a subset of the classes in a separate classpath would take time to sift through them all if it's possible On Tue, Jun 17, 2008 at 12:01 PM, Viktor Hesselbom [EMAIL PROTECTED] wrote: Hi, Does anyone know if there's a way to exclude certain built-in classes? E.g. if I'm not going to be using the BlurFilter class is there anyway for it not to be compiled with the .swf-file? I'm using Flash CS3+AS3 and the reason for this is that I want to keep the filesize as low as possible for a contest. Every byte is important. Thanks, / Viktor H ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Gaia 2.2.0 now available
AS3 framework, it is source automation, better to go on the site to see the video. The useful is time saver... Romu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Elia Morling Sent: 17 June 2008 12:10 To: Flash Coders List Subject: Re: [Flashcoders] Gaia 2.2.0 now available What is Gaia, and what makes it useful? Elia - Original Message - From: Steven Sacks [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com; [EMAIL PROTECTED] Sent: Tuesday, June 17, 2008 4:47 AM Subject: [Flashcoders] Gaia 2.2.0 now available I'd like to let everyone on the list know about the latest major release of my free, open-source, front-end Flash framework, Gaia. http://www.gaiaflashframework.com/forum/index.php/topic,542.0.html Gaia 2.2.0 is a major release and contains many awesome improvements and upgrades! First off, SWFObject 2 + SWFAddress 2.1 are now fully supported. Updating older Gaia projects will automatically convert all your html pages, including your SEO Scaffolding ones, all while keeping any custom params and FlashVars you have in the old syntax. One click and your project is up-to-date with the latest SWF embedding technology. It doesn't get much easier than that! Another cool new feature is queued on-demand asset loading. Gaia will now only open a maximum of two HTTP requests at a time, which means your Gaia site is more stable (developers have reported AS3 becomes unstable when you have too many pending HTTP requests) and more responsive. External pages now have a window attribute which enables you to target which window you want to open your link in right in the site.xml. The Gaia panel now has Site XML and Class Path validation so you don't accidentally scaffold invalid class folder names (no spaces, no number at the start, alphanumeric), or invalid page ids. Additionally, the panel tells you exactly which nodes are invalid so you don't have to waste time trying to determine which ones they are. Gaia now has AS3 Event Metadata for auto-completion when using Flex Builder 3. Separate page templates for Actionscript and Timeline are now available for easy customization (and to solve a nasty JSFL bug with removeFrames). Plus, some important bug fixes were made in both the framework and the panel. And to top it all off, the latest version of the TweenMax family (v 1.17) is also included. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Image Hyperlinks in TextFields
Is this AS2 or AS3? Have you looked up asfunction if it's AS2? If it's AS3 look up flash.text.TextField dispatches event: link . On Jun 17, 2008, at 4:06 AM, Ashim D'Silva wrote: This is supposed to be relatively simple, but I'm facing a rather odd problem. I've got almost everything working but the link only works if you right click the image and click Open or Open in new window. Just clicking the link, seems to do nothing at all. The text field has mouseEnabled on and the cursor is changing when I roll over, but clicks do nothing! What is going on?? Cheers! -- Random Lines 3D My online portfolio www.therandomlines.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Tweening a Donut Shape / Ripples / Concentric Circles
Hi Flashcoders, I have coded a donut shape by drawing two concentric circles (one appears to punch out the other) then tweening (using Tweener) the width and height of both circles for the same amout of time and by their widths + the same increase. This gives the effect of a circle getting larger but the distance between the inner radius and outer radius remaining the same (which is very important to the effect I'm after. Stagger a load of these going off and you have a nice two tone ripple effect, however you can't overlay this over an image or attach an alpha effect as actually it is a load of solid circles, not an actual donut shape with a hole in the middle. I am aware you can create a donut shape by drawing both circles in the same fill (really punching the hole in the middle), but when this is scaled the width between the inner and outer radius scales as well. The only way I can think to solve this is to redraw the donut each time using an EnterFrame event, but this seems wrong and I would prefer to be using Tweener for nice/easy easing and the like. All ideas gratefully received. Regards, Michael ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Tweening a Donut Shape / Ripples / Concentric Circles
If you can use the new line drawing features, and if your container is not resized in any other way, you could create a simple circle with no fill but with a given stroke set to scale on no dimension. That way, scaling the circle container would increase the overall circle size, but the stroke would remain at the same weight. If this is not practical, you can create one additional function that redraws the circle every time like you mentioned. This doesn't need to be done onEnterFrame - it's actually better to either create a getter/setter inside your movieclip (a function that redraws your object based on the scale or some other property) or a function that gets called by the tween every time some variable (like scale or some other property) is changed, by using Tweener's onUpdate parameter. Zeh Michael Trim wrote: Hi Flashcoders, I have coded a donut shape by drawing two concentric circles (one appears to punch out the other) then tweening (using Tweener) the width and height of both circles for the same amout of time and by their widths + the same increase. This gives the effect of a circle getting larger but the distance between the inner radius and outer radius remaining the same (which is very important to the effect I'm after. Stagger a load of these going off and you have a nice two tone ripple effect, however you can't overlay this over an image or attach an alpha effect as actually it is a load of solid circles, not an actual donut shape with a hole in the middle. I am aware you can create a donut shape by drawing both circles in the same fill (really punching the hole in the middle), but when this is scaled the width between the inner and outer radius scales as well. The only way I can think to solve this is to redraw the donut each time using an EnterFrame event, but this seems wrong and I would prefer to be using Tweener for nice/easy easing and the like. All ideas gratefully received. Regards, Michael ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Tweening a Donut Shape / Ripples / ConcentricCircles
Thanks Zeh, both of these options make sense. I always forget about onUpdate even though I have used it before. I'm not that keen on using strokes but if this is likely to improve performance, I will. Will take a look at both. Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zeh Fernando Sent: 17 June 2008 16:53 To: Flash Coders List Subject: Re: [Flashcoders] Tweening a Donut Shape / Ripples / ConcentricCircles If you can use the new line drawing features, and if your container is not resized in any other way, you could create a simple circle with no fill but with a given stroke set to scale on no dimension. That way, scaling the circle container would increase the overall circle size, but the stroke would remain at the same weight. If this is not practical, you can create one additional function that redraws the circle every time like you mentioned. This doesn't need to be done onEnterFrame - it's actually better to either create a getter/setter inside your movieclip (a function that redraws your object based on the scale or some other property) or a function that gets called by the tween every time some variable (like scale or some other property) is changed, by using Tweener's onUpdate parameter. Zeh Michael Trim wrote: Hi Flashcoders, I have coded a donut shape by drawing two concentric circles (one appears to punch out the other) then tweening (using Tweener) the width and height of both circles for the same amout of time and by their widths + the same increase. This gives the effect of a circle getting larger but the distance between the inner radius and outer radius remaining the same (which is very important to the effect I'm after. Stagger a load of these going off and you have a nice two tone ripple effect, however you can't overlay this over an image or attach an alpha effect as actually it is a load of solid circles, not an actual donut shape with a hole in the middle. I am aware you can create a donut shape by drawing both circles in the same fill (really punching the hole in the middle), but when this is scaled the width between the inner and outer radius scales as well. The only way I can think to solve this is to redraw the donut each time using an EnterFrame event, but this seems wrong and I would prefer to be using Tweener for nice/easy easing and the like. All ideas gratefully received. Regards, Michael ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] CS3 Restyling slider drag handles
I'm prepared for a Doh moment.. I've reassigned the style for an AS3 Slider drag thumb programatically. No problem - except that it's a bit squashed. Why is it squashing my replacement MovieClip? As an experiment, my perfect square is now an oblong. :-( Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] custom map image geocoding service?
Wow, I didn't think it would be that difficult. I could have sworn there were some upload your image, we'll hook it up services out there. On Tue, Jun 17, 2008 at 1:19 AM, Geografiek [EMAIL PROTECTED] wrote: That is, only if his base map actually is in Mercator projection (which I doubt). Rich, first you have to find out the actual projection of your base map. Only after that you can do the math. For more info on map projections: http://www.csiss.org/map-projections If you are north american based you might get more info here: http:// www.nacis.org HTH Willem van den Goorbergh Op 17-jun-2008, om 9:34 heeft Haris KRAJINA het volgende geschreven: Hehe Google Mercator projection and start doing math . I started working on maps too and as I can see my employer uses Mercator projection algorithm to calculate x,y. So my advice to you is to get started with that if you don't find service that will help you. Greetings -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rich Rodecker Sent: Monday, June 16, 2008 10:05 PM To: Flash Coders List; [EMAIL PROTECTED] Subject: [Flashcoders] custom map image geocoding service? I'm building a flash app which requires some mapping functionality. It's relatively simple, so I'm not sure that it needs all the bells and whistles that come with using google's or yahoo's map services. Basically we have a static U.S./Canada map image (no pan or zoom) that has some interactive markers overlaid on it...pretty much a heatmap I guess. We're already set up with receiving the latitude and longitude coordinates, now i just need to translate that into x,y positions on the map. I know there are services out there that handle this, but I've been searching for a while and most of the results reference back to google or yahoo maps, so I'm thinking I'm not suing the right search terms. Does anyone know where I can get this done...or any other tips/advice that might help? Thanks, Rich ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Geografiek is a Dutch, Utrecht-based map and chart design company. Willem van den Goorbergh can be contacted by telephone: (+31)30-2719512 or cell phone: (+31)6-26372378 or by fax: (+31)302719687 snail mail: Hooghiemstraplein 89 3514 AX UTRECHT Visit our website at: http://www.geografiek.nl =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Exclude classes
In AS3, there is no exclude.xml. Whether this was an oversight or, for some reason, not possible, you cannot do this in AS3. You can, however, use the Bridge pattern. http://www.stevensacks.net/2008/01/23/update-gaia-bridge-pattern-api/ In a nutshell, you: 1. Make an Interface for the class you want to share between swfs (the implementation), but only want to be compiled in one. 2. Make a class to Bridge the gap that contains a static getter that returns the Interface, but really returns the Implementation. You could also just make it a public static var if you really want. I used an internal namespace because I don't want developers overwriting the implementation. 3. Set the Implementation in your primary swf to make it available to all the other swfs. 4. Import the Bridge class in your other swfs and now you can access the implementation. Here is a trivial example that would work. package { import IClass; public class Bridge { public static var api:IClass; } } /// import Bridge; Bridge.api.yourMethod(); /// AFAIK, this is easiest way to overcome the lack of exclude.xml in AS3. There are other ways, but they are complicated and difficult. HTH, Steven ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Paste rich text possible in Flash?
Just say you have text in Microsoft Word which is formatted bold and a certain colour. Is it possible to copy that text into a Flash (MX2004 or 8) input field and retain (or at least discover and recreate) that formatting? My gut feeling is no, as I haven't yet come across examples of this on the web. Even copying bold text in an HTML-enabled input textfield and pasting it into the same textfield doesn't carry across the formatting. I'd appreciate any thoughts on this, even (or I should say, especially) a No, this can't be done. Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Paste rich text possible in Flash?
Don't believe so but AIR can do it. On Tue, Jun 17, 2008 at 9:54 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Just say you have text in Microsoft Word which is formatted bold and a certain colour. Is it possible to copy that text into a Flash (MX2004 or 8) input field and retain (or at least discover and recreate) that formatting? My gut feeling is no, as I haven't yet come across examples of this on the web. Even copying bold text in an HTML-enabled input textfield and pasting it into the same textfield doesn't carry across the formatting. I'd appreciate any thoughts on this, even (or I should say, especially) a No, this can't be done. Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Paste rich text possible in Flash?
Just say you have text in Microsoft Word which is formatted bold and a certain colour. Is it possible to copy that text into a Flash (MX2004 or 8) input field and retain (or at least discover and recreate) that formatting? Have you tried saving the file as HTML? Flash does have support for HTML text--limited, admittedly--but I don't know about RTF. I think Word has an option to reveal codes, which should show the HTML tags. I don't know this for sure--it's a guess, but it's worth a try. RTF codes aren't that tough to figure out--I had to do it for a Director project where I had to format print output with RTF, and if I can do it without documentation, anybody can. It's cryptic, though, and much more sensitive to minor deviations than HTML. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Paste rich text possible in Flash?
I've got a feeling its possible. Using useRichTextClipboard:Booleanhttp://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/Boolean.htmlFrom adobe help: useRichTextClipboard property (for TextField class) Specifies whether to copy and paste the text formatting along with the text. When set to true, Flash Player will also copy and paste formatting (such as alignment, bold, and italics) when you copy and paste between text fields. Both the origin and destination text fields for the copy and paste procedure must haveuseRichTextClipboard set to true. The default value is false. I haven't tried it myself, but look into it. Ash 2008/6/18 Kerry Thompson [EMAIL PROTECTED]: Just say you have text in Microsoft Word which is formatted bold and a certain colour. Is it possible to copy that text into a Flash (MX2004 or 8) input field and retain (or at least discover and recreate) that formatting? Have you tried saving the file as HTML? Flash does have support for HTML text--limited, admittedly--but I don't know about RTF. I think Word has an option to reveal codes, which should show the HTML tags. I don't know this for sure--it's a guess, but it's worth a try. RTF codes aren't that tough to figure out--I had to do it for a Director project where I had to format print output with RTF, and if I can do it without documentation, anybody can. It's cryptic, though, and much more sensitive to minor deviations than HTML. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Random Lines 3D My online portfolio www.therandomlines.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Paste rich text possible in Flash?
Just noticed you said MX2004 or 8. This help is for AS3. Sorry about that. But if you don't have a compelling reason to stick to AS2, you should switch anyway. 2008/6/18 Ashim D'Silva [EMAIL PROTECTED]: I've got a feeling its possible. Using useRichTextClipboard:Booleanhttp://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/Boolean.html From adobe help: useRichTextClipboard property (for TextField class) Specifies whether to copy and paste the text formatting along with the text. When set to true, Flash Player will also copy and paste formatting (such as alignment, bold, and italics) when you copy and paste between text fields. Both the origin and destination text fields for the copy and paste procedure must haveuseRichTextClipboard set to true. The default value is false. I haven't tried it myself, but look into it. Ash 2008/6/18 Kerry Thompson [EMAIL PROTECTED]: Just say you have text in Microsoft Word which is formatted bold and a certain colour. Is it possible to copy that text into a Flash (MX2004 or 8) input field and retain (or at least discover and recreate) that formatting? Have you tried saving the file as HTML? Flash does have support for HTML text--limited, admittedly--but I don't know about RTF. I think Word has an option to reveal codes, which should show the HTML tags. I don't know this for sure--it's a guess, but it's worth a try. RTF codes aren't that tough to figure out--I had to do it for a Director project where I had to format print output with RTF, and if I can do it without documentation, anybody can. It's cryptic, though, and much more sensitive to minor deviations than HTML. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Random Lines 3D My online portfolio www.therandomlines.com -- Random Lines 3D My online portfolio www.therandomlines.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Image Hyperlinks in TextFields
It's AS3, and I can catch the TextEvent.LINK when it fires, but it doesn't fire. The first time I click the image, the text gets selected to the line, and only if I move and click again is the event dispatched. It seems to make no sense. If I set selectable to false, then it doesn't work on the click at all. Both these times though, if I right click the image and click Open, it works fine. So the link is registering but the click isn't. 2008/6/17 Gerry [EMAIL PROTECTED]: Is this AS2 or AS3? Have you looked up asfunction if it's AS2? If it's AS3 look up flash.text.TextField dispatches event: link . On Jun 17, 2008, at 4:06 AM, Ashim D'Silva wrote: This is supposed to be relatively simple, but I'm facing a rather odd problem. I've got almost everything working but the link only works if you right click the image and click Open or Open in new window. Just clicking the link, seems to do nothing at all. The text field has mouseEnabled on and the cursor is changing when I roll over, but clicks do nothing! What is going on?? Cheers! -- Random Lines 3D My online portfolio www.therandomlines.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Random Lines 3D My online portfolio www.therandomlines.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders