[Flashcoders] help with embedded fonts...
It's got to be something stupid. I'm using the textformatter from netdrims -- I've got an input TextField that I only want Baskerville to be used - but the ability to set the bold or italic is needed. I've embedded the font in the field but when I set text as bold or italic, it disappears. What stupidity am I missing? ___ 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] help with embedded fonts...
Hi grimm, You need to embed the italic and bold versions of the font, too. Best bet is to stick all three in off-screen dynamic textfields somewhere (or exported in your library). HTH, Ian On 7/11/06, grimmwerks [EMAIL PROTECTED] wrote: It's got to be something stupid. I'm using the textformatter from netdrims -- I've got an input TextField that I only want Baskerville to be used - but the ability to set the bold or italic is needed. I've embedded the font in the field but when I set text as bold or italic, it disappears. What stupidity am I missing? ___ 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] jigsaw puzzle piece algorithm
Try something like this http://www.cedesign.com/cefx/reviews/reviews1_avbros.html ~neo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guntur N. Sarwohadi Sent: 06 July 2006 03:15 AM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] jigsaw puzzle piece algorithm I'm working on a puzzle game in flash, much similar to jigsaw puzzles you see in gameHouse or such casual game publisher. I'm having a hard time trying to cut an image to make it as puzzle pieces in AS2. Currently I'm doing it the hard way, cloning bitmapData image, and masking portions of the image. Can you cut parts on an image using bitmapData methods? And does anyone know how to create the infamous jigsaw pattern to it as well? Many thanks, Guntur N. Sarwohadi ___ 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] jigsaw puzzle piece algorithm
Thanks guys for the reply. Now I have a better understanding on how to achieve the effect. Currently i'm planning to provide vector puzzle pieces as mask templates first. Once that's done, I would try to start working on dynamically drawing the puzzle nubs and cutouts.. I like the review Neo handed. It explains a lot what Hans described... One question though, whether the sides are drawn by code or provided as vectors, how would you combine 4 of them to make it as a filled masked vector shape using drawing api? One other thing, the puzzle I'm doing would allow users to move puzzle pieces and combine them by side references (like, piece A is always in the left of piece B, while D is always below A, for example). Now I've manage to make each piece move other pieces in one group as a whole (using onMouseMove for the dragger and onEnterFrame by calculating distance with the dragger for the 'dragee') but it seems unoptimized and often lags (which shifts pieces location) if you move the mouse fast. It would look unsticky. Does anyone have an idea for a better algorithm? thx, Guntur N. Sarwohadi PS. Neo, hows the TGB Isometric Add-On doing? :p On 7/11/06, neo binedell [EMAIL PROTECTED] wrote: Try something like this http://www.cedesign.com/cefx/reviews/reviews1_avbros.html ~neo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guntur N. Sarwohadi Sent: 06 July 2006 03:15 AM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] jigsaw puzzle piece algorithm I'm working on a puzzle game in flash, much similar to jigsaw puzzles you see in gameHouse or such casual game publisher. I'm having a hard time trying to cut an image to make it as puzzle pieces in AS2. Currently I'm doing it the hard way, cloning bitmapData image, and masking portions of the image. Can you cut parts on an image using bitmapData methods? And does anyone know how to create the infamous jigsaw pattern to it as well? Many thanks, Guntur N. Sarwohadi ___ 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] jigsaw puzzle piece algorithm
Hi, with respect to the combining pieces, why would you use onEnterFrame to update the other pieces? Of course I dont know the details of your implementation, but it would seem that if you had puzzle clumps (in want of a better term), meaning groups of already combined pieces you could either temporarily parent (meaning recreating) the whole clump in a parent clip, and move the parent clip or do something like: puzzlePiece.onMouseMove = { get self.deltaxy if Puzzle.getGroup(self) == null then self.move(deltaxy) else Puzzle.getGroup(self).move(deltaxy); } With respect to the masking and filling through the drawing api, my routine looks like (in pseudo): canvas.clear() canvas.beginFill() drawTop(canvas);drawRight(canvas);drawBottom(canvas);drawLeft(canvas); canvas.endFill(); each draw routine picks up where the first left off, creating a closed shape which can be filled as normal. However if you had different sides drawn as vectors in flash, and convert them to a symbol, and put four of them together, you can't do this, since 4 symbols together of course dont make a closed 'shape'. One other thing though: did you know this one: http://somefrogs.com/ It might be all you need. It lacks a nice bevelled edge around the pieces, which would have been easy to add to your drawn shapes, using a bevelfilter, but it still is a very nice out of the box reusable puzzle component I think. greetz Hans On 7/11/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi, with respect to the combining pieces, why would you use onEnterFrame to update the other pieces? Of course I dont know the details of your implementation, but it would seem that if you had puzzle clumps (in want of a better term), meaning groups of already combined pieces you could either temporarily parent (meaning recreating) the whole clump in a parent clip, and move the parent clip or do something like: puzzlePiece.onMouseMove = { get self.deltaxy if Puzzle.getGroup(self) == null then self.move(deltaxy) else Puzzle.getGroup(self).move(deltaxy); } With respect to the masking and filling through the drawing api, my routine looks like (in pseudo): canvas.clear() canvas.beginFill() drawTop(canvas);drawRight(canvas);drawBottom(canvas);drawLeft(canvas); canvas.endFill(); each draw routine picks up where the first left off, creating a closed shape which can be filled as normal. However if you had different sides drawn as vectors in flash, and convert them to a symbol, and put four of them together, you can't do this, since 4 symbols together of course dont make a closed 'shape'. One other thing though: did you know this one: http://somefrogs.com/ It might be all you need. greetz Hans On 7/11/06, Guntur N. Sarwohadi [EMAIL PROTECTED] wrote: Thanks guys for the reply. Now I have a better understanding on how to achieve the effect. Currently i'm planning to provide vector puzzle pieces as mask templates first. Once that's done, I would try to start working on dynamically drawing the puzzle nubs and cutouts.. I like the review Neo handed. It explains a lot what Hans described... One question though, whether the sides are drawn by code or provided as vectors, how would you combine 4 of them to make it as a filled masked vector shape using drawing api? One other thing, the puzzle I'm doing would allow users to move puzzle pieces and combine them by side references (like, piece A is always in the left of piece B, while D is always below A, for example). Now I've manage to make each piece move other pieces in one group as a whole (using onMouseMove for the dragger and onEnterFrame by calculating distance with the dragger for the 'dragee') but it seems unoptimized and often lags (which shifts pieces location) if you move the mouse fast. It would look unsticky. Does anyone have an idea for a better algorithm? thx, Guntur N. Sarwohadi PS. Neo, hows the TGB Isometric Add-On doing? :p On 7/11/06, neo binedell [EMAIL PROTECTED] wrote: Try something like this http://www.cedesign.com/cefx/reviews/reviews1_avbros.html ~neo -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Guntur N. Sarwohadi Sent: 06 July 2006 03:15 AM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] jigsaw puzzle piece algorithm I'm working on a puzzle game in flash, much similar to jigsaw puzzles you see in gameHouse or such casual game publisher. I'm having a hard time trying to cut an image to make it as puzzle pieces in AS2. Currently I'm doing it the hard way, cloning bitmapData image, and masking portions of the image. Can you cut parts on an image using bitmapData methods? And does anyone know how to create the infamous jigsaw pattern to it as well? Many thanks, Guntur N. Sarwohadi ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:
Re: [Flashcoders] jigsaw puzzle piece algorithm
Hi Hans, Hmm.. I'm not sure what was I thinking when I was writing about onEnterFrame, coz like you describe earlier, I didn't use any onEnterFrame either.. gosh, this what happens when you don't have enough coffee with you after 2 days of no sleep :p.. well, anyway, in onMouseMove, I broadcast to piece group members to move as well, with the current piece as reference. Currently I calculated the distance prior broadcast and as the current piece moves, the piece group members would move in the same way without getting off location... but it does.. when you move the mouse fast enough, it displaces.. somefrogs.com... wow! that's so cool.. How you do such a thing?.. it blends in and mostly, the pieces dont fall off when you move the mouse fast enough!... how the...?.. anyone got an idea with my problem? thx! [g] On 7/11/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi, with respect to the combining pieces, why would you use onEnterFrame to update the other pieces? Of course I dont know the details of your implementation, but it would seem that if you had puzzle clumps (in want of a better term), meaning groups of already combined pieces you could either temporarily parent (meaning recreating) the whole clump in a parent clip, and move the parent clip or do something like: puzzlePiece.onMouseMove = { get self.deltaxy if Puzzle.getGroup(self) == null then self.move(deltaxy) else Puzzle.getGroup(self).move(deltaxy); } With respect to the masking and filling through the drawing api, my routine looks like (in pseudo): canvas.clear() canvas.beginFill() drawTop(canvas);drawRight(canvas);drawBottom(canvas);drawLeft(canvas); canvas.endFill(); each draw routine picks up where the first left off, creating a closed shape which can be filled as normal. However if you had different sides drawn as vectors in flash, and convert them to a symbol, and put four of them together, you can't do this, since 4 symbols together of course dont make a closed 'shape'. One other thing though: did you know this one: http://somefrogs.com/ It might be all you need. It lacks a nice bevelled edge around the pieces, which would have been easy to add to your drawn shapes, using a bevelfilter, but it still is a very nice out of the box reusable puzzle component I think. greetz Hans On 7/11/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi, with respect to the combining pieces, why would you use onEnterFrame to update the other pieces? Of course I dont know the details of your implementation, but it would seem that if you had puzzle clumps (in want of a better term), meaning groups of already combined pieces you could either temporarily parent (meaning recreating) the whole clump in a parent clip, and move the parent clip or do something like: puzzlePiece.onMouseMove = { get self.deltaxy if Puzzle.getGroup(self) == null then self.move(deltaxy) else Puzzle.getGroup(self).move(deltaxy); } With respect to the masking and filling through the drawing api, my routine looks like (in pseudo): canvas.clear() canvas.beginFill() drawTop(canvas);drawRight(canvas);drawBottom(canvas);drawLeft(canvas); canvas.endFill(); each draw routine picks up where the first left off, creating a closed shape which can be filled as normal. However if you had different sides drawn as vectors in flash, and convert them to a symbol, and put four of them together, you can't do this, since 4 symbols together of course dont make a closed 'shape'. One other thing though: did you know this one: http://somefrogs.com/ It might be all you need. greetz Hans On 7/11/06, Guntur N. Sarwohadi [EMAIL PROTECTED] wrote: Thanks guys for the reply. Now I have a better understanding on how to achieve the effect. Currently i'm planning to provide vector puzzle pieces as mask templates first. Once that's done, I would try to start working on dynamically drawing the puzzle nubs and cutouts.. I like the review Neo handed. It explains a lot what Hans described... One question though, whether the sides are drawn by code or provided as vectors, how would you combine 4 of them to make it as a filled masked vector shape using drawing api? One other thing, the puzzle I'm doing would allow users to move puzzle pieces and combine them by side references (like, piece A is always in the left of piece B, while D is always below A, for example). Now I've manage to make each piece move other pieces in one group as a whole (using onMouseMove for the dragger and onEnterFrame by calculating distance with the dragger for the 'dragee') but it seems unoptimized and often lags (which shifts pieces location) if you move the mouse fast. It would look unsticky. Does anyone have an idea for a better algorithm? thx, Guntur N. Sarwohadi PS. Neo, hows the TGB Isometric Add-On doing? :p On 7/11/06, neo binedell [EMAIL PROTECTED] wrote: Try something like this
Re: [Flashcoders] jigsaw puzzle piece algorithm
Hi, does it displace until you stop moving, or displace and screws it up completely? It sounds like either one of the updates you broadcast are not coming through, or the updates are based on the wrong offsets. I assume that if you move a group of 3, the 2 that should be moved automatically ARE displaced by the same amount? Just a shot in the dark here, but when you broadcast to the group, do you skip the source of the event? For example, normally in a group of 2, when you move one, you could either: 1) move the one you moved and dispatch an event to the other 2) create an event and dispatch to the group 3) move the one you moved and dispatch an event to the whole group the 3rd option clearly is invalid, since one piece would be moved twice. And with respect to the somefrogs.com, i had the same impression you had now how do they do that a few weeks ago, and now i know: one step at a time:). Once you have the mask, and the movement correct, you are 80% there;) good luck! JC On 7/11/06, Guntur N. Sarwohadi [EMAIL PROTECTED] wrote: Hi Hans, Hmm.. I'm not sure what was I thinking when I was writing about onEnterFrame, coz like you describe earlier, I didn't use any onEnterFrame either.. gosh, this what happens when you don't have enough coffee with you after 2 days of no sleep :p.. well, anyway, in onMouseMove, I broadcast to piece group members to move as well, with the current piece as reference. Currently I calculated the distance prior broadcast and as the current piece moves, the piece group members would move in the same way without getting off location... but it does.. when you move the mouse fast enough, it displaces.. somefrogs.com... wow! that's so cool.. How you do such a thing?.. it blends in and mostly, the pieces dont fall off when you move the mouse fast enough!... how the...?.. anyone got an idea with my problem? thx! [g] On 7/11/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi, with respect to the combining pieces, why would you use onEnterFrame to update the other pieces? Of course I dont know the details of your implementation, but it would seem that if you had puzzle clumps (in want of a better term), meaning groups of already combined pieces you could either temporarily parent (meaning recreating) the whole clump in a parent clip, and move the parent clip or do something like: puzzlePiece.onMouseMove = { get self.deltaxy if Puzzle.getGroup(self) == null then self.move(deltaxy) else Puzzle.getGroup(self).move(deltaxy); } With respect to the masking and filling through the drawing api, my routine looks like (in pseudo): canvas.clear() canvas.beginFill() drawTop(canvas);drawRight(canvas);drawBottom(canvas);drawLeft(canvas); canvas.endFill(); each draw routine picks up where the first left off, creating a closed shape which can be filled as normal. However if you had different sides drawn as vectors in flash, and convert them to a symbol, and put four of them together, you can't do this, since 4 symbols together of course dont make a closed 'shape'. One other thing though: did you know this one: http://somefrogs.com/ It might be all you need. It lacks a nice bevelled edge around the pieces, which would have been easy to add to your drawn shapes, using a bevelfilter, but it still is a very nice out of the box reusable puzzle component I think. greetz Hans On 7/11/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi, with respect to the combining pieces, why would you use onEnterFrame to update the other pieces? Of course I dont know the details of your implementation, but it would seem that if you had puzzle clumps (in want of a better term), meaning groups of already combined pieces you could either temporarily parent (meaning recreating) the whole clump in a parent clip, and move the parent clip or do something like: puzzlePiece.onMouseMove = { get self.deltaxy if Puzzle.getGroup(self) == null then self.move(deltaxy) else Puzzle.getGroup(self).move(deltaxy); } With respect to the masking and filling through the drawing api, my routine looks like (in pseudo): canvas.clear() canvas.beginFill() drawTop(canvas);drawRight(canvas);drawBottom(canvas);drawLeft(canvas); canvas.endFill(); each draw routine picks up where the first left off, creating a closed shape which can be filled as normal. However if you had different sides drawn as vectors in flash, and convert them to a symbol, and put four of them together, you can't do this, since 4 symbols together of course dont make a closed 'shape'. One other thing though: did you know this one: http://somefrogs.com/ It might be all you need. greetz Hans On 7/11/06, Guntur N. Sarwohadi [EMAIL PROTECTED] wrote: Thanks guys for the reply. Now I have a better understanding on how to achieve the effect. Currently i'm planning to provide vector puzzle pieces as mask templates first. Once that's done, I
Re: [Flashcoders] Text Arching...
Hi Umesh, You sent this exact same question on the 26th of June, and got 19 replies... I'm not sure why you need to ask it again..? Old threads here: http://chattyfig.figleaf.com/pipermail/flashcoders/2006-June/168431.html and here: http://chattyfig.figleaf.com/pipermail/flashcoders/2006-June/168483.html Ian On 7/10/06, Umesh Patel [EMAIL PROTECTED] wrote: Hello, I have following question. I saw nike's unifrm builder, Nike Uniform Builder(http://www.niketeam.com/v2/new/Sport...T=BBMCAT=UNI), they built uniform generator using Flash, the only thing wondering me is, how did they manage to arch the text, if anybody has any clue then I would be very happy to see little bit of action scripting. I want different arching with click of a button or something like that, I am attaching a sample of arching that I am looking for! If anybody figures it out. thanks, Umesh Patel Dynamic Team Sports 416.496.8600 --- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender via reply mail and delete all copies form your records. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Employees of Dynamic Team Sports are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy and outside the scope of the employment of the individual concerned. The company will not accept any liability in respect of such communication, and the employee responsible will be personally liable for any damages or other liability arising. The company accepts no liability for any damage caused by any virus transmitted by this email.' ___ 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] Dynamic access of top-level variables in AS3
Maybe I'm missing something, but I don't see how I can dynamically reference variables passed via a GET string into the swf using this. Hello :) in AS3 you use directly variables in global when you use a new .as ! package { static globalVariable = {} ; // your in topLevel !!! public class MainClass() { // first code in your Application // load your xml and use your global variable !!! } } EKA+ :) ___ 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] Dynamic access of top-level variables in AS3
or what about stage[myVar] Charles P. On 7/11/06, Charles Parcell [EMAIL PROTECTED] wrote: this[myVar] doesn't work?? Charles P. On 7/11/06, Chris McFadyen aka Grayson Carlyle [EMAIL PROTECTED] wrote: Maybe I'm missing something, but I don't see how I can dynamically reference variables passed via a GET string into the swf using this. Hello :) in AS3 you use directly variables in global when you use a new .as ! package { static globalVariable = {} ; // your in topLevel !!! public class MainClass() { // first code in your Application // load your xml and use your global variable !!! } } EKA+ :) ___ 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] Dynamic access of top-level variables in AS3
flash.display.Stage is a sealed class and can't contain swf-passed variables. QUOTE or what about stage[myVar] Charles P. ___ 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] Dynamic access of top-level variables in AS3
Create an object in the global scope to contain your variables, let's call it _global. Then reference it as: _global[myVar]; Or if you don't like the idea of a global object, create a dynamic class to do the same. Derek Vadneau - Original Message - From: Chris McFadyen aka Grayson Carlyle [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, July 11, 2006 11:31 AM Subject: [Flashcoders] Dynamic access of top-level variables in AS3 flash.display.Stage is a sealed class and can't contain swf-passed variables. QUOTE or what about stage[myVar] Charles P. ___ 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] Dynamic access of top-level variables in AS3
Hello :) in french : http://www.ekameleon.net/blog/index.php?2006/07/06/35--as3-le-_global-bien-cache- EKA+ :) 2006/7/11, Derek Vadneau [EMAIL PROTECTED]: Create an object in the global scope to contain your variables, let's call it _global. Then reference it as: _global[myVar]; Or if you don't like the idea of a global object, create a dynamic class to do the same. Derek Vadneau - Original Message - From: Chris McFadyen aka Grayson Carlyle [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, July 11, 2006 11:31 AM Subject: [Flashcoders] Dynamic access of top-level variables in AS3 flash.display.Stage is a sealed class and can't contain swf-passed variables. QUOTE or what about stage[myVar] Charles P. ___ 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] Dynamic access of top-level variables in AS3
That however requires putting those variables into the global object (which I don't have a problem with), but I don't know the names of these variables... that's why I need dynamic variable references. On 7/11/06, Derek Vadneau [EMAIL PROTECTED] wrote: Create an object in the global scope to contain your variables, let's call it _global. Then reference it as: _global[myVar]; Or if you don't like the idea of a global object, create a dynamic class to do the same. Derek Vadneau ___ 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] Dynamic access of top-level variables in AS3
No, you don't need to know the name of the variable. myVar isn't the name of the variable, it's a variable that holds the name of the variable. So: function getVar(myVar) { return _globla[myVar]; } getVar(variableDelta); You need to know the variable name at some point to create it and to address it. That is, your class doesn't need to know, but at some point in code a variable name is known, whether it's generated with a string concatenation or passed from another SWF/app/browser/etc. Does that address your situation? If not, maybe you could explain how you want to use it? Derek Vadneau - Original Message - From: Chris McFadyen aka Grayson Carlyle [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, July 11, 2006 11:50 AM Subject: Re: [Flashcoders] Dynamic access of top-level variables in AS3 That however requires putting those variables into the global object (which I don't have a problem with), but I don't know the names of these variables... that's why I need dynamic variable references. ___ 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] Dynamic access of top-level variables in AS3
Aha! The solution is to have the global object on the stage AS code: var global = this; Simple enough, but I was always trying to do it within an as file: package { var global = this; class MyClass() { } } Which will cause a compile error for referencing this outside of a class. Thanks guys. On 7/11/06, Derek Vadneau [EMAIL PROTECTED] wrote: No, you don't need to know the name of the variable. myVar isn't the name of the variable, it's a variable that holds the name of the variable. So: function getVar(myVar) { return _globla[myVar]; } getVar(variableDelta); You need to know the variable name at some point to create it and to address it. That is, your class doesn't need to know, but at some point in code a variable name is known, whether it's generated with a string concatenation or passed from another SWF/app/browser/etc. Does that address your situation? If not, maybe you could explain how you want to use it? Derek Vadneau - Original Message - From: Chris McFadyen aka Grayson Carlyle [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, July 11, 2006 11:50 AM Subject: Re: [Flashcoders] Dynamic access of top-level variables in AS3 That however requires putting those variables into the global object (which I don't have a problem with), but I don't know the names of these variables... that's why I need dynamic variable references. ___ 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] Dynamic access of top-level variables in AS3
Hi, You may want to check out flash.display.LoaderInfo[1]. It has a property parameters that has all the variables passed to the swf via querystring and flashvars. The DisplayObject at the top of the display list will have a loaderInfo property with an instance of the LoaderInfo class. Hope this helps. [1] http://livedocs.macromedia.com/flex/2/langref/flash/display/LoaderInfo.html#parameters On 7/10/06, Chris McFadyen aka Grayson Carlyle [EMAIL PROTECTED] wrote: In doing web apps, we pass a lot of variables directly to the swf files. ___ 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] Dynamic access of top-level variables in AS3
That's the one! Thanks :D On 7/11/06, Juan Anorga [EMAIL PROTECTED] wrote: Hi, You may want to check out flash.display.LoaderInfo[1]. It has a property parameters that has all the variables passed to the swf via querystring and flashvars. The DisplayObject at the top of the display list will have a loaderInfo property with an instance of the LoaderInfo class. Hope this helps. [1] http://livedocs.macromedia.com/flex/2/langref/flash/display/LoaderInfo.html#parameters On 7/10/06, Chris McFadyen aka Grayson Carlyle [EMAIL PROTECTED] wrote: In doing web apps, we pass a lot of variables directly to the swf files. ___ 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] Output to Text File
I believe you would need to use something such as php for this. kelly snyder wrote: I am trying to find a way to get my Flash file read from and write to ASCII text files. I would like to run the swf or exe file on my local machine, with an input test file and an output text file in the same directory. The swf file would read from the input file and write to the output file. Is this possible? Can I use javascript to achieve this? _ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ___ 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] Creating Custom Documentation MXP
With such a great subject line i think it would benefit the archives to share your results... Everything you need to know can be found on this thread: http://www.northcode.com/forums/showthread.php?t=6086 BLITZ | Steven Sacks - 310-551-0200 x209 ___ 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] help with embedded fonts...
Hi grimm, You need to embed the italic and bold versions of the font, too. Best bet is to stick all three in off-screen dynamic textfields somewhere (or exported in your library). Old school Flasher trick - works like a charm. Nice suggestion for all these code monkeys who forget (or never learned) Flash stuff and for all the newbies who are still learning. :) ___ 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] Output to Text File
You can do it with something like Zinc ( http://www.multidmedia.com/ ) or Jugglor (http://www.flashjester.com/). There is also the open source Screenweaver (http://screenweaver.org/) which can do this I think. There are also other similar solutions - try http://www.swftools.com/tools-category.php?cat=290 for a list (some of them don't seem to exist anymore though). I'd be very interested to know what you go with and what your experiences are. HTH Adrian P. On 7/11/06, Mike Boutin [EMAIL PROTECTED] wrote: I believe you would need to use something such as php for this. kelly snyder wrote: I am trying to find a way to get my Flash file read from and write to ASCII text files. I would like to run the swf or exe file on my local machine, with an input test file and an output text file in the same directory. The swf file would read from the input file and write to the output file. Is this possible? Can I use javascript to achieve this? _ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ___ 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] Text Arching...
uhoh... potential help vampire identified! - Just want to add a detail you did not mention: The Nike uniform builder text style has two different types of arching: #1- normal (letters simply rotated individually following a path) #2- shear (vertical lines stays vertical) -- #1 is easy to achieve - plenty of libraries, etc. but, #2 is more difficult to do -- I personnaly never saw something to do that. You might have to do a manual shear operation with text rendered onto a bitmap (would require flash player 8+). B. 2006/7/11, Ian Thomas [EMAIL PROTECTED]: Hi Umesh, You sent this exact same question on the 26th of June, and got 19 replies... I'm not sure why you need to ask it again..? Old threads here: http://chattyfig.figleaf.com/pipermail/flashcoders/2006-June/168431.html and here: http://chattyfig.figleaf.com/pipermail/flashcoders/2006-June/168483.html Ian On 7/10/06, Umesh Patel [EMAIL PROTECTED] wrote: Hello, I have following question. I saw nike's unifrm builder, Nike Uniform Builder(http://www.niketeam.com/v2/new/Sport...T=BBMCAT=UNI), they built uniform generator using Flash, the only thing wondering me is, how did they manage to arch the text, if anybody has any clue then I would be very happy to see little bit of action scripting. I want different arching with click of a button or something like that, I am attaching a sample of arching that I am looking for! If anybody figures it out. thanks, Umesh Patel Dynamic Team Sports 416.496.8600 --- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender via reply mail and delete all copies form your records. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Employees of Dynamic Team Sports are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy and outside the scope of the employment of the individual concerned. The company will not accept any liability in respect of such communication, and the employee responsible will be personally liable for any damages or other liability arising. The company accepts no liability for any damage caused by any virus transmitted by this email.' ___ 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] help with embedded fonts...
Steven Sacks | BLITZ wrote: Old school Flasher trick - works like a charm. Nice suggestion for all these code monkeys who forget (or never learned) Flash stuff and for all the newbies who are still learning. :) I just go nuts with all the font issues I have with Flash on the Mac. It's not fun anymore. ___ 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] list of files in a directory using FileReference or FileReferenceList
Or you could use PHP or another scripting language. Jeff On 7/10/06, Marcos Neves [EMAIL PROTECTED] wrote: You can´t dynamic list all files, but you can popup a browser window, asking to the user select all files on the folder. This is for security reason. On 7/10/06, jordan robinson [EMAIL PROTECTED] wrote: Is there a way to get a list of files in a directory using FileReference or FileReferenceList classes in flash 8. I don't want the user to browse to get the files since the files will be already set. I basically want to pull in all the file names that are in a particular folder. I am trying to set something up to load files in a folder but the folder may constantly change contents. On Jul 9, 2006, at 12:02 PM, jordan robinson wrote: I am working on kiosk project that will be updated dynamically. Is there way to have flash detect what is in a folder before I have the shell play through the sub files. I know you can set it up through xml and have it go through a list but I'd rather use that option as plan b. The project is dealing with kiosks in hundreds of locations and some locations will be playing different file then others. If I could get my shell to just play whatever is in a folder then that would be ideal (playing whatever is in that subdirectory). Thanks in advance for any help on this issue. Jordan Robinson ___ 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] Php Host
I am looking for a good Php host with decent customer support. Anyone have recommendations? Thanks in advance Suzanne ___ 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] Php Host
http://www.hostbrigade.com/ - These guys are great. Suzanne Harmon wrote: I am looking for a good Php host with decent customer support. Anyone have recommendations? Thanks in advance Suzanne ___ 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] Problem while trying to connect to webservice...
This is an old thread now, I was out all last week, but I see nobody responded to you. If you're still having this problem, then are you sure the wsdl is SOAP formatted correctly? Also, what happens when you paste the url to the wsdl in your browser - do you see the soap form of the wsdl? This looks like a problem with the webservice, not your Flash code. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of MJorge Sent: Tuesday, July 04, 2006 5:04 PM To: Flashcoders mailing list Subject: [Flashcoders] Problem while trying to connect to webservice... Hello, I´m getting the following error message while trying to connect and consume a web service: There are no valid services/ports in the WSDL file What does this mean? How can i solve it. Thanks. -- Mário Jorge Icq: 164987050 Msn: [EMAIL PROTECTED] Blog: http://www.beedigital.net/blog Working at: http://www.netliz.pt ___ 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] list of files in a directory using FileReference or FileReferenceList
You your application will be desktop(not online throught the browser), you always can embed the swf inside a application that would list the files for you and do the communication using the external API. On 7/11/06, jordan robinson [EMAIL PROTECTED] wrote: yes i want to list the files in a directory without a server side script. The list would then be used to load and play those files in order. The folder/directory contents could be different on many different computers that this will be installed on so i was hoping there was a way to say look at this folder and list the contents in flash for me. I've been hinted that northcode's swf studio can do this or another projector wrapper ( http://www.northcode.com/forums/ showthread.php?t=6070highlight=fileList ). If anyone has tested this please let me know. Thanks for the help thus far. -Jordan On Jul 11, 2006, at 1:25 PM, Marcos Neves wrote: I think he wants to list the client dir files, not the server. Is this right? On 7/11/06, Jeff Jonez [EMAIL PROTECTED] wrote: Or you could use PHP or another scripting language. Jeff On 7/10/06, Marcos Neves [EMAIL PROTECTED] wrote: You can´t dynamic list all files, but you can popup a browser window, asking to the user select all files on the folder. This is for security reason. On 7/10/06, jordan robinson [EMAIL PROTECTED] wrote: Is there a way to get a list of files in a directory using FileReference or FileReferenceList classes in flash 8. I don't want the user to browse to get the files since the files will be already set. I basically want to pull in all the file names that are in a particular folder. I am trying to set something up to load files in a folder but the folder may constantly change contents. On Jul 9, 2006, at 12:02 PM, jordan robinson wrote: I am working on kiosk project that will be updated dynamically. Is there way to have flash detect what is in a folder before I have the shell play through the sub files. I know you can set it up through xml and have it go through a list but I'd rather use that option as plan b. The project is dealing with kiosks in hundreds of locations and some locations will be playing different file then others. If I could get my shell to just play whatever is in a folder then that would be ideal (playing whatever is in that subdirectory). Thanks in advance for any help on this issue. Jordan Robinson ___ 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] help with embedded fonts...
On a side note, use setNewTextFormat() as well as setTextFormat() seeing as it's an input field... TextField.setTextFormat(TextFormat); TextField.setNewTextFormat(TextFormat); and yes you need to embed all the font glyphs, bold and italic. -- Jim Palmer ! Mammoth Web Operations -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Danny Kodicek Sent: Tuesday, July 11, 2006 2:51 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] help with embedded fonts... Hi grimm, You need to embed the italic and bold versions of the font, too. Best bet is to stick all three in off-screen dynamic textfields somewhere (or exported in your library). Alternatively, enable the textField's HTML property and embed all the font styles in the same field. Danny ___ 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: [Flashcoders] Abstract classes in AS3?
For compile time checks, just use a private constructor. As ActionScript allows one to access a private (not really private) super constructor in a subclass this works perfectly. At least this is what I do when I need an Abstract class in ActionScript. E.G. class com.tomsnyder.fasttmath2.studentclient.activities.tasks.AbstractTask { //private constructor to discourage instantiation private function AbstractTask() { //initialization code here } } Now there's no way to instantiate it, and the compiler will bitch about it if you try. I hope that helps. -Chris On 7/9/06, Weyert de Boer [EMAIL PROTECTED] wrote: I still think compile-time checks are the best to have... but this will serve very well. 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] help with embedded fonts...
Hello grimmwerks, http://www.sharedfonts.com/eng/faq.html#include -- 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: [Flashcoders] Php Host
I am looking for a good Php host with decent customer support. Anyone have recommendations? I'd recommend www.dreamhost.net. I've been using them for a few years and they kick ass - you can do almost everything through their control panel with no hassle, but if you need human support, it's also good. I think some people at this list also use them and can share their opinions. - Zeh ___ 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: [Flashcoders] Abstract classes in AS3?
AS3 doesn't support private constructors. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Allen Sent: Tuesday, July 11, 2006 2:06 PM To: Flashcoders mailing list Subject: Re: Re: [Flashcoders] Abstract classes in AS3? For compile time checks, just use a private constructor. As ActionScript allows one to access a private (not really private) super constructor in a subclass this works perfectly. At least this is what I do when I need an Abstract class in ActionScript. E.G. class com.tomsnyder.fasttmath2.studentclient.activities.tasks.AbstractTask { //private constructor to discourage instantiation private function AbstractTask() { //initialization code here } } Now there's no way to instantiate it, and the compiler will bitch about it if you try. I hope that helps. -Chris On 7/9/06, Weyert de Boer [EMAIL PROTECTED] wrote: I still think compile-time checks are the best to have... but this will serve very well. 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
Re: [Flashcoders] list of files in a directory using FileReference or FileReferenceList
yes zinc was the other software that was hinted in doing the job ( http://www.multidmedia.com/support/learning/help/HTML/zinc/2.5/ index.html?filesystem_getfilelist().htm ). jordan On Jul 11, 2006, at 1:47 PM, Pedro Furtado wrote: I use zinc myself and it works just fine for most things. Never did try northcode tough it should work just the same. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jordan robinson Sent: terça-feira, 11 de Julho de 2006 18:35 To: Flashcoders mailing list Subject: Re: [Flashcoders] list of files in a directory using FileReference or FileReferenceList yes i want to list the files in a directory without a server side script. The list would then be used to load and play those files in order. The folder/directory contents could be different on many different computers that this will be installed on so i was hoping there was a way to say look at this folder and list the contents in flash for me. I've been hinted that northcode's swf studio can do this or another projector wrapper ( http://www.northcode.com/forums/ showthread.php? t=6070highlight=fileList ). If anyone has tested this please let me know. Thanks for the help thus far. -Jordan ___ 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] Job Opportunity in Minneapolis, MN, USA
Fanball.com (http://www.fanball.com) is hiring a Flash developer Job Description: Reporting to the Director of Development the Flash Programmer will work closely with other Flash programmers, the development team, design department and project managers to develop Flash games, ads and marquees. Many of the Flash games we develop interface with ColdFusion and other web services. The position is in Minnesota in the warehouse district of Minneapolis. Prerequisite: Skills * ActionScript 2 development * OO development * Using Flash MX or later IDE to create flash movies Bonus Skills/Knowledge: * Component development experience * Experience with remoting, xmldata, and shared objects * Experience using external libraries * Experience with vector design in Flash * Working knowledge of Photoshop and Illustrator * Experience with (x)HTML, XML and JavaScript * Experience with AS3.0 Job Responsibilites * Creating static Flash movies (banner ads, etc.) * Creating dynamic Flash applications * Working on reusable Flash game frameworks, components, and tool sets If you are interested, please contact jobs at fanball dot com with you resume. As one of the other Flash programmers, I'm certainly happy to field any questions you might have... (There are also openings for a CF programmer, a DB admin//programmer, a quality assurance analyst/tester, and more at http://www.fanball.com/jobs.cfm) - phaedrus ___ 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: [Flashcoders] Abstract classes in AS3?
Hello ;) In AS3 the private keyword it's removed !! ;) You can't use this keyword for your constructor :) EKA+ :) 2006/7/11, Chris Allen [EMAIL PROTECTED]: For compile time checks, just use a private constructor. As ActionScript allows one to access a private (not really private) super constructor in a subclass this works perfectly. At least this is what I do when I need an Abstract class in ActionScript. E.G. class com.tomsnyder.fasttmath2.studentclient.activities.tasks.AbstractTask { //private constructor to discourage instantiation private function AbstractTask() { //initialization code here } } Now there's no way to instantiate it, and the compiler will bitch about it if you try. I hope that helps. -Chris On 7/9/06, Weyert de Boer [EMAIL PROTECTED] wrote: I still think compile-time checks are the best to have... but this will serve very well. 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] Abstract classes in AS3?
Chris, from the latest AS3 Language Reference (http://livedocs.macromedia.com/flex/2/langref/index.html), in compile-time errors section : 1153 - A constructor can only be declared public I don't understand why Adobe do that ? If somebody have an idea, I'ld be buyer ? Chris Allen wrote: For compile time checks, just use a private constructor. As ActionScript allows one to access a private (not really private) super constructor in a subclass this works perfectly. At least this is what I do when I need an Abstract class in ActionScript. E.G. class com.tomsnyder.fasttmath2.studentclient.activities.tasks.AbstractTask { //private constructor to discourage instantiation private function AbstractTask() { //initialization code here } } Now there's no way to instantiate it, and the compiler will bitch about it if you try. I hope that helps. -Chris On 7/9/06, Weyert de Boer [EMAIL PROTECTED] wrote: I still think compile-time checks are the best to have... but this will serve very well. 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: Re: Re: [Flashcoders] Abstract classes in AS3?
Yep, Just realized you guys were talking AS3. My bad. -Chris On 7/11/06, eka [EMAIL PROTECTED] wrote: Hello ;) In AS3 the private keyword it's removed !! ;) You can't use this keyword for your constructor :) EKA+ :) 2006/7/11, Chris Allen [EMAIL PROTECTED]: For compile time checks, just use a private constructor. As ActionScript allows one to access a private (not really private) super constructor in a subclass this works perfectly. At least this is what I do when I need an Abstract class in ActionScript. E.G. class com.tomsnyder.fasttmath2.studentclient.activities.tasks.AbstractTask { //private constructor to discourage instantiation private function AbstractTask() { //initialization code here } } Now there's no way to instantiate it, and the compiler will bitch about it if you try. I hope that helps. -Chris On 7/9/06, Weyert de Boer [EMAIL PROTECTED] wrote: I still think compile-time checks are the best to have... but this will serve very well. 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 ___ 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] Abstract classes in AS3?
That does seem stupid and completely pointless. I use private constructors all the time. Is there an official rationale for this? -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cédric Néhémie Sent: Tuesday, July 11, 2006 11:30 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Abstract classes in AS3? Chris, from the latest AS3 Language Reference (http://livedocs.macromedia.com/flex/2/langref/index.html), in compile-time errors section : 1153 - A constructor can only be declared public I don't understand why Adobe do that ? If somebody have an idea, I'ld be buyer ? ___ 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] Abstract classes in AS3?
private constructor is not ECMAScript ! to create a Singleton you can use a simple object inherit internal class, it's more clean :) links about this subject : http://blog.jasonnussbaum.com/?p=112 french discussion about this subject : http://groups.google.com/group/FCNG/browse_thread/thread/544f79b0b223b15a/e2b2527f81678da7?lnk=stq=constructeur+AS3rnum=1#e2b2527f81678da7 PS : sorry for my english ^_^ EKA+ :) 2006/7/11, Weyert de Boer [EMAIL PROTECTED]: Why is it removed? ___ 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] Abstract classes in AS3?
yes but i speak very badly in english !!! i can't explain you easily this change :( EKA+ :) 2006/7/11, Mike [EMAIL PROTECTED]: That does seem stupid and completely pointless. I use private constructors all the time. Is there an official rationale for this? -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cédric Néhémie Sent: Tuesday, July 11, 2006 11:30 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Abstract classes in AS3? Chris, from the latest AS3 Language Reference (http://livedocs.macromedia.com/flex/2/langref/index.html), in compile-time errors section : 1153 - A constructor can only be declared public I don't understand why Adobe do that ? If somebody have an idea, I'ld be buyer ? ___ 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] Abstract classes in AS3?
Yeah, but what if you're doing an enumeration class, like so: class TransitionState { private function TransitionState() { } public static var NOT_PLAYED_IN:TransitionState = new TransitionState(); public static var PLAYING_IN:TransitionState = new TransitionState(); public static var PLAYED_IN:TransitionState = new TransitionState(); public static var PLAYING_OUT:TransitionState = new TransitionState(); public static var PLAYED_OUT:TransitionState = new TransitionState(); } I want to be able to assume that these are the only 5 TransitionState objects in existence! (Okay, somebody could extend the class and make more--are they adding final in AS3.0?) Or what about static method classes? Why should something like this be allowed?: var stupid:Math = new Math(); Or, to return to the original topic, what if you want to do a pseudo-abstract class? Saying it's not ECMAScript doesn't fully answer the question--what is ECMAScript's rationale for not allowing private constructors? -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eka Sent: Tuesday, July 11, 2006 11:45 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Abstract classes in AS3? private constructor is not ECMAScript ! to create a Singleton you can use a simple object inherit internal class, it's more clean :) links about this subject : http://blog.jasonnussbaum.com/?p=112 french discussion about this subject : http://groups.google.com/group/FCNG/browse_thread/thread/544f79b0b223b15 a/e2b2527f81678da7?lnk=stq=constructeur+AS3rnum=1#e2b2527f81678da7 PS : sorry for my english ^_^ EKA+ :) 2006/7/11, Weyert de Boer [EMAIL PROTECTED]: Why is it removed? ___ 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] Abstract classes in AS3?
I'm agree with Mike concerning the ECMAScript rationale : From the ECMA specifications (http://www.ecma-international.org/publications/files/ecma-st/ECMA-262.pdf) 7.5.3 Future Reserved Words The following words are used as keywords in proposed extensions and are therefore reserved to allow for the possibility of future adoption of those extensions. Syntax FutureReservedWord :: one of abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public There's no mention of any restrictions anywhere in the specifications, seems it's a choice of Adobe to restrict the usage of the private keyword for constructors. About instanciate the Math class, there is an error in Run Time errors section : 1075 - Math is not a constructor. You can not instantiate the Math class. They probably use the same type of restrictions as we discussed before. PS : sorry for my english too :( , french people and english don't really works fine together :) Mike wrote: Yeah, but what if you're doing an enumeration class, like so: class TransitionState { private function TransitionState() { } public static var NOT_PLAYED_IN:TransitionState = new TransitionState(); public static var PLAYING_IN:TransitionState = new TransitionState(); public static var PLAYED_IN:TransitionState = new TransitionState(); public static var PLAYING_OUT:TransitionState = new TransitionState(); public static var PLAYED_OUT:TransitionState = new TransitionState(); } I want to be able to assume that these are the only 5 TransitionState objects in existence! (Okay, somebody could extend the class and make more--are they adding final in AS3.0?) Or what about static method classes? Why should something like this be allowed?: var stupid:Math = new Math(); Or, to return to the original topic, what if you want to do a pseudo-abstract class? Saying it's not ECMAScript doesn't fully answer the question--what is ECMAScript's rationale for not allowing private constructors? -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eka Sent: Tuesday, July 11, 2006 11:45 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Abstract classes in AS3? private constructor is not ECMAScript ! to create a Singleton you can use a simple object inherit internal class, it's more clean :) links about this subject : http://blog.jasonnussbaum.com/?p=112 french discussion about this subject : http://groups.google.com/group/FCNG/browse_thread/thread/544f79b0b223b15 a/e2b2527f81678da7?lnk=stq=constructeur+AS3rnum=1#e2b2527f81678da7 PS : sorry for my english ^_^ EKA+ :) 2006/7/11, Weyert de Boer [EMAIL PROTECTED]: Why is it removed? ___ 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
Re: [Flashcoders] Abstract classes in AS3?
Hello :) Yes for an enumeration you can use an internal class in your package and a Singleton namespace. private is good width a method and not a constructor. You can use throw error to limit your constructor or use internal keyworld, for me it's better ! EKA+ :) 2006/7/11, Cédric Néhémie [EMAIL PROTECTED]: I'm agree with Mike concerning the ECMAScript rationale : From the ECMA specifications (http://www.ecma-international.org/publications/files/ecma-st/ECMA-262.pdf ) 7.5.3 Future Reserved Words The following words are used as keywords in proposed extensions and are therefore reserved to allow for the possibility of future adoption of those extensions. Syntax FutureReservedWord :: one of abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public There's no mention of any restrictions anywhere in the specifications, seems it's a choice of Adobe to restrict the usage of the private keyword for constructors. About instanciate the Math class, there is an error in Run Time errors section : 1075 - Math is not a constructor. You can not instantiate the Math class. They probably use the same type of restrictions as we discussed before. PS : sorry for my english too :( , french people and english don't really works fine together :) Mike wrote: Yeah, but what if you're doing an enumeration class, like so: class TransitionState { private function TransitionState() { } public static var NOT_PLAYED_IN:TransitionState = new TransitionState(); public static var PLAYING_IN:TransitionState = new TransitionState(); public static var PLAYED_IN:TransitionState = new TransitionState(); public static var PLAYING_OUT:TransitionState = new TransitionState(); public static var PLAYED_OUT:TransitionState = new TransitionState(); } I want to be able to assume that these are the only 5 TransitionState objects in existence! (Okay, somebody could extend the class and make more--are they adding final in AS3.0?) Or what about static method classes? Why should something like this be allowed?: var stupid:Math = new Math(); Or, to return to the original topic, what if you want to do a pseudo-abstract class? Saying it's not ECMAScript doesn't fully answer the question--what is ECMAScript's rationale for not allowing private constructors? -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eka Sent: Tuesday, July 11, 2006 11:45 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Abstract classes in AS3? private constructor is not ECMAScript ! to create a Singleton you can use a simple object inherit internal class, it's more clean :) links about this subject : http://blog.jasonnussbaum.com/?p=112 french discussion about this subject : http://groups.google.com/group/FCNG/browse_thread/thread/544f79b0b223b15 a/e2b2527f81678da7?lnk=stq=constructeur+AS3rnum=1#e2b2527f81678da7 PS : sorry for my english ^_^ EKA+ :) 2006/7/11, Weyert de Boer [EMAIL PROTECTED]: Why is it removed? ___ 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 by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Php Host
I am looking for a good Php host with decent customer support. Anyone have recommendations? I'd recommend www.dreamhost.net. I've been using them for a few years and do you mean http://www.dreamhost.com/? Oops. Yes, I mean dreamhost.com. Sorry. - Zeh ___ 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] Abstract classes in AS3?
The official rationale can be found in Chapter 9 of the latest draft specification of ECMAScript 4th edition: quote Rationale: making a constructor always public reinforces the user model of classes, like functions, as constructors. While other languages allow constructors methods to be made inaccessible to keep outside code from creating instances, this use case was not deemed important enough to complicate the language design. It is a compatible change to allow explicit access control namespace attributes in a later edition. /quote The entire draft specification can be found online at the Mozilla website: http://developer.mozilla.org/es4/ If you are wondering why it would complicate the language design, my understanding is that the complication stems from ECMAScript's treatment of class objects and constructor methods. As one engineer described it to me, ECMAScript blurs the distinction between the two. Consequently, allowing access specifiers other than public on a constructor would require changes to the object model. This would have to be done carefully in order to preserve backward compatibility. If you feel that private constructors are an important language feature, please add a feature request on the Adobe feature request/bug report form: http://www.adobe.com/support/email/wishform Francis -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Sent: Tuesday, July 11, 2006 11:45 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Abstract classes in AS3? That does seem stupid and completely pointless. I use private constructors all the time. Is there an official rationale for this? -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cédric Néhémie Sent: Tuesday, July 11, 2006 11:30 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Abstract classes in AS3? Chris, from the latest AS3 Language Reference (http://livedocs.macromedia.com/flex/2/langref/index.html), in compile-time errors section : 1153 - A constructor can only be declared public I don't understand why Adobe do that ? If somebody have an idea, I'ld be buyer ? ___ 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] Php Host
I'd recommend www.dreamhost.net. I've been using them for a few years and they kick ass - you can do almost everything through their control panel with no hassle, but if you need human support, it's also good. I think some people at this list also use them and can share their opinions. I wouldn't recommend them; in fact, I'm moving a site from there to another host because of unreliability. Check their status log from the last week: http://www.dreamhoststatus.com/ On July 1, they were without outgoing email for almost 24 hours. We had a lot of email delivery problems yesterday, so I emailed a support ticket to them (they don't have phone support), and didn't get a reply for over 24 hours. I'm guessing they were unable to send it. There are other server and mail management problems reported too. We're about to launch a site that requires fast email confirmation upon registration, and I don't feel I can rely on them. Their support is usually pretty good, but I find it unacceptable to wait over a day for a reply to a problem considered mission critical. And if you're wondering why they seem to get good reviews in a lot of places, it may be related to their policy of paying people to refer them. I'm also pretty disappointed with most of the sites that review web hosting, which are in many cases not impartial. That said, I have had good luck recently with www.westhost.com -- fast turnaround on support questions *eail, phone, or chat) and easy administration. ___ 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] Php Host
www.imhosted.com I´m hosting my websites with them for almost 2 years now and service quality is very good as well as their support which is very fast and responsive. I couldn´t recommend it more :) Marcelo. On 7/11/06, Phil Glatz [EMAIL PROTECTED] wrote: I'd recommend www.dreamhost.net. I've been using them for a few years and they kick ass - you can do almost everything through their control panel with no hassle, but if you need human support, it's also good. I think some people at this list also use them and can share their opinions. I wouldn't recommend them; in fact, I'm moving a site from there to another host because of unreliability. Check their status log from the last week: http://www.dreamhoststatus.com/ On July 1, they were without outgoing email for almost 24 hours. We had a lot of email delivery problems yesterday, so I emailed a support ticket to them (they don't have phone support), and didn't get a reply for over 24 hours. I'm guessing they were unable to send it. There are other server and mail management problems reported too. We're about to launch a site that requires fast email confirmation upon registration, and I don't feel I can rely on them. Their support is usually pretty good, but I find it unacceptable to wait over a day for a reply to a problem considered mission critical. And if you're wondering why they seem to get good reviews in a lot of places, it may be related to their policy of paying people to refer them. I'm also pretty disappointed with most of the sites that review web hosting, which are in many cases not impartial. That said, I have had good luck recently with www.westhost.com -- fast turnaround on support questions *eail, phone, or chat) and easy administration. ___ 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] Php Host
And if you're wondering why they seem to get good reviews in a lot of places, it may be related to their policy of paying people to refer them. I'm also pretty disappointed with most of the sites that review web hosting, which are in many cases not impartial. Thanks for letting us know of that, but just to be clear - I do recommend them because I've been using them for 4 years without any problem, not because I've read reviews of them. I feel sorry for the problems you had, but I just wanted to add that my experience with them has been different and I'm not basing myself on other people's reviews or opinions. - Zeh ___ 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] Php Host
I am planning to take a server in germany. I have heard good things about this company: https://www.server4you.de/de/start.php?a And cheap too! Yours, Weyert ___ 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] Php Host
www.bhosted.nl very good! -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Zeh Fernando Verzonden: dinsdag 11 juli 2006 23:02 Aan: Flashcoders mailing list Onderwerp: Re: [Flashcoders] Php Host And if you're wondering why they seem to get good reviews in a lot of places, it may be related to their policy of paying people to refer them. I'm also pretty disappointed with most of the sites that review web hosting, which are in many cases not impartial. Thanks for letting us know of that, but just to be clear - I do recommend them because I've been using them for 4 years without any problem, not because I've read reviews of them. I feel sorry for the problems you had, but I just wanted to add that my experience with them has been different and I'm not basing myself on other people's reviews or opinions. - Zeh ___ 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: [Flashcoders] Php Host
yeah, i back up dreamhost, but mostly because of the great plans and control panel. customer service is eh, and it's all email, which is really annoying. On 7/11/06, Bernard Visscher [EMAIL PROTECTED] wrote: www.bhosted.nl very good! -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Zeh Fernando Verzonden: dinsdag 11 juli 2006 23:02 Aan: Flashcoders mailing list Onderwerp: Re: [Flashcoders] Php Host And if you're wondering why they seem to get good reviews in a lot of places, it may be related to their policy of paying people to refer them. I'm also pretty disappointed with most of the sites that review web hosting, which are in many cases not impartial. Thanks for letting us know of that, but just to be clear - I do recommend them because I've been using them for 4 years without any problem, not because I've read reviews of them. I feel sorry for the problems you had, but I just wanted to add that my experience with them has been different and I'm not basing myself on other people's reviews or opinions. - Zeh ___ 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] Php Host
At 02:01 PM 7/11/2006, you wrote: I feel sorry for the problems you had, but I just wanted to add that my experience with them has been different and I'm not basing myself on other people's reviews or opinions. That's good to know. I've heard mostly good things about them, but in the last six months have heard more negative than good about their performance. 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
Re: [Flashcoders] Php Host
I agree. Dreamhost has been good for me and mine, no more problems with them than would be normal with a hosting company, easy to use, and when I have questions about how to implement one of their many options, they've always come through for me and helped solve them (nothing that was their fault, just my inability to understand something) within 24 hours. I didn't go with them because or reviews, but because of the price, options and service. Zeh Fernando wrote: And if you're wondering why they seem to get good reviews in a lot of places, it may be related to their policy of paying people to refer them. I'm also pretty disappointed with most of the sites that review web hosting, which are in many cases not impartial. Thanks for letting us know of that, but just to be clear - I do recommend them because I've been using them for 4 years without any problem, not because I've read reviews of them. I feel sorry for the problems you had, but I just wanted to add that my experience with them has been different and I'm not basing myself on other people's reviews or opinions. ___ 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] Php Host
Without any question I would recomend, http://www.eleven2.com/ . They are really good, and have 24/7 support, plus you can contact them easily on AIM too. Suzanne Harmon wrote: I am looking for a good Php host with decent customer support. Anyone have recommendations? Thanks in advance Suzanne ___ 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] Abstract classes in AS3?
I don't really care whether they allow private constructors or not, as long as they provide some way of accomplishing the same thing. Specifically, I want to be able to: 1) Limit the number of instances of certain classes (singletons, enumerations). 2) Have methods which are not attached to specific class instances. 3) Be able to create classes that cannot be instantiated themselves but can be superclasses of concrete classes. #3 for example, is much better implemented with the abstract keyword than with private constructors, but AS3.0 doesn't have the abstract keyword, so now there is no way to elegantly accomplish this (i.e., in such a way that errors are caught at compile-time instead of runtime). So, yeah, make all constructors public if you must, but give us some other way to accomplish these things. -- T. Michael Keesey ___ 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 Sandbox issue ...
You're getting this because there is no file at http:// my.abcnews.go.com/crossdomain.xml which specifies localhost as a valid host for connecting to its resources. If you work for Disney, perhaps you can ask them to sit this up for you (not likely I think, even if you do work for them). Otherwise you'll have to set up some kind of proxy. Google crossdomain.xml for more info. -josh On Jul 2, 2006, at 5:31p, Stephen Ford wrote: Hello, I received this error while remotely debugging a swf: (15917) Connections: true | true*** Security Sandbox Violation ***Connection to http://my.abcnews.go.com/rsspublic/fp_rss20.xml halted - not permitted from http://localhost/test.swf I have added the file in question (http://localhost/test.swf) to the trusted locations list in the Global Security Settings of my Flash player, but still get the violation message. Can anyone advise on this. Thanks, Stephen.___ 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] Problem while trying to connect to webservice...
The WebServiceConnector component is used for connecting to SOAP- based web services. Make sure you are connecting to a service which is implemented in SOAP, and that you are using the URL to the WSDL version of the service. You can tell if the URL is correct because if you view it in a browser, you'll get a bunch of XML beginning with a wsdl:definitions node. If all that is true, then whomever developed the service you're consuming has messed up somehow. If you're using a service which is not implemented in SOAP, you can probably just use methods of the standard XML object to access it. -josh On Jul 4, 2006, at 2:04p, MJorge wrote: Hello, I´m getting the following error message while trying to connect and consume a web service: There are no valid services/ports in the WSDL file What does this mean? How can i solve it. Thanks. -- Mário Jorge Icq: 164987050 Msn: [EMAIL PROTECTED] Blog: http://www.beedigital.net/blog Working at: http://www.netliz.pt ___ 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] Php Host
Weyert de Boer schrieb: I am planning to take a server in germany. I have heard good things about this company: https://www.server4you.de/de/start.php?a And cheap too! Yours, Weyert ___ 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 do not. not very reliable. but when it's there, they're fast. no service though. micha ___ 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] New preloader feedback
Hello list, I´ve redesigned my preloader including the logic/code behind it. Each star represents a swf library being downloaded. It uses pixlib LibStack and GraphicLib to handle the loading of multiple swfs easily. I would really appreciate if you could take some of your time and visit my site as I need to know of any bugs before it gets too late to fix them. For me and some of my friends, it worked ok. The url: http://www.chapeco-online.com.br Thanks in advance, Marcelo. ___ 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] New preloader feedback
I like it. Cool idea, maybe the precentage text could be smaller or something. ___ 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] New preloader feedback
Thanks for the reply Weyert! Did it load fine on your machine? On 7/11/06, Weyert de Boer [EMAIL PROTECTED] wrote: I like it. Cool idea, maybe the precentage text could be smaller or something. ___ 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] New preloader feedback
Loaded fine on both FF and IE. Marcelo de Moraes Serpa wrote: Hello list, I´ve redesigned my preloader including the logic/code behind it. Each star represents a swf library being downloaded. It uses pixlib LibStack and GraphicLib to handle the loading of multiple swfs easily. I would really appreciate if you could take some of your time and visit my site as I need to know of any bugs before it gets too late to fix them. For me and some of my friends, it worked ok. The url: http://www.chapeco-online.com.br Thanks in advance, Marcelo. ___ 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] New preloader feedback
Thanks Steve :D -Marcelo. On 7/11/06, Steve Rachels [EMAIL PROTECTED] wrote: Loaded fine on both FF and IE. Marcelo de Moraes Serpa wrote: Hello list, I´ve redesigned my preloader including the logic/code behind it. Each star represents a swf library being downloaded. It uses pixlib LibStack and GraphicLib to handle the loading of multiple swfs easily. I would really appreciate if you could take some of your time and visit my site as I need to know of any bugs before it gets too late to fix them. For me and some of my friends, it worked ok. The url: http://www.chapeco-online.com.br Thanks in advance, Marcelo. ___ 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] Php Host
I´ve got one of my sites (well, a vhost to be exact) on server4you, and hadn´t had any trouble so far. btw, english page is at http://www.server4you.com/ However, it´s always a good idea to not rely on only one hoster. I´ve got sites/servers at 3 different hosters plus a backup at my hown which I can link in pretty quickly. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: Tuesday, July 11, 2006 11:13 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Php Host I am planning to take a server in germany. I have heard good things about this company: https://www.server4you.de/de/start.php?a And cheap too! Yours, Weyert ___ 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] Php Host
Thanks for your help in finding a server. I decided to go with okihost because of the customer support. Within less than an hour I had my nameservers changed and was up and running. The price is right and I got immediate support. Again, thanks again. Regards, Suzanne Harmon [EMAIL PROTECTED] Ryan Potter wrote: www.okihost.com They answer my questions in minutes not hours and they are cheap. The best customer service I have ever had from any company, not just a hosting company. Hope that helps. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Suzanne Harmon Sent: Tuesday, July 11, 2006 11:39 AM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Php Host I am looking for a good Php host with decent customer support. Anyone have recommendations? Thanks in advance Suzanne ___ 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