[Flashcoders] E4X question

2010-02-03 Thread Mendelsohn, Michael
Hi list... I can't seem to get the right E4X statement. I'm trying to get an XMLList of all the p tags that have an s tag that is a certain string. I've tried all sorts of combinations, thinking this one would work, but it doesn't: // where animal is passed "dog" var list:XMLList = XMLList(all.

RE: [Flashcoders] E4X question

2010-02-03 Thread Mendelsohn, Michael
Thanks for the responses... Jason: You're right...as always! :-) Having s as an attribute will make my life easier. I was trying to do it with a tag though, because I was trying to have really clean xml, everything as tags, no attributes. My train of thought is that actually, the p tags are a

RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-03 Thread Mendelsohn, Michael
> adobe i hope your going to pack some punches. They better, and I'm fairly confident they will react appropriately. Apple doesn't have a monopoly on anything. - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.fig

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

2010-02-03 Thread Mendelsohn, Michael
Ugh! What am I missing here? //XML: var artData:XML = A longtime resident of Southern Maine, Peter Agrafiotis has always been fascinated with the timelessness of nature ; var lastName = "Agrafiotis"; var artistBio:XMLList = artData.bios.artist.(@s==lastName); // artistBio returns

RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Mendelsohn, Michael
What's everyone's take on a possible Google tablet running on Android? Of course, with the Flash Player that Adobe is building for Android. I saw a mockup yesterday, I believe on cnn.com. Say that has Flash on it, why bother with an iPad, except to feel more sophisticated or something. - MM

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

2010-02-05 Thread Mendelsohn, Michael
OK, why is this happening? var artData:XML = new XML( an artist He sucks She rocks ); var lastName="Agrafiotis"; // undefined var a = artData.bios.artistBio.(@s==lastName); // correctly finds the Peter Agrafiotis node var b =

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

2010-02-05 Thread Mendelsohn, Michael
Sorry folks, that was a typo in the post. In my Flash file, it is indeed correctly formed XML. var e = artData.bios.artistBio.(@s==lastName); var d = artData.bios.*.(@s==lastName); There is something definitely weird going on in my code, because this is a simple E4X statement. Seriously, sho

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

2010-02-05 Thread Mendelsohn, Michael
Thanks Jason. I am suspecting there's something weird about my Flash file, and I can't pinpoint exactly what it is. These are simple E4X statements. Thanks everyone for replying. I appreciate it. - MM ___ Flashcoders mailing list Flashcoders@chat

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

2010-02-07 Thread Mendelsohn, Michael
Thanks for still thinking about this over the weekend Jason. :-) I've also been thinking about the aso files. I deleted them and it didn't make much difference. I seem to have a bigger problem now: I have a mysterious hs_err_pid12334.log file that's been created next to my flp. I've never s

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

2010-02-08 Thread Mendelsohn, Michael
Thanks Dave. I'm using Flash. Any suggestions for that? - MM > If you're using Flex Builder, Flex Builder is an Eclipse plugin; Eclipse is a Java application, and you can get HotSpot errors like the one in your log file. You might try upgrading the JVM you're using with Flex Builder, or editing

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

2010-02-08 Thread Mendelsohn, Michael
Ugh. > Uninstall/re-install Flash player 10 Debugger? I dunno. If all else fails, re-install Flash? Actually, it's working now. I think it might be a monitor issue, of all things. Two different monitors, one at home and one at work. I'm on the good one now. I wonder if that could throw

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

2010-02-17 Thread Mendelsohn, Michael
Hi list... Why can't I get to the node I want to here: blah blah more blah blah var artData:XML represents the above correctly. var lastName:String = "Pentak"; var firstName:String = "Stephen"; // successfully lists out all the tags var all

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

2010-02-18 Thread Mendelsohn, Michael
Thanks for the replies, everyone. I really have no idea how the solutions that everyone has responded with have worked when testing on your machine, but not here. It's odd. The statement isn't anything complicated. I ended up using a for loop to iterate through and find the node I need. Th

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

2010-02-18 Thread Mendelsohn, Michael
> just curious. That's just my coding style, nothing more. Every line of E4X I've written within this flp has acted funny. I just don't get it, because I've written other more complex E4X statements, even with RegEx involved, that haven't given my any issues. It's almost like it's the parser

[Flashcoders] RE: AS 3: Pie Chart

2010-02-19 Thread Mendelsohn, Michael
I just recently did that about 2 months ago. But if I recall correctly, I believe I had to adapt it to AS3. http://www.flash-creations.com/notes/sample_piechart.php - Michael M. > Anyone know of a good tutorial on creating pie charts with data via xml? ___

[Flashcoders] corporate history timeline examples

2010-02-25 Thread Mendelsohn, Michael
Hi all... Can anyone suggest some really cool Flash timeline examples showing a history of something like a business? I'm looking for some dazzling examples to share with others in my company. We're in the conceptual stages. Here are a few... http://www.ge.com/innovation/timeline/index.html h

RE: [Flashcoders] corporate history timeline examples

2010-02-25 Thread Mendelsohn, Michael
Thanks for the timeline examples everyone! Much appreciated. - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] corporate history timeline examples

2010-02-26 Thread Mendelsohn, Michael
Yes, I saw that one Tom. It is very nicely designed and I can see how it was successful, but behavior-wise, it does feel a bit dated now. Thanks! - MM > one that i remember from um years and years ago is the motown one. probably not all that amazing now but was probably one of the first and d

RE: [Flashcoders] how to reduce CPU usage

2010-03-03 Thread Mendelsohn, Michael
Hi Andrew... Even though you said it might not be the renderer, I wonder if you set the stage quality to medium, that might make a difference, as the anti-aliasing is processor intensive. If that degrades the text of your textfields, you could see how the fields appear using device fonts. Jus

[Flashcoders] RE: addChildAt

2010-03-05 Thread Mendelsohn, Michael
On occasion, I've had to write code like this: parentSprite["addChildAt"](childSprite,6); - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] ternary operator with function.call?

2010-03-09 Thread Mendelsohn, Michael
Hi list... Can something like this be done? Just curious... - MM function traceNum(i:int):void{ trace(i); } function traceString(a:String):void{ trace(a); } var s:String = "hi"; (s!="")?traceString.call("yes"):traceNum.call(44);

RE: [Flashcoders] RegExp

2010-03-12 Thread Mendelsohn, Michael
Here's a great RegEx resource: http://gskinner.com/RegExr/ - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Embedding fonts CS3 vs FD

2010-03-17 Thread Mendelsohn, Michael
Silly question: shouldn't they be backslashes to get to the correct path? - MM [Embed(source='C:/WINDOWS/Fonts/ARIAL.TTF', fontName='_Arial', unicodeRange='U+05B0-U+05FF')]//,U+FB1D-U+FB4F,U+2000-U+206F,U+20A0-U+20CF,U+2100-U+2183)] ___ Flash

[Flashcoders] bubbling listening

2010-03-17 Thread Mendelsohn, Michael
Hi list... I have a singleton that contains an instance of an EventDispatcher. The EventDispatcher contains an instance of a sprite. I want that sprite to dispatch a custom event that is listened to by the singleton, but I can't seem to make it happen, even by saying bubbles = true. I could h

RE: [Flashcoders] bubbling listening

2010-03-17 Thread Mendelsohn, Michael
Hi Jason, thanks for responding! > Make sense? Almost. :-) > What do you mean "The EventDispatcher contains an instance of a sprite." The EventDispatcher has a private var that's a reference to a custom class that extends Sprite. The Event Dispatcher is instanced in the singleton, it's not on

RE: [Flashcoders] bubbling listening

2010-03-18 Thread Mendelsohn, Michael
Thanks for the responses everyone! > Yes, and what I am saying is, that architecture is wrong. You don't create > instances of EventDispatcher and then put Display object inside of them. OK, it seems I've violated a golden rule about bubbling. My EventDispatcher obviously isn't on the display

RE: [Flashcoders] bubbling listening

2010-03-18 Thread Mendelsohn, Michael
Yes, I suspected I've been touching on MVC. I'm not that sophisticated in my design pattern usage yet. I will get there though. Thanks for the follow up responses Jason. I really appreciate the feedback. - Michael M. >> In my project, this EventDispatcher managing all the Sprites. Is the

[Flashcoders] Flash CS3 crashes when debugging

2010-03-24 Thread Mendelsohn, Michael
Hi list... [XP CS3] Why is my Flash IDE crashing all of a sudden when I go to debug? I deleted ASO files, rebooted, didn't make a difference. I haven't found any explanation through Google either. Help! - Michael M. ___ Flashcoders mailing list F

RE: [Flashcoders] Flash CS3 crashes when debugging

2010-03-24 Thread Mendelsohn, Michael
Glen, you have saved my life! That worked. I can't believe it. Thank you, thank you, thank you! - Michael M. > Maybe your workspace.xml file is trashed. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mai

RE: [Flashcoders] Flash CS3 crashes when debugging

2010-03-24 Thread Mendelsohn, Michael
Well, the most bizarre thing about this bug fix is that the two (debugging and window layout) seem to me like completely unrelated elements of the IDE. I ran into a cold trail in searching online. What's really bothersome is that it isn't documented anywhere. It's the equivalent of: I have a

[Flashcoders] communicating with loaded swf

2010-03-25 Thread Mendelsohn, Michael
Hi list... Seems simple, but I've never communicated with loaded swfs before. Much of what I found online still talks about _level0, and I'm seeking an AS3 solution. :-) I have some strings that I'd like to pass along to a function like so: var obj:String = some_displayObject_instance_in_loa

[Flashcoders] double barrelled TweenMax instances

2010-04-05 Thread Mendelsohn, Michael
Hi list... I'm trying to call a function twice in a row, and have some TweenMax instances fire up. They aren't firing. I thought it would have to do with the way I'm instancing the TweenMax objects, instead of calling the static "to" method, but that doesn't seem to be it. I still suspect tha

[Flashcoders] Zinc question about focus

2010-04-06 Thread Mendelsohn, Michael
Hi list... I have an exe that just opens a bunch of pdf files. When I click each of the text fields, (TextEvent.LINK), the pdf opens. When I go back to the exe, I seem to need an extra click to open the next pdf, as if the exe needs another click to lose focus on the first TextField. Is ther

[Flashcoders] RE: Zinc question about focus

2010-04-07 Thread Mendelsohn, Michael
I didn't realize there was a Zinc forum, but for the sake of anyone curious about my post, here's the solution I discovered: I just had to add another line of code (any arbitrary line would do) to bring the mdm.System.exec(filePath); call back to the exe to avoid a first click that does nothing

[Flashcoders] composite pattern, first attempt

2010-04-12 Thread Mendelsohn, Michael
Hi list... I'm planning to implement a composite pattern, based on O'Reilly's AS3 Design Patterns book, to create an isometrically drawn high rise building. The composites are each floor, up until the roof, which is the final leaf. One concern I have is for scaling, so as to animate zooming i

[Flashcoders] can't get swfObject flashvars to work

2010-04-23 Thread Mendelsohn, Michael
Hi list... I'm trying to pass along navigator.userAgent to flahsvars through swfObject and I can't get it to work. Here's what I have: var flashvars = {}; flashvars.navUA = navigator.userAgent; var params = {}; params.allowScriptAccess = "true"; swfobjec

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 flash.

[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 th

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 http://

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-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

[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

[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 devices

[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

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 http:/

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

[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): stage.loaderInfo.parameters.myflashpa

[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 missing

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 access

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 te

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 [mailto:flashcoders-boun...@chattyfig

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 post-gr

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

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 an

[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 you

[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: var v = {}; v.titleText = "XXX Financial and Operational Progress"; swfobject.embedSWF("thing.swf", "mything", "450", "750

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 Sent:

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] % 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 %), the percent sign isn't showing up. In Windows Ch

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 se

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@chatty

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, Septem

[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 var topic:XML = topicData[0]; // gets the below xml, came from an xmllist var wording:String

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 don

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 http://chattyfig.

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. I'd like to delete all instances of dog that don't have an @

[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.

[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. va

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. ___

[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 it's

[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 o

[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 compili

[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 c

[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 AI

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 f

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 spa

[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 Flashcoders@chattyfig.figleaf.co

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

[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? - Mich

[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 Subject:

[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 f

[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 c:XMLLi

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 the

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 ActiveXOb

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 befor

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. Tom,

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 Flashcode

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 __

<    1   2   3   4   5   >