Re: [Flashcoders] Multilingual apps for Flash with as2

2013-01-25 Thread Alan Shaw
As2 lol On Jan 24, 2013 8:42 PM, "Sumeet Kumar" wrote: > Hi All, > > I am creating a multilingual as2 app and the data for this app will come > from XML. I need to target almost 17 language(including Arabic and urdu). I > have heard that Arabic and urdu are very difficult to implement in flash. >

[Flashcoders] Re: OTish MP3 files for a piano scale

2011-02-08 Thread Alan Neilsen
I have also made a piano keyboard years ago and had the same problem. In the end I found a series of "C" notes from a grand piano and used SoundForge to change the pitch on the notes, thus extrapolating all the notes of the keyboard from those Cs. This message is for the named person’s use only

[Flashcoders] Fwd: Looking for Flash/Web Designer! Great

2010-09-07 Thread Alan Neilsen
This is meant to be a Flash coders list. When did it become a job-seeker site which apparently specializes in underpaid web developer jobs? Most developers I know are very busy people who do not need their time wasted by spurious, inappropriate posts to the list. This message is for the named

[Flashcoders] Re: Re: Producing a random list with no repeats

2010-05-09 Thread Alan Neilsen
Thanks to all the suggestions re my random list problem. Particular thanks to Gerry Beauregard for this suggestion: "It's probably best just to create an Array or Vector containing numbers 1 to 40. (Vectors are only available in AS3, not sure about Array). Shuffle the array, then choose the f

[Flashcoders] Producing a random list with no repeats

2010-05-05 Thread Alan Neilsen
I am working in ActionScript 2. I want to create a quiz in which 10 questions are randomly selected from a block of 40 questions. I found the following code, but I can't work out how to stop it doubling up the questions. function randRange(min:Number, max:Number):Number { var randomNum:Numbe

[Flashcoders] Filter rendering error warning

2010-03-24 Thread Alan Neilsen
wanted effect for my clients. Has anybody seen this sort of thing before, and maybe has a solution to stop this filter rendering error from occurring? Alan Neilsen This message is for the named person’s use only. It may contain confidential, proprietary or legally privileged information. N

[Flashcoders] Re: AS2: blank input text field when clicked

2010-02-15 Thread Alan Neilsen
(enterPage.text<=19) { whichPage = int(enterPage.text); holder_uh.myPageFlipperuh.gotoPage(whichPage); go_btn._visible=false; } } }; Alan Neilsen

[Flashcoders] AS2: blank input text field when clicked

2010-02-10 Thread Alan Neilsen
if (mouseX <= 430) { If (mouseY >= 50) { if (mouseY <= 72) { enterPage.text = ""; } } } } } Alan Neilsen This message is for the named person’s use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or; lo

RE: [Flashcoders] E4X, it's just not my day.

2010-02-05 Thread Alan Watts
Your artistBio closing tag is /artist, making it invalid XML. Hope it helps! Alan OK, why is this happening? var artData:XML = new XML( an artist He sucks She rocks ); var lastName="Agrafiotis"; // undef

[Flashcoders] AS2 SWFs with pageFlipper component

2010-02-04 Thread Alan Neilsen
quent SWF using it is loaded. Can anyone shed any light on why it only works on the first SWF loaded, and what I might do to make it work when subsequent SWFs are loaded? Alan Neilsen This message is for the named person’s use only. It may contain confidential, proprietary or legally privi

[Flashcoders] Why is my HTML file so huge

2009-12-16 Thread Alan Neilsen
seen this sort of thing before, but have no idea what is causing it. Can anybody shed light on this for me? Alan Neilsen This message is for the named person’s use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or; lo

[Flashcoders] Enter key to activate focused button

2009-12-13 Thread Alan Neilsen
ystem only" and do a search for addEventListener I get no results - which seems ludicrous to me. How is it possible that the term addEventListener does not exist anywhere in the Flash Help system? Alan Neilsen This message is for the named person’s use only. It may contain confidential,

[Flashcoders] Why doesn't Enter key work on focused button?

2009-12-10 Thread Alan Neilsen
(pME:MouseEvent):void { first _btn.tabIndex=1; second _btn.tabIndex=2; third _btn.tabIndex=3; } button3_btn.addEventListener(MouseEvent.CLICK, fnClick); Alan Neilsen This message is for the named person’s use only. It may contain confidential

[Flashcoders] getting text from textfile.txt into a dynamic text field

2009-11-23 Thread Alan Neilsen
o then get that text into a dynamic text field. Can anyone please give me a simple example of how to do this. Alan Neilsen This message is for the named person’s use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived

[Flashcoders] Toon Fu!

2009-11-22 Thread Alan Watts
animators. Thanks! Alan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Testing before removing a child

2009-11-18 Thread Alan Neilsen
like that loader_clip.removeChild(ldr); } But when I trace (loader_clip.child) it comes back "undefined" whether the child is still there or not. What can I use to test this so loader_clip.removeChild(ldr); doesn't produce an error if the child has already been removed? Alan Neilsen This

[Flashcoders] loading a SWF to a specified layer

2009-11-12 Thread Alan Neilsen
How can load a SWF into my movie so it does not end up on the very top layer? I am using the following to load the SWF which works, but always puts the loaded SWF on a layer above everything else: // Load SWF for sawn timber intro var urlSawn:String="swfs/sawn_intro.swf"; var urlReqSawn:URLReque

[Flashcoders] RE: Input textfield's Event.CHANGE doesn't fire for backspace?

2009-09-30 Thread Alan Watts
What if you use the KeyboardEvent.KEY_UP event instead? I don't know what you're trying to accomplish, but I've always used the KeyboardEvents for textfield interactions. Alan Hey List, Consider something like this: //inputTextField is multilined

[Flashcoders] RE: Rather urgent advice on how to track the cause of a crash

2009-09-05 Thread Alan Watts
fdb? http://livedocs.adobe.com/flex/3/html/help.html?content=debugging_03.html It's a good way to trackdown elusive bugs. Hopefully you can recreate the error though, because you'd be the only one who can do the inspection. Alan On Sep 5, 2009, at 11:00 AM, flashc

[Flashcoders] Security.showSettings() freak-out

2009-09-02 Thread Alan Watts
atest flex_sdk to make sure I'm all up to date. Viewing on OSX 10.5.7 + FP 10,0,22,87. Anyone have this issue before? Thanks, Alan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Security.showSettings() freak-out : solved

2009-09-02 Thread Alan Watts
It turns out that setting a low '-default-script-limits' in mxmlc was causing the freaking out. Strange. Alan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Slow emails

2009-08-16 Thread Alan
I think the current Mailman configuration works well, although it would be nice if the web archives worked. There's so much helpful information coming through this list, but they end in late 2007. Alan If the consensus is that we should move over there, I'm willing to go ah

[Flashcoders] Getting hypertext to work

2009-07-13 Thread Alan Neilsen
When I use 'Options' in 'Properties' to apply a link to text in my Flash movie (CS4), it works okay when I test the movie, but when I create the SWF and try the same thing, it tells me, "Adobe Flash player has stopped a potentially unsafe operation." This seems strange, because hypertext created

[Flashcoders] Re: Flash CS4 very slow

2009-06-11 Thread Alan Neilsen
Thanks Patrick Matte Installing the Flash CS4 update from http://www.adobe.com/support/flash/downloads.html has fixed the problem I had with Flash CS4 running slowly (and a few other thing). I recommend all Flash CS4 users do themselves a big favour and install this update. Alan Neilsen This

[Flashcoders] Flash CS4 very slow

2009-06-09 Thread Alan Neilsen
anything - it just locks up for those seconds. 4 or 5 seconds does not sound much, but when it happens again and again and again day after day it really slows my work down. Alan Neilsen This message is for the named person’s use only. It may contain confidential, proprietary or legally privileged

[Flashcoders] Re: Dynamic fonts and Tweens

2009-06-05 Thread Alan
John, I just ran into this issue yesterday. You need to set the blendMode on the textfield so it will force the player to render system fonts to its own layer: textField.blendMode = BlendMode.LAYER; Alan Howdy all, Does anyone know of a solution to doing an alpha Tween on a

[Flashcoders] DisplayObject's filtered dimensions too large to be drawn

2009-05-25 Thread Alan Neilsen
Can anybody tell me what might cause this, "Warning: Filter will not render. The DisplayObject's filtered dimensions (4365, 240) are too large to be drawn." There is nothing in my project with dimensions anywhere near that, so I am at a loss as to what it means. Alan Neilsen

Re: [Flashcoders] Flash Player 10 code in SWC

2009-05-08 Thread Alan Shaw
Thanks, Gerry! I've been wanting to know how to do that! -A On Fri, May 8, 2009 at 2:36 AM, Gerry Beauregard wrote: > Just want to share some things I've learned while using Flex Builder 3 to > create Flash Player 10 dependent code... > > If you're using Flex Builder 3, and you want to use a Fl

Re: [Flashcoders] AS3 examples of amoeba or microbes

2009-03-23 Thread Alan Shaw
Check this out: http://www.nicoptere.net/blog/index.php/2008/10/13/51-bacteria-generator-actionscript-flash On Sun, Mar 22, 2009 at 11:11 PM, Anthony Pace wrote: > I am looking for some really good examples of amoeba or microbe simulations > done in as3 > > I know that it is probably just done us

Re: [Flashcoders] Using an accessor for a singleton instance

2009-01-21 Thread Alan Shaw
I actually prefer your usage. The reason not to use it would be that 'everybody' expects to use getInstance(). -A On Wed, Jan 21, 2009 at 10:35 AM, allandt bik-elliott (thefieldcomic.com) < alla...@gmail.com> wrote: > Does anyone know of any reason not to use an accessor in my singleton > inst

[Flashcoders] RE: Flashcoders Digest, Vol 16, Issue 1

2009-01-01 Thread alan skinner
I guess its the equivalent of working in London! (UK) and wouldnt apply to towns outside of the big cities just caught me of guard you could say! i just thouht it was freelancers who earned that kind of dough. a > Not really. That's far less than I work for.> > alan

[Flashcoders] RE: Interactive Developer, NYC | 90-100k (Beau Gould (OSS))

2009-01-01 Thread alan skinner
Surely thats not the going rate for a flash developer in the US? Thats an obscene amount of money ;o) _ It’s the same Hotmail®. If by “same” you mean up to 70% faster. http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_hotm

[Flashcoders] Re: Re: Passing text between SWFs

2008-10-27 Thread Alan Neilsen
public function completeHandler1(event:Event):void { MovieClip(event.currentTarget)._parent = this; trace(_parent.ldr1); } } Alan Neilsen This message is for the named person’s use only. It may contain confidential,

[Flashcoders] Re: Re: Passing text between SWFs

2008-10-23 Thread Alan Neilsen
ork this out, and to be honest, Flash help is less than useless unless you have been doing OO programming for years. It does not contain decent examples of everything one needs to do to get stuff to work. Cheers Alan Hi Alan. In the same class / at the same position where you load your ch

[Flashcoders] Passing text between SWFs

2008-10-22 Thread Alan Neilsen
ed to follow to pass user input text from one SWF to another. Alan Neilsen This message is for the named person’s use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or; lost by any mistransmission. If you receive this m

[Flashcoders] stage.addChild update problem (AS3)

2008-10-19 Thread Alan
nsight into why it's acting funky? I've tried stripping things down to a minimum yet it still behaves this way. Is there another way to force a redraw of a displaycontainer? Thanks! Alan ___ Flashcoders mailing list Flashcoders@c

[Flashcoders] Accessing text between SWFs

2008-10-15 Thread Alan Neilsen
xt entered in the first SWF (e.g. Fred Smith) to be accessible by the second SWF (rte2124b_topic1.swf)? I want the print-outs from the second SWF to start with "This activity was completed by User Name (e.g. Fred Smith)". Alan Neilsen This message is for the named person’s use

Re: [Flashcoders] command-line AS3 execution?

2008-09-22 Thread Alan
s impossible since a runtime environment (the plugin) is needed to run a swf but I'm hoping there's some bizarre workaround. Probably wishful thinking... ? Alan Flash uses the mxml compiler which is part of the Flex SDK. As long as you are not importing classes specific to the IDE, th

[Flashcoders] command-line AS3 execution?

2008-09-22 Thread Alan
m the command-line without having some sort of browser? Thanks, Alan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Making dynamic text look the same as static text

2008-09-18 Thread Alan Neilsen
properties for that dynamic text field. Can anyone advise how I make those properties work for a dynamic text field? Alan Neilsen E-delivery Resources Developer Goulburn Ovens Institute of TAFE Wallis Street Seymour, Vic. 3660 Phone: 0357352466 Mobile: 0437355688 * Please consider the environment

[Flashcoders] Re: Re: huge html file (Glen Pike)

2008-07-31 Thread Alan Neilsen
has a tag $MT which will be replaced by all the text in the Movie) Alan Neilsen E-delivery Resources Developer Goulburn Ovens Institute of TAFE Wallis Street Seymour, Vic. 3660 Phone: 0357352466 Mobile: 0437355688 * Please consider the environment when deciding whether or not to print this emai

[Flashcoders] huge html file

2008-07-30 Thread Alan Neilsen
I am revisiting a fla I worked on a couple of years ago (Flash 8) and have upgraded it and saved and published it in Flash CS3. For some reason I end up with a html file that is 2MB which is full of paragraph text from the swf, with each paragraph repeated in the html file 120 times. What am I d

[Flashcoders] OT: Questions to ask an interviewee

2008-07-30 Thread alan skinner
So i just found out i've to interview an AS guy tomorrow, anybody have any good questions that i should be asking? Cheers _ Stay in touch when you're away with Windows Live Messenger. http://www.windowslive.com/messenger/overview.

[Flashcoders] renaming a key/property in AS3

2008-07-29 Thread Alan
then deletes the old one? Thanks, Alan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Re: Adding n days to dateField.selectedDate

2008-04-14 Thread Alan Neilsen
Thanks Gabino, Matthew & Michael Can anyone tell me why the following isn't working. I get an error that there is no property with the name 'time' referring to 'd.time+=(8640*283). var d:Date=new Date(2008,3,14); d.time+=(8640*283); // 283 days, in milliseconds trace(d.getFullYear()+"/

[Flashcoders] Adding n days to dateField.selectedDate

2008-04-13 Thread Alan Neilsen
I am building a cattle birthing calculator. Can anyone help me with the code to add a certain number of days (usually around 283) to the output of a dateField.selectedDate (breeding date) so the result can be put into a string and output to a text field such as, "The estimated birthing date is 7

Re: [Flashcoders] Dynamic class instantiation

2008-04-04 Thread Alan MacDougall
Here is the class I use for dynamic instantiation. Note that it throws a custom exception type, you'll have to create that type yourself or alter that line of code. I copied the instantiation technique from Drew Cummins at blog.generalrelativity.org. class com.phoenixgp.common.utils.ClassLoade

Re: [Flashcoders] books for flash programming

2008-04-01 Thread Alan MacDougall
On 3/24/08, Naveen Bhaskar <[EMAIL PROTECTED]> wrote: Hi, I am a flash designer and I am in intermediate in programming.(AS2). anybody pls tellme what are the good books I can refer. And remember, just learning Actionscript in particular will not teach you programming in general. J

[Flashcoders] [cross-post] Expert contractor needed, green-field project, telecommuting, not a headhunter

2008-02-20 Thread Alan MacDougall
27;d be keeping in touch via email, IM, and phone, and performing regular checkins to our source control system for code reviews. Please respond to [EMAIL PROTECTED] Thank you! Alan MacDougall The Phoenix Group ___ Flashcoders mailing list Flashcoders@cha

[Flashcoders] static vs singleton

2007-09-14 Thread Alan Watts
is is an obvious memory problem. But it seems more logical than doing: new myFile(); myFile.getInstance().setFilename()... etc. Thanks! Alan ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Re: Parse/ Create swf via Actionscript 3.0

2007-08-31 Thread Alan Watts
I was going to start this a few months ago and then found some perl modules that do it: http://search.cpan.org/search?query=swf&mode=all My project is more suited for server-side swf generation, but these could be ported to as3 fairly easily. hope it helps, Alan Curious if anybody k

Re: [Flashcoders] DropShadowFilter rendering issue: SOLVED

2007-08-24 Thread Alan MacDougall
Muzak wrote: AFAIK, both are "between 0 and 1". The default value for strength = 1, meaning 100% strength. If strength would take a value between 0 and 255 a default of 1 would make no sense at all (well at least not to me). Well, the docs are correct: you can set absurd strength values bec

Re: [Flashcoders] DropShadowFilter rendering issue: SOLVED

2007-08-24 Thread Alan MacDougall
Hal Leonard wrote: Yeah in CS3 that's the case - regardless of whether you are using AS2 or AS3. But to my knowledge, in Flash 8, it is still 0 to 100. No, that was the problem: In the Flash 8 authoring environment, you set a 0-100 percentage. But in Actionscript 2.0, the DropShadowFilter.

Re: [Flashcoders] DropShadowFilter rendering issue: SOLVED

2007-08-24 Thread Alan MacDougall
Alan MacDougall wrote: After I create a clip with attachMovieClip, I attempt to write a DropShadowFilter to it using the following code: var shadow:DropShadowFilter = new DropShadowFilter( 5,// distance 45,// angle 0x66

[Flashcoders] DropShadowFilter rendering issue

2007-08-24 Thread Alan MacDougall
After I create a clip with attachMovieClip, I attempt to write a DropShadowFilter to it using the following code: var shadow:DropShadowFilter = new DropShadowFilter( 5,// distance 45,// angle 0x66,// color

Re: [Flashcoders] Big size Image and Thumbnail

2007-08-23 Thread Alan MacDougall
julian atienza wrote: but i'm not sure if it's going ok... at least now i haven't to make another load but... i think the thumbnail is scaling the portion of big image i see in screen, not the whole image... That might be a limitation of Flash. I'm not sure what happens when MovieClips and

Re: [Flashcoders] long dash

2007-08-23 Thread Alan MacDougall
natalia Vikhtinskaya wrote: Hi I thought it simple but that does not work.I am trying to show long dash c="a — b" txt.html=true; txt.htmlText=c; But that does not work. What am I doing wrong? Thanks in advance Flash actually only displays a few HTML entities: < > " & (I think) and one other

Re: [Flashcoders] Big size Image and Thumbnail

2007-08-23 Thread Alan MacDougall
julian atienza wrote: Image is 72Mb. This is your first problem. I can't think of a single reason you would have to load a 72 MB image into Flash. Could you tell us a little more about your application? ___ Flashcoders@chattyfig.figleaf.com To

Re: [Flashcoders] Big size Image and Thumbnail

2007-08-23 Thread Alan MacDougall
Dave Mennenoh wrote: To avoid loading twice times the image (first in 100% and second in "thumbnail" navigation image) ... how could i copy content of first movieclip to second one with fixed size? You can't really, but since the image is cached once it's downloaded the first time, loading it

Re: [Flashcoders] Big size Image and Thumbnail

2007-08-23 Thread Alan MacDougall
julian atienza wrote: To avoid loading twice times the image (first in 100% and second in "thumbnail" navigation image) ... how could i copy content of first movieclip to second one with fixed size I did something similar to this while trying to implement my own Bitmap-based magnifying glass (fo

Re: [Flashcoders] "This is not Java": property accessors

2007-08-22 Thread Alan MacDougall
And another point: Suppose you start out making something as a public field and then later realize you need to restrict its value in some way. With properties, this change will make absolutely no difference to the rest of your code. Without properties, you will have to change every instance of "

[Flashcoders] "This is not Java": property accessors

2007-08-22 Thread Alan MacDougall
Further derail! What are people's thoughts on implicit vs. explicit accessors? I prefer explicit ones, but I confess that it's almost entirely because I learned Java before Actionscript. You can't argue that explicit setters are required for a "serious" language, because C# prefers implicit set

Re: [Flashcoders] Intro to OOP using ActionScript: patterns derail!

2007-08-21 Thread Alan MacDougall
Dave Mennenoh wrote: Lots of programmers never need design patterns as they don't help much unless your architecting large apps, and lots of Flash programmers aren't developing those kinds of apps. Keeping your code organized however should be taught from day one and certain oop concepts are

Re: [Flashcoders] save swf

2007-08-21 Thread Alan MacDougall
Jer Brand wrote: Uncompressed, yeah, that'd be ugly. But how does something like the following (guesswork code) perform? foo:BitmapData = new BitmapData() ; /* put your image data in there, with whatever method */ bar:ByteArray = foo.getPixels(myImageRect) ; var.compress() ; Again, mostly aski

Re: [Flashcoders] Intro to OOP using ActionScript

2007-08-21 Thread Alan MacDougall
I don't think you need to call it procedural. Just call it the basic building blocks that they will need for OOP (or procedural, for that matter). There's not that much difference, really, between OOP and procedural. OOP just encapsulates chunks of procedural code and its data. This is the corre

Re: [Flashcoders] Intro to OOP using ActionScript

2007-08-21 Thread Alan MacDougall
Start small and work your way up. You don't need classes until the functions start to get unmanageable. That won't happen until you've thoroughly covered variables and control structures. By the time classes are necessary, the students should be relieved to have a way to organize their forest o

Re: [Flashcoders] save swf

2007-08-21 Thread Alan MacDougall
Jer Brand wrote: Coming from someone who's never done this, and doesn't know if it's possible, but: Would it be possible to capture your user created design in BitmapData (I was fairly sure there's a method to extract pixel info from a MovieClip, correct?) then transmit that back to the server a

Re: [Flashcoders] save swf

2007-08-20 Thread Alan MacDougall
bassam mohaisen wrote: Hi all I'm trying to do e-tshirt design where the user can desgin his shirt and add text or images so I need to know how can I save the design as image or swf for the design how can I take screenshot , if somebody know the concept and the code . all the text and photos w

Re: [Flashcoders] [OT] Improve my design skills

2007-08-17 Thread Alan MacDougall
Ron Wheeler wrote: One of the best books is Head First Design Patterns. Really nice code. Well explained and shows how to get a lot of mileage out of code through thoughtful design. It will make you a better coder and get you thinking about design in new ways. He was talking about graphic desig

Re: [Flashcoders] [OT] Improve my design skills

2007-08-17 Thread Alan MacDougall
Marcelo de Moraes Serpa wrote: Hello folks, I'm currently mainly a coder, but I also love graphics design and design in general. I would love to improve my overall design awareness. Does anyone have any book (or any other resource such as website, magazine, mailing list, whatever) to recommend ?

Re: [Flashcoders] AS 2.0 constructor inheritance

2007-08-14 Thread Alan MacDougall
Hans Wichman wrote: Hi, when the superclass has a default contructor without parameters, there is no need to call it explicitly. I'd like to turn it around though, no matter what or how you have defined them, always call them explicitly for clarity's sake and self documentation. So if the sup

[Flashcoders] AS 2.0 constructor inheritance

2007-08-14 Thread Alan MacDougall
Compare these two situations: class SuperClass { private var list:Array; public function SuperClass() { list = new Array(); } } class SubClass extends SuperClass { // when instantiated, the list variable is automatically initialized } This is as it should be. The superc

Re: [Flashcoders] Q: Including class at compile w/o explicitly instantiating it

2007-08-13 Thread Alan MacDougall
Steven Sacks wrote: If you do not do anything with an imported class, Flash will not compile it. Or, to take it a step further, make a class named ClassRegistry (or some such), which defines but does not instantiate private static instances of every class you want to load dynamically. Then ju

Re: [Flashcoders] Preloading problem

2007-08-08 Thread Alan MacDougall
Omar Fouad wrote: is there a way attach a library item from a loaded swf. I think this would be the best solution... This suggestion hits close to the correct answer. Really, if your library is so big that it's killing your app's startup time, your wisest option is to load the items on dema

Re: [Flashcoders] Lines in textArea

2007-08-06 Thread Alan MacDougall
Volker Scarpatetti - Advertis Interactiva wrote: Hi ! Is there a way to know how many lines are written in a textArea component when filling it up dynamically ? This is not a perfect solution, but if you know the TextField.textHeight when there is a single line, you should be able to do a

[Flashcoders] Re: Copying an embedded sprite

2007-08-05 Thread Alan Watts
mx.core::BitmapAsset") { returnBitmap = new assetClass(); } return(returnBitmap); } Hope it helps, Alan ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chat

Re: [Flashcoders] [FP8, AS2] Rules of thumb: Coding tips?

2007-07-29 Thread Alan MacDougall
Micky Hulse wrote: Pedro Taranto wrote: if you want to return diferent types in one function you dont specify any return data type Ah, sounds good to me. I was not sure if it was bad practice to not specify a type. Well, if you want to write strictly, and if you're interested in exactly wh

Re: [Flashcoders] Flash Debugger's not up to it.

2007-07-27 Thread Alan MacDougall
John McCormack wrote: Consider a Point variable pt:Point(100,200). This generates calls to x() and y() as expected. But the debugger intialisation of pt causes an uneccessary call to pt.length() and this inappropriately reset the variable Changed. Why are getters and setters called uneccessar

Re: [Flashcoders] Searching within XML

2007-07-25 Thread Alan MacDougall
Omar Fouad wrote: com.xfactorstudio.xml.xpath??? where can i get it??? Well, XPath is just one way of searching through an XML document to get specific nodes. As you might guess from the package name, this particular implementation can be found at www.xfactorstudio.com . You can learn more ab

[Flashcoders] RESOLVED: Flash 8 exception handling

2007-07-25 Thread Alan MacDougall
Alan MacDougall wrote: This looks completely straightforward and identical to Java... but when I do it, it catches the generic error. Now, obviously an Error instance is getting caught, which means one is getting thrown, which means my InvalidPathFormatException IS being recognized as a

Re: [Flashcoders] Searching within XML

2007-07-25 Thread Alan MacDougall
Omar Fouad wrote: I am doing some application on flash that uses an XML file to store data... This application has a search form. I understand how to get through the xml by loops but i can't figure out how to get flash to know if this "word" is included within the xml nodes or not... Any simpl

[Flashcoders] Flash 8 exception handling

2007-07-24 Thread Alan MacDougall
Okay, here's one for you. I extended Error with a very simple specific error type, like this: class com.mycompany.exceptions.InvalidPathFormatException extends Error { public function InvalidPathFormatException(message:String) { if (message != null) { this.message = me

Re: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread Alan MacDougall
Chris W. Paterson wrote: this.firstChild.childNodes[i].firstChild.childNodes[j].childNodes;--- this is how I am trying to access the content of that node. First off, I'm guessing I should use .nodeValue? Will that give me the entire node with ""? Is it even possible to read the html value fo

Re: [Flashcoders] swf obfuscation - new challenge

2007-07-23 Thread Alan MacDougall
Danny Kodicek wrote: The only method I can think of that might do what you're looking for is to have some of the actual code work on the server. So for example you'd do something that has a fundamental effect in the game, but you make its code run on your server instead of on the client and just

[Flashcoders] obfuscation swf, and client demands

2007-07-18 Thread Alan MacDougall
There's a constant demand for SWF obfuscation -- any good application, especially things like standalone games, is a ripe target for theft and rebranding. *cough ebaumsworld cough* And business clients are often afraid of plagiarism by real or imagined rivals: if they didn't want to be the firs

[Flashcoders] AS 2.0 Tweening libraries

2007-07-18 Thread Alan MacDougall
So, coming off the enterFrame() tween discussion, a lot of people mentioned various tweening libraries. I still use Fuse, which has proven extremely capable for my purposes; are there any pressing flaws in Fuse, or benefits in the other packages, that might convince me to change? _

Re: [Flashcoders] Using createEmptyMovieClip to create MovieClips within MovieClips

2007-07-17 Thread Alan MacDougall
2007/7/16, John laPlante <[EMAIL PROTECTED]>: > I'm writing a component and have created a MovieClip with > createEmptyMovieClip. When I try to create sub-MovieClip inside the > first MC with createEmptyMovieClip, it is undefined. This must be a > basic Flash thing. I haven't used createEmptyMov

flashcoders@chattyfig.figleaf.com

2007-07-17 Thread Alan MacDougall
Van Tuck wrote: List -> A client is inquiring about a web-based system that would allow the user to type in a question, have the algorithm compare the input character-by-character to a predefined list of answers until all but one answer had been removed and the correct answer returned. Basi

Re: [Flashcoders] Local Connection / Intel Mac bug??

2007-05-18 Thread Alan Queen
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] Flex Gig

2007-02-03 Thread Alan Ruthazer
We have a very interesting project coming up where we'd like to bring in a Flex developer to work a day or two per week on site and a day or two per week wherever you work best (home, our office, your garage, etc... sorry Tahiti's not an option.) Essentially we would be looking for a fair amount of

[Flashcoders] NYC Flash Developer needed

2007-01-31 Thread Alan Ruthazer
~o ~o ~o ~o ~o ~o ~o ~o Looking to get support from a full time or contract Flash developer who is ideally located in or near New York City. We are an award winning interactive development shop with an amazing team of talent and some very interesting projects on the horizon. We are look

[Flashcoders] JOB: drag and drop product designer app

2007-01-04 Thread Alan Watts
are complete, so if you're interested, send me an email with links to your work and what-not and we can discuss the details. thanks! Alan ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] mouseup outside the browser?

2006-12-16 Thread Alan Watts
hi all, Is there a way to detect a mouseup outside the browser window in AS3? Or are mouse events trapped to the stage? thanks! Alan ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http

[Flashcoders] Re: Good External Actionscript Editor for Mac?

2006-12-13 Thread Alan Watts
I use BBEdit along with a custom Applescript to compile my AS3 with mxmlc and then view the resulting build (if successful) in Firefox. In BBEdit, I set up Apple-Return to run the script so it's just like using the Flash IDE (but better). Alan On Dec 13, 2006, at 1:22 PM, flashc

Re: [Flashcoders] displaying < in html text field

2006-11-15 Thread Alan Queen
[EMAIL PROTECTED]> wrote: You need to use : var text:String = '1 < 2' this.tfTest.htmlText = text; < stands for < > stands for > Alan Queen wrote: I have a textfield with html turned on. There is a case where I need to actually show a less than (<) sign in

[Flashcoders] displaying < in html text field

2006-11-14 Thread Alan Queen
xt; this will only display "1" -- - Alan Queen ___ 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 Premie

[Flashcoders] Ineractive Developer Needed

2006-10-03 Thread Alan Ruthazer
opportunity to completely blow out some great work. You can check out some of our recent work at www.siite.com. Thanks for your consideration and I hope to chat at some point soon. Kind regards, - Alan P.S. If this is the wrong forum to be recruiting I apologize. -

[Flashcoders] Prevent loaded clip from calling Stage.addListener?

2006-09-25 Thread Alan Queen
I'm loading an external swf at runtime from a different domain, and the loaded swf is doing some resizing when the Stage is resized.. I'm trying to prevent the loaded swf from doing this... is there a way? -- - Alan Queen ___ F

Re: [Flashcoders] Back button fun

2006-07-25 Thread Alan Shaw
I'm also going to work on this capability soon, and my search led to: http://chakramedia.com/deeplink-backbutton/index.html -A On 7/25/06, Radley Marx <[EMAIL PROTECTED]> wrote: I've found a couple of sites that seem to work: http://www.orange-project.com/ http://www.redb

Re: [Flashcoders] AS3, BitmapData and domain security

2006-07-23 Thread Alan Watts
something similar in Director a few years ago and ended up having to rename my php script to proxy.jpg and editing my .htaccess file for that directory to execute a .jpg as a php script (using AddHandler, IIRC). Perhaps this is Flash's issue a

  1   2   >