RE: [Flashcoders] Vector.map()

2011-08-19 Thread Mendelsohn, Michael
, and h still returns null. - MM -Original Message- From: Kenneth Kawamoto [mailto:kennethkawam...@gmail.com] Sent: Thursday, August 18, 2011 5:15 PM To: Flash Coders List Cc: Mendelsohn, Michael Subject: Re: [Flashcoders] Vector.map() What do you get for h? Kenneth Kawamoto http

RE: [Flashcoders] Vector.map()

2011-08-19 Thread Mendelsohn, Michael
, August 19, 2011 9:14 AM To: Mendelsohn, Michael Cc: kennethkawam...@gmail.com; Flash Coders List Subject: Re: [Flashcoders] Vector.map() private function arrayMapper(item:uint, index:uint, array:Array):uint { return item + 30; } trace([1, 2, 3, 4, 5].map(arrayMapper)); // traces 31,32,33,34,35

RE: [Flashcoders] Vector.map()

2011-08-18 Thread Mendelsohn, Michael
Hi Kenneth... This is working for me: var g:Vector.uint = Vector.uint([1,2,3,4,5]); var h:Vector.uint = g.map(mapper); function mapper(item:uint,ind:uint,g:Vector.uint):void{ trace(g[ind]+30); } Hope that helps, - Michael M. -Original Message- From:

RE: [Flashcoders] contract/FT position (Paris/Europe)

2011-07-22 Thread Mendelsohn, Michael
Hi list... The second line returns an XMLList only if the first line (bug) isn't commented out. If the first line is commented out, the second line returns null. How can it be possible that the second line's result depends on the first line running? Thanks, - Michael M. var bug:XMLList =

[Flashcoders] E4X statement depends on previous line?

2011-07-22 Thread Mendelsohn, Michael
[Sorry for the inaccurate post title!] Hi list... The second line returns an XMLList only if the first line (bug) isn't commented out. If the first line is commented out, the second line returns null. How can it be possible that the second line's result depends on the first line running?

RE: [Flashcoders] contract/FT position (Paris/Europe)

2011-07-22 Thread Mendelsohn, Michael
Perfect answer Eric! :-) I guess it depends if it's Paris or just Europe in general. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] E4X: reading CDATA

2011-06-20 Thread Mendelsohn, Michael
Hi list... I've searched around looking for a way to elegantly extract CDATA out of an xml node, with no luck. I'm left thinking the only way to do it is to read the whole node and use a RegExp to strip the ![CDATA[ and ]] . Does this sound right? Thanks, - Michael M.

RE: [Flashcoders] E4X: reading CDATA

2011-06-20 Thread Mendelsohn, Michael
Well, how about that! var kids = xmlData.children(); // gets me the CDATA content without the ![CDATA[ or ]] var kidscdata:String = kids[0].toString(); I was doing this RegExp, which also worked, but isn't necessary: var altered:String = kidscdata.replace(new RegExp((^\!\[CDATA\[)(.+)(\]\]\),

RE: [Flashcoders] E4X: reading CDATA

2011-06-20 Thread Mendelsohn, Michael
Zeh, et al: sometimes, it just takes what I refer to as a blinding glimpse of the obvious to come up with concise solutions. :-) - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] E4X: reading CDATA

2011-06-20 Thread Mendelsohn, Michael
Jason, couldn't have said it better myself. The RegExp was unnecessary, but at least it worked. The toString() method did fine for my purposes. :-) - MM like going out the front door of a house, walking around to the back and then going in the back door just to get to the kitchen.

RE: [Flashcoders] E4X: reading CDATA

2011-06-20 Thread Mendelsohn, Michael
Sure...the reason is that in all the xml files I'm pulling in, I know the structure, it's the same for all. There's only one item tag in each xml file. So, I don't need an xmllist, given that there's only one item, I can just call toString(). But, I see where you're coming from with an

RE: [Flashcoders] RE: HTMLLoader not loading [SOLVED]

2011-06-15 Thread Mendelsohn, Michael
That was what I was thinking, too, Henrik, but I triple checked the root, and it was clean. It remains a mystery, but at least it works. :-) I think it had something to do with the order of the displayList. - MM I think that this is likely due to the quoted requirements. It can not be

[Flashcoders] HTMLLoader not loading

2011-06-14 Thread Mendelsohn, Michael
Hi list... I'm *desperately* trying to figure out why an AIR project's HTMLLoader won't load any pdfs, just showing blank. Web pages load fine. Based on documented known limitations (below): scaleX, scaleY, and alpha of the HTMLLoader are all 1, and rotation is 0. The window isn't

[Flashcoders] RE: HTMLLoader not loading [SOLVED]

2011-06-14 Thread Mendelsohn, Michael
OK, after two days of total stress, I figured I'd document the solution I just found, for the public good: The HTMLLoader instance gets listener Event.COMPLETE prior to the load() call. // rootReference is my document class, extending Sprite // works:

RE: [Flashcoders] RE: Flash AS editor preferences question

2011-06-03 Thread Mendelsohn, Michael
Thanks for the responses everyone! Anonymous and Consolas both seem to be improvements over Trebuchet. I'll try them. Now Jason... I *am* editing with the Flash IDE. I suppose we need to talk. I may start a new thread soon... - Michael M. ___

[Flashcoders] Flash AS editor preferences question

2011-06-02 Thread Mendelsohn, Michael
Hi all... Here's an odd one: what font do you use in the Actionscript editor window? I use Trebuchet (Windows) because it's narrow enough for the occasional long lines, but I'm trying to find a more ideal one. Sometimes, with single quotes, it's too narrow. I think Courier is too wide.

RE: [Flashcoders] How do I create a CDATA node using AS2?

2011-05-12 Thread Mendelsohn, Michael
Jim, I just did something similar, but in AS3, to insert some CDATA into some preexisting xml. var createCDATA:Function = function(cont:String):XML{ return new XML(![CDATA[ + cont + ]]); } var _item:XML = item{createCDATA(some text based content)}/item; - Michael M.

[Flashcoders] E4X question: finding parent

2011-05-05 Thread Mendelsohn, Michael
Hi list... I'm trying to find some xml's parent attribute. I have pet name=Sugar/ and I want to find B. var pets:XML = pets group=A pet name=Rover/ pet name=Buffy/ /pets pets group=B pet name=Spot/ pet name=Sugar/ /pets; I can't seem to find it. Anyone know

RE: [Flashcoders] E4X question: finding parent

2011-05-05 Thread Mendelsohn, Michael
childnode.parent().@group Thanks, Matt. Well, I'm getting stuck on finding the correct node then. How do I find the node in the xml, given the node I have? var myPet:XML = pet name=Sugar/ I get errors with a statements like these: pets..(pet.toXMLString() == myPet.toXMLString()); pets..(* ==

RE: [Flashcoders] E4X question: finding parent

2011-05-05 Thread Mendelsohn, Michael
Thanks everyone. I don't want to find the pet node by using just @name. I need to match a node in xml.pets, given a full node, like so: xml.pets.(pet.toXMLString() == myPet.toXMLString()); I can't seem to get part that working. I think it should be easy to use parent() once I have that bit,

RE: [Flashcoders] E4X question: finding parent

2011-05-05 Thread Mendelsohn, Michael
Thanks everyone for your responses. The real xml was actually more complicated than what I posted. Is it me? Sometimes it seems that E4X solutions are difficult to figure out. The actual solution in my project is this, where rslt is an XMLList: rslt =

[Flashcoders] quick E4X question

2011-04-22 Thread Mendelsohn, Michael
Hi list... With this xml, given an a node, I want to find its parent t node. // not working var parentT:XMLList = pets..*.(t.contains(acat/a)); thanks, Michael M. pets t n=moe adog/a /t t n=larry asnake/a acat/a /t

[Flashcoders] scrollpane component question: test if content is within view

2011-04-06 Thread Mendelsohn, Michael
Hi list... I'm trying to test if something is within view of the scrollpane component it's sitting in. My logic isn't quite right, and I thought someone might have an opinion. It half works... Thanks! - Michael M. var pt:Point = new Point(objInScrollPane.x, objInScrollPane.y); var

[Flashcoders] Security Sandbox Violation question

2011-04-04 Thread Mendelsohn, Michael
Hi list... I'm building an AIR app that brings in a swf from the user's hard drive. The swf is simply a linear animation with a button to replay the animation on its last frame. The swf plays fine, but when I click the replay button, I get: ** Security Sandbox Violation *** SecurityDomain

[Flashcoders] garbage collecting on ContextMenuItem events

2011-03-18 Thread Mendelsohn, Michael
Hi list... I'm dynamically adding a contextMenu on many sprites, some of which have nested menus (it's AIR). I want to make sure garbage collecting the events with weak references is acceptable for context menus. I almost always explicitly call removeEventListener, but it seems contextMenus

RE: [Flashcoders] Rendering limitation? Bitmap goes poof. -- SOLVED

2011-03-08 Thread Mendelsohn, Michael
OK, I just figured it out and I'm posting if anyone ever has this as an issue. The bitmap that disappeared was masked with a shape, and that's what caused it to not be able to take any further filters. - MM Filters rend to bitmaps. Said bitmaps have maximum sizes. You actually get a trace

[Flashcoders] Rendering limitation? Bitmap goes poof.

2011-03-04 Thread Mendelsohn, Michael
Hi list... I'm wondering if I've encountered a rendering limitation. My stage listens to Event.DEACTIVATE, which blurs and desaturates the whole stage, and Event.ACTIVATE, which restores it. [It's a nifty line of code if anyone's interested in using it.] The stage is 1422 x 800, and there's

[Flashcoders] viewing the stage while debugging

2011-02-28 Thread Mendelsohn, Michael
Hi list... Maybe it's me, but several versions of Flash ago, I could step through debugging while seeing things on the stage. I haven't been able to do that for a few versions now, and it still annoys me. Is there any way to view what's going on on the stage *after* you hit a breakpoint?

RE: [Flashcoders] IE8 not loading flv files SOLVED

2011-02-18 Thread Mendelsohn, Michael
Very large sigh of relief... unescape(pathToflv.flv); did the trick. unescape must be used from a file server. Ugh. Thanks for the responses, - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] IE8 not loading flv files

2011-02-17 Thread Mendelsohn, Michael
Hi list... I vaguely remember seeing some documentation somewhere that IE8 has some sort of path bug which breaks loading an flv. Anyone know anything about this? I'm trying to search around for a solution. Thanks, - Michael M. ___ Flashcoders

RE: [Flashcoders] IE8 not loading flv files

2011-02-17 Thread Mendelsohn, Michael
Very interesting video Cor, and I love the background. The issue is that I've got an FLVPlayback component that I'm pointing to a relative folder. It's not being served out via http:, but rather just is a server path, like so: \\corp\data\office\transfer

RE: [Flashcoders] IE8 not loading flv files

2011-02-17 Thread Mendelsohn, Michael
Well, in publish settings, I set it to network sandbox, but it still doesn't work. I'm tracing if it's an IOError...nope, and I'm tracing if it's a SecurityError...nope again. Stumped beyond stumped, - MM -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

RE: [Flashcoders] IE8 not loading flv files

2011-02-17 Thread Mendelsohn, Michael
...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mendelsohn, Michael Sent: Thursday, February 17, 2011 4:16 PM To: Flash Coders List Subject: RE: [Flashcoders] IE8 not loading flv files Well, in publish settings, I set it to network sandbox, but it still doesn't work

RE: [Flashcoders] IE8 not loading flv files

2011-02-17 Thread Mendelsohn, Michael
: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mendelsohn, Michael Sent: Thursday, February 17, 2011 4:27 PM To: Flash Coders List Subject: RE: [Flashcoders] IE8 not loading flv files In my overly complex environment here at work

[Flashcoders] Warning: Filter will not render.

2011-02-11 Thread Mendelsohn, Michael
Hi list... When I go to print, I get this warning: Warning: Filter will not render. The DisplayObject's filtered dimensions (5624, 3345) are too large to be drawn. It actually traces 4 times, each with different, very large dimensions. I've done some searching and found that it can be

RE: [Flashcoders] Calling an element in an Array as an Class

2011-02-11 Thread Mendelsohn, Michael
Or does anybody know a better method? I recently started using LoaderMax for loading assets. I will never ever look back to manually loading my assets. :-) http://blog.greensock.com/loadermax/ - Michael M. ___ Flashcoders mailing list

RE: [Flashcoders] Re: Distribute some audio classes as SWC?

2011-02-01 Thread Mendelsohn, Michael
Hi Eric... I've been wanting to do that forever with some fonts and a movie clip that I use in everything, maybe even a package I wrote too. What's the workflow? I saw export to swc also. But I'm wondering, what to do after that? Just load it and it's available? I've never made a swc

RE: [Flashcoders] Re: Distribute some audio classes as SWC?

2011-02-01 Thread Mendelsohn, Michael
Yup - just add the SWC to your FLA or project and the classes should be immediately available for your use. That's it? Put the swc in the library??? You just changed my career Eric. if you use flashdevelop, you add the swc to your library and then you can use all it's assets in your code.

RE: [Flashcoders] Re: Distribute some audio classes as SWC?

2011-02-01 Thread Mendelsohn, Michael
Wait -- not so fast. How do you import it? Is it advanced AS3 settings|Library Path, then bring it in there? Clicking OK to that doesn't have the swc appear in the library. Should it be merged into code? - MM ___ Flashcoders mailing list

RE: [Flashcoders] Re: Distribute some audio classes as SWC?

2011-02-01 Thread Mendelsohn, Michael
Thanks Tom. So, am I correct in assuming that bringing in that swc via the IDE preferences bakes the swc into every swf I compile? And if I want to do it on a per project basis, just use publish settings, correct? Thanks again Tom and Eric! - MM

RE: [Flashcoders] Flash fullscreen in a JavaScript app?

2011-01-31 Thread Mendelsohn, Michael
I'm betting that's IE only because of the ActiveXObject. - MM I found this from one of the links. Not sure if its cross-browser or not. May only be IE. Have not tested, but it is Javascript. function fullScreenWindow() { try{ // Get the ActiveX object from the Window var acvxObj= new

RE: [Flashcoders] Flash fullscreen in a JavaScript app?

2011-01-29 Thread Mendelsohn, Michael
Hi Jim... That's really impressive. Very nice work. If I'm understanding your question correctly, you're asking if you can silently trigger Flash to go full screen. The problem is that when you go full screen with Flash, the only thing full screen is the Flash stage, not the browser. For

[Flashcoders] interesting discovery: full screen flash + IM

2011-01-28 Thread Mendelsohn, Michael
Hi list... I just thought I'd share this tidbit: A colleague was testing a Flash piece I did that goes FULL_SCREEN_INTERACTIVE. We were discussing it over IM (Microsoft Office Communicator). We noticed that when he was in full screen mode of the flash presentation, his status dot on IM went

[Flashcoders] E4X question: a dependency?

2011-01-28 Thread Mendelsohn, Michael
Hi list... clickedOne returns an xmlList for me. I can't figure out why, but when I comment out the var c assignment, clickedOne returns null. I don't use var c anywhere except to prevent clickedOne from being null. How can this be possible? Thanks for any replies, - Michael M. var

[Flashcoders] RE: slightly OT: Soundbooth for flv cuepoints

2011-01-20 Thread Mendelsohn, Michael
My experience was that Premiere CS3 did not export the cuepoints with the FLV - that was a bug. I had to use some of the free tools out there like RichFLV to add the cuepoints back into the FLV. Hmm... I was referring to Soundbooth CS3 and Media Encoder CS3. They both exported audio

[Flashcoders] RE: slightly OT: Soundbooth for flv cuepoints

2011-01-20 Thread Mendelsohn, Michael
Sorry to hear that Jason. Curious, how is AE CS5 with flv + cuepoints? -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: Thursday, January 20, 2011 9:44 AM To: Flash Coders List

[Flashcoders] slightly OT: Soundbooth for flv cuepoints

2011-01-19 Thread Mendelsohn, Michael
Hi list... I have an mp3 file I made in Soundbooth, and I gave it some cuepoints, and saved the cuepoints to an xml file. I bring this mp3 into Adobe Media Encoder, along with importing the cuepoint xml file, and export an flv (audio only) for use in Flash. For some reason, the cuepoint data

[Flashcoders] RE: slightly OT: Soundbooth for flv cuepoints

2011-01-19 Thread Mendelsohn, Michael
Folks, never mind. Move along. I found a solution. Export the audio out of Premiere, while importing the cue point xml data into the flv when in Premiere's export media dialog. Sigh. Why oh why does Adobe come up with bugs in newer versions of software where it worked fine in CS3? -

[Flashcoders] test

2011-01-11 Thread Mendelsohn, Michael
Test: is the list alive? - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] test

2011-01-11 Thread Mendelsohn, Michael
OK, I'm convinced. It seems odd that the list has been *that* quiet. Until this thread, I've gotten a grand total of 2 emails since the new year. That's even quieter than Direct-L. - MM ___ Flashcoders mailing list

RE: [Flashcoders] test

2011-01-11 Thread Mendelsohn, Michael
And along the same lines, what's going on with feeds.adobe.com? That's been down for weeks! - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] test

2011-01-11 Thread Mendelsohn, Michael
Good one Kerry! That's because we don't have Flash is dead threads. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...

2010-12-20 Thread Mendelsohn, Michael
I've been going through the exact same horrible situation, and I feel your pain, Tom. My issue seems to have worked itself out as of late. For some insight, check my thread swf not compiling, originating on December 10th. Ultimately, I kept recreating the fla file. Converting it to an xfl

RE: [Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...

2010-12-20 Thread Mendelsohn, Michael
One thing I tried which seemed to work, temporarily anyway, was to save the xfl file from the seemingly corrupt fla file, then open the xfl file and save it as the same name as the fla file. Just make sure to save a copy of that original fla file. Then it seems like you're saving a new fla

[Flashcoders] development strategy for packages with

2010-12-13 Thread Mendelsohn, Michael
Hi list... I'm developing an AIR app that will have a companion online swf. The two pieces share much of the same code to render the UI and its various behaviors. I haven't started building the online swf yet, and I'm approaching the point in the AIR app where I am dealing solely with the

[Flashcoders] swf not compiling

2010-12-10 Thread Mendelsohn, Michael
Hi list... My CS5 fla is not not compiling at all. It publishes a blank stage with no errors. I looked around online for some tips and found Steve Sacks' suggestion about some corrupt library item. I've replaced all existing components with new components and trial and error deleted all the

[Flashcoders] RE: swf not compiling

2010-12-10 Thread Mendelsohn, Michael
Have you tried putting everything in a fresh new .fla? Sometimes .flas get corrupt. And are you using a document class? Hi Jason, thanks for responding. Yes, I'm using a document class. I haven't rebuilt the swf. I will try that. What's strange is that as of 10 minutes ago, it's

[Flashcoders] RE: swf not compiling

2010-12-10 Thread Mendelsohn, Michael
Yes, the document class is still linked. And tracing in the document class did nothing. The fla just flat out doesn't periodically compile. No errors. Nothing. I tried putting a breakpoint on the first line of executable code in the document class, and that didn't do anything either. - MM

[Flashcoders] RE: swf not compiling

2010-12-10 Thread Mendelsohn, Michael
Your best bet might be same project, different .fla (or pure AS3 project in Flashbuilder). If that fails, not sure - re-install Flash Pro? Thanks Jason. For the past three hours, it has been compiling. I'm going to take the keep my fingers crossed approach. If it blows up again, I'll take

[Flashcoders] RE: swf not compiling

2010-12-10 Thread Mendelsohn, Michael
That would be a brilliant suggestion, however, I've never used Flashbuilder/Flex before. My project is mostly purely code, just a few visual assets, but it would probably take me some time to learn my way around the software. :-( But, what you mention below sounds pretty accurate to what I'm

[Flashcoders] RE: swf not compiling

2010-12-10 Thread Mendelsohn, Michael
OK, back to square one. It's not compiling again. No errors. I've rebuilt a new fla from scratch, and brought in all the assets from the other library. Still nothing. This is going to be the death of me. - MM I've never used Flashbuilder/Flex before. My project is mostly purely

[Flashcoders] import fl.events.ComponentEvent crashes compiler?!

2010-12-09 Thread Mendelsohn, Michael
Yes, it's true, and I've narrowed it down to one statement: import fl.events.ComponentEvent; When I include this statement, the swf won't compile. Even after deleting that line of code, Flash won't compile. I have to close the IDE and restart. What could be causing this? I can't imagine

[Flashcoders] E4X strangeness

2010-12-06 Thread Mendelsohn, Michael
Hi list... For some strange reason (and I mean REALLY strange), the second statement below depends on the first statement. As far as I can tell, the two lines have nothing to do with each other. When c runs, clickedOne returns an XMLList. When c is commented out, clickedOne returns null.

RE: [Flashcoders] E4X strangeness

2010-12-06 Thread Mendelsohn, Michael
Hi Henrik... Thanks for responding. What do you mean by decompile the output? How would I do that? - MM I can't see any reason how this should happen. But my gut instinct says that you should decompile the output and see how the generated loops look like.

RE: [Flashcoders] Getting bitmap data after successfully loading a swf file

2010-11-30 Thread Mendelsohn, Michael
Hi list... I want loop through to delete certain nodes, but can't figure out how to do it. I've tried a conventional loop, for...in and for...each...in, and I must be missing something. pack dog id=1/ dog/ dog id=2/ dog/ dog id=3/ /pack I'd like to

[Flashcoders] loop to delete XML nodes WAS: Getting bitmap data after successfully loading a swf file

2010-11-30 Thread Mendelsohn, Michael
Sorry list! I didn't properly title that post! :-( - MM Hi list... I want loop through to delete certain nodes, but can't figure out how to do it. I've tried a conventional loop, for...in and for...each...in, and I must be missing something. pack dog id=1/ dog/

RE: [Flashcoders] E4X filtered statement returns null

2010-11-18 Thread Mendelsohn, Michael
Thanks Gerry and Deepanjan... I found a solution, but I'm completely puzzled why it worked and the obvious E4X statement you both suggested didn't work. I seem to be getting unreliable results. Maybe it's some logic about the statements I am missing. I don't understand why it all can't be

RE: [Flashcoders] E4X filtered statement returns null

2010-11-18 Thread Mendelsohn, Michael
I'm starting to think CS4 E4X could be buggy. Depending on which lines I comment, the statements, unaltered, work or don't work. Anyone have experience with that? - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] E4X filtered statement returns null

2010-11-17 Thread Mendelsohn, Michael
Hi list... I have an E4X statement that breaks when I add a filter to it to get a specific node. I keep getting null when I include hasOwnProperty() to the statement. // I want to get giraffe.ppt or asset title=Presentation fileName=giraffe.ppt/ var topic:XML = topicData[0]; // gets the

RE: [Flashcoders] Isometric Graphics Libraries

2010-09-08 Thread Mendelsohn, Michael
You might want to check the Adobe Exchange. There's probably some free downloads there. Search under Illustrator. - MM -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Tom Gooding Sent: Wednesday,

RE: [Flashcoders] OT: is there a similar list for JavaScript programming?

2010-08-18 Thread Mendelsohn, Michael
How about javascript forum under groups.google.com? - MM Sorry for the off topic message, but can anyone recommend a list similar to this one for JavaScript? Googled but didn't find anything promising. ___ Flashcoders mailing list

[Flashcoders] % glyph not displaying

2010-08-02 Thread Mendelsohn, Michael
Hi list... I've embedded Times New Roman in a swf and I'm populating a TextField via flashvars set in that embedded Times font. The % glyph isn't displaying. No matter what type of entity I include in the flashvar string (\u0025 or 37; or #37;), the percent sign isn't showing up. In Windows

SOLVED: RE: [Flashcoders] % glyph not displaying

2010-08-02 Thread Mendelsohn, Michael
Hi Jason! Thanks for responding, just this moment, I figured it out: The % sign needed to be URL encoded for it to be properly passed through via the flashvars. http://www.kirupa.com/forum/showthread.php?t=328548 - Michael M. How exactly did you embed the font in the .swf and what glyph

[Flashcoders] flashvars - swfObject not working

2010-07-29 Thread Mendelsohn, Michael
Hi list... I'm unable to pass flashvars to a swf via swfObject(2.2). An online search hasn't turned up a solution either. The flashvars are passed via javascript like so: script type=text/javascript var v = {}; v.titleText = XXX Financial and Operational Progress;

RE: [Flashcoders] flashvars - swfObject not working

2010-07-29 Thread Mendelsohn, Michael
That's right Cedric! When am I going to remember that? It's burned me a few times already. Thank you very much for the reminder. - MM -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cedric Muller

RE: [Flashcoders] flashvars - swfObject not working

2010-07-29 Thread Mendelsohn, Michael
Well that's very interesting, Cedric. My shower curtain is the MBTA system in Boston. It isn't Flash related, but it could maybe pass for being similar to the poster I have at work diagramming all the AS3 classes and their relationships. Your bathroom art is probably more colorful. - MM It

[Flashcoders] OT: seeking freelancers...possibly

2010-07-13 Thread Mendelsohn, Michael
Hi list... I've been asked to gather up some freelancer contacts if the need arises within my department, for Flash work. I have a number of projects on the horizon and I'm not sure if I'll be able to build all of them on time. If anyone out there is interested, please point me to some of

RE: [Flashcoders] Job Openings at Bank of America for US/Canada

2010-06-21 Thread Mendelsohn, Michael
I guess I'm golden then. :-) My AS3 is solid, but the world is changing so fast that it's hard to keep up with everything else. True, and Matt's pretty awesome. It is pretty hard to break in some companies without the formal education, but if you're able to pick up on-the-job experience like

RE: [Flashcoders] Job Openings at Bank of America for US/Canada

2010-06-21 Thread Mendelsohn, Michael
Matt and Jason, you guys are great! Great site Matt. I'm a lingo person too, but haven't used it much lately. OK, I feel I'm on the right track. Your story is similar to mine, although I have no SCORM/AICC knowledge. If I get to go to Max this year and you guys are out there, let me know

RE: [Flashcoders] contextMenu getting overridden

2010-06-18 Thread Mendelsohn, Michael
Thanks for the responses. When I debug, I see both contextMenus created correctly. It's just that the child one isn't showing up on the stage. The odd part is that when I comment out the parent contextMenu property, the child contextMenu STILL doesn't show up. Karl: I'm not seeing how

RE: [Flashcoders] Function Doesn't Increment Properly

2010-06-18 Thread Mendelsohn, Michael
Assuming you're using AS3, you might want to rewrite it as such: public function Fire() { mcFlameContainer = new MovieClip(); addChild(mcFlameContainer); var t:Timer = new Timer(15, 10); t.addEventListener(TimerEvent.TIMER, _addNewFlame, 15); } Forget the

RE: [Flashcoders] Function Doesn't Increment Properly

2010-06-18 Thread Mendelsohn, Michael
Hi John... You're listening for TimerEvent.TIMER. when you instance a new Timer, you pass two parameters. First, you pass the time in milliseconds, from your code, it was 15. Then instead of looping through to get 10 instances of the fireball, just run the timer 10 times. That's the second

RE: [Flashcoders] Job Openings at Bank of America for US/Canada

2010-06-18 Thread Mendelsohn, Michael
Hi Jason... I have an OT response to your post. Hope it's ok to respond here like this. For the record, I have a job that I enjoy, and I'm doing AS3 for much of my day. That said, I'm curious about your educational background. You mentioned below these people exist with instructional

RE: [Flashcoders] contextMenu getting overridden

2010-06-18 Thread Mendelsohn, Michael
Thanks Karl. It's an interesting approach. When I read the docs, it didn't seem to be related. Anyway, I'm really stumped on this issue. Thanks for replying, I appreciate it. - MM -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

RE: [Flashcoders] Job Openings at Bank of America for US/Canada

2010-06-18 Thread Mendelsohn, Michael
Thanks Jason! As usual with you, a complete answer. :-) I'm really wanting to get better at what I do. What university in Boston? That's where I call home. - MM One of my co-workers is working on his PhD in the field from a university up in Boston. Several others on my team have

RE: [Flashcoders] contextMenu getting overridden

2010-06-18 Thread Mendelsohn, Michael
No problem, one thought too, do both variables that call the menus (parent and child), are they the same var? this.menu? They're not the same var. Here's the structure: Parent sprite -- contextMenu A - child sprite 1 - child sprite 2 - child sprite 3

[Flashcoders] contextMenu getting overridden

2010-06-17 Thread Mendelsohn, Michael
Hi list... I have a parent sprite with a custom contextMenu defined for it, and within that, there is a child sprite with a custom contextMenu defined for that. The issue is that the child sprite doesn't show its contextMenu. It only shows the parent contextMenu. Anyone know what I'm

[Flashcoders] swfObject, flashVars, loaded swf

2010-05-24 Thread Mendelsohn, Michael
Hi list... I'm having difficulty getting flashvars to work in a swfObject on a web page. I have a swf that loads another swf. I am trying to send some flashvars to the loaded swf but I can't seem to get that wired up. How does a loaded swf access flash vars on the root of the swf that loaded

RE: [Flashcoders] swfObject, flashVars, loaded swf

2010-05-24 Thread Mendelsohn, Michael
Yes, Karim, thanks, that was my problem. I wasn't accessing it from Flash correctly. Regards, - MM how you pass the flash vars to flash depends on the version of SWFObject you are using - however - from flash - you can access the variable like so (as3):

RE: [Flashcoders] tint a movieclip

2010-05-20 Thread Mendelsohn, Michael
Thanks, Juan. What I'm really looking for is how to extract values for redMultiplier, greenMultiplier and blueMultiplier out of a given color hex value, say #336699. - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] tint a movieclip

2010-05-20 Thread Mendelsohn, Michael
Thanks JC, I think that's it! - MM are you looking for something like this: var red:Number = (pColorValue 16) 0xff; var green:Number = (pColorValue 8) 0xff; var blue:Number = (pColorValue ) 0xff; ___ Flashcoders mailing list

[Flashcoders] tint a movieclip

2010-05-19 Thread Mendelsohn, Michael
Hi list... This is probably a bitwise question, which is why I'm posting. I have a grayscale movieclip and I want to give it a particular hue based on a hex value. I don't want it to be tint, where it approaches being a solid color, but rather like watercolors. Additionally, I know that the

[Flashcoders] Flash and audience response

2010-05-18 Thread Mendelsohn, Michael
Hi list... Every so often, I am asked to incorporate using audience response devices to collect data within Flash, if someone is giving a presentation. The product we use to do this is TurningPoint software for PowerPoint, which is sort of a plugin that uses proprietary radio frequency

[Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-11 Thread Mendelsohn, Michael
Hi list... It seems to me that Flash might not be the tool most threatened by HTML5, but rather the PDF format. HTML5 obviously can't replace all of Flash's capabilities. But, it has all of these new tags that enhance the accuracy of describing documents. So, should the Adobe Reader plugin

RE: [Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-11 Thread Mendelsohn, Michael
Thanks everyone for responding. Brian, yes I was thinking along those lines. It just seems to me that as modern browsers zoom in on the whole page by pinching, etc, it means it's more acceptable to use pixels for text fonts, rather than ems or relative sizing. So if documents online can be

RE: [Flashcoders] Apple developing flash-like alternative

2010-05-10 Thread Mendelsohn, Michael
I can understand the Quicktime complaints, but what are the common complaints about iTunes? - MM one of the best comments on digg: [quote] iTunes is just as bad as Outlook when it comes to bloatware. Not to mention a horrible to use piece of software. [/quote] amazingly true

RE: [Flashcoders] Apple developing flash-like alternative

2010-05-09 Thread Mendelsohn, Michael
Well, you have a point Paul. But compare and contrast to Microsoft. Microsoft liked the Flash client too, so they came up with their own. They never went on an insult spree. Apple apparently likes the Flash client too, but they did go on an insult spree. That's underhanded to me, and in my

RE: [Flashcoders] Apple developing flash-like alternative

2010-05-08 Thread Mendelsohn, Michael
I'd rather not go negative, especially on this list which is so valuable to me, but this Flash Alternative news simply disgusts me. It's as underhanded as a business can get. - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] stopping propagation of an event

2010-05-05 Thread Mendelsohn, Michael
Hi list... I have a TextArea component used for inputting text. Also, the stage has a key listener where something happens if the user keys i. The issue arises when the user starts inputting text into the TextArea. If she types i, the stage event fires. I don't want that to happen if the

RE: [Flashcoders] Infinitely Looping Image

2010-04-27 Thread Mendelsohn, Michael
Hi list... I thought I'd share code that generates a sprite displaying neverending cloud movement with bitmap data, using perlin noise. - Michael M. package { import flash.display.Sprite; import flash.display.Bitmap; import flash.display.BitmapData; import

  1   2   3   4   5   >