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

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

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

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

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

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

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

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

[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);

[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

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

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

[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

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

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

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

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

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

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

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

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

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

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

[Flashcoders] physics engine newbie

2010-01-21 Thread Mendelsohn, Michael
Hi list... I'm looking for a physics engine recommendation. I've never used one before. I have to demonstrate essentially a particle system in a tray that gets shaken and the particles spill out of the tray. I need to control the properties of the particles so that with two different example

RE: [Flashcoders] FLV loading in IE6, not IE8

2009-12-24 Thread Mendelsohn, Michael
Good point Jim, I'll try that. Thank you. I was noticing the escaped space, but I never thought that might be an issue. - MM > I'm on digest, so excuse me if this repeats what others might have said already, but I wonder if it'll work as expected under both IE6 and IE8 if you rename your

RE: [Flashcoders] FLV loading in IE6, not IE8

2009-12-23 Thread Mendelsohn, Michael
>> It seems IE8 treats it as a web resource instead of a file share. Could that be part of the issue rather than a security/sandbox setting? Sure could be - seems to me it's a difference between the browsers, not Flash. I bet you're right, Jason. What's odd is that when I put the full file sh

RE: [Flashcoders] FLV loading in IE6, not IE8

2009-12-23 Thread Mendelsohn, Michael
I just noticed that if I output the path of the swf to a TextField, I get differences between IE6 and IE8: IE6: file://\\johnfilep31\globalcom$\FM_Action_W7\flv test\tester.swf IE8: file://johnfilep31/globalcom$/FM_Action_W7/flv%20test/tester.swf It seems IE8 treats it as a web resource instead

RE: [Flashcoders] FLV loading in IE6, not IE8

2009-12-23 Thread Mendelsohn, Michael
> Not sure what that means. Univesity of North Carolina? UNC is universal naming convention. So on Windows, the path would be like \\something\something rather than http://something.something (I got that bit of knowledge from Michael Jordan by the way.) > So you mean the location of the HTML (

RE: [Flashcoders] FLV loading in IE6, not IE8

2009-12-22 Thread Mendelsohn, Michael
Hi Jason, thanks for replying. The file uses the Dreamweaver CS3 AC_RunActiveContent.js file to write the swf to the page, and everyone in house here has FP10. It's all in the same folder too. We just discovered that adding the mime type on the virtual makes it work...almost...but it's still

[Flashcoders] FLV loading in IE6, not IE8

2009-12-22 Thread Mendelsohn, Michael
Hi list... We are trying to post a webpage with a swf that plays an external flv file. The page is not over http, but rather fileshare (so the address is like \\ourserver\flvTest.html instead of http://www.something). I thought it might be a cross domain issue, but the flv is sitting right nex

RE: [Flashcoders] Passing a Variable to Adobe Acrobat

2009-12-09 Thread Mendelsohn, Michael
Try acrobatusers.com. > Anyone know of any acrobat lists I could post this on? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] prevent superclass from being instanced directly

2009-12-08 Thread Mendelsohn, Michael
Great link, Dave. I am doing that with a singleton anyway and I'm sure your link will confirm what I did there is OK. Much appreciated, - MM > http://joshblog.net/2007/08/19/enforcing-abstract-classes-at-runtime-in-actionscript-3/ ___ Flashcoders mai

[Flashcoders] prevent superclass from being instanced directly

2009-12-08 Thread Mendelsohn, Michael
Hi list... I have a superclass, let's say it's Dog. Then, I have some extensions of Dog, like so: Schnauzer extends Dog Poodle extends Dog In the Dog constructor, I want to prevent a Dog from being instanced directly, but when I include this line in the superclass constructor: throw new Illeg

RE: [Flashcoders] Back On Course, Still Problems

2009-12-07 Thread Mendelsohn, Michael
> and above all, play nice. Well said, Jason! Let me just say that this list is the most valuable asset in my Flash work by far, and I truly appreciate every response I get from it. Jason happens to be more than generous in the amount of questions he responds to and I think many others will

RE: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Mendelsohn, Michael
Actually, Anthony, the "real" data isn't pets at all. I was just abstracting it for the list. But it's still relevant. I'm actually rendering a table, with rows (dogs) of cells (TextFields). And a horizontal rule (the bird) may or may not appear before each row. So traversing my nodes, if

RE: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Mendelsohn, Michael
Kenneth, that's so perfect, that it's actually beyond perfect. Thanks! > xml.child("*").(new RegExp("dog|bird").test(name())) Thanks everyone for the replies. I truly appreciate it! - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig

RE: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Mendelsohn, Michael
AS3, Kerry. I see you've migrated from Direct-L. :-) I think there should be a conditional for this, but I can't seem to put my finger on it. - MM > AS2 or AS3? Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.

RE: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Mendelsohn, Michael
Thanks for replying Jason. I'd do that, but I'm also trying to preserve the order in which things occur, like given this xml... ...then, I'd traverse the resulting XMLList, and using a switch statement, render things a ce

[Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Mendelsohn, Michael
How do I get an XMLList containing all occurrences of and ? Rover Sally Felix Thumper I've been trying things like the following, to no avail. pets.elements(["dog","bird"]); pets..*((["name"]()=="dog")||(["name"]()=="bird")); pets..(["child"]("dog") || ["child"]

[Flashcoders] fullscreen security issue?

2009-11-24 Thread Mendelsohn, Michael
Hi list... I'm trying to set my swf (in a web page) to StageDisplayState.FULL_SCREEN and StageScaleMode.SHOW_ALL. It works, but oddly, the clickable items are still clickable. I thought in full screen mode, mouse and keyboard events are supposed to be prevented, right? And, when I click thes

[Flashcoders] OT: PHP books

2009-11-23 Thread Mendelsohn, Michael
Hi list... If all I know in php is echo, what's the best book to learn this language, as well as MySQL? Thanks, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] AS3 mouseUpOutside not working, yuck!

2009-11-19 Thread Mendelsohn, Michael
Thanks for answering Henrik. I just figured out a solution. I have to add a var to record what was clicked, and then compare that against the event's currentTarget. It seems like an awful hack though. I'm hoping there's something simpler. - MM _

[Flashcoders] AS3 mouseUpOutside not working, yuck!

2009-11-19 Thread Mendelsohn, Michael
Hi list... I can't get a mouse up outside action to work, and the solutions I found online don't solve it. Ugh, seemingly so simple! What am I doing wrong? It always traces B. Thanks, - Michael M. playPause.addEventListener(MouseEvent.MOUSE_DOWN, playPausePressed); private

RE: [Flashcoders] one class listening for another classes dispatchedevent

2009-11-17 Thread Mendelsohn, Michael
Alright, since I asked the question, I'm piping in. I just finished a project that became immensely complicated precisely because I eventually had everything tightly coupled. Had I used custom events and done some other things from the get go, I'm nearly certain it would have been easier to do

RE: [Flashcoders] one class listening for another classes dispatched event

2009-11-17 Thread Mendelsohn, Michael
Thanks Jason. I wasn't sure if "a" listening for "c" and calling a function in "b" as a result qualifies as tight coupling also between the three classes. In any case, that was the other plan I had intended on going with. Thanks for the great answer! - MM __

[Flashcoders] one class listening for another classes dispatched event

2009-11-17 Thread Mendelsohn, Michael
Hi list... I have a singleton (let's say it's class a) which contains instances of two different classes, b and c. Class B and C both extend Event Dispatcher. var b:B = new B(); var c:C = new C(); In c's constructor, a custom event is dispatched. I want b to listen for it, but this doesn't

RE: [Flashcoders] RE: as3 progress bar?

2009-11-09 Thread Mendelsohn, Michael
Thanks for responding Bob. I think this was my issue: > Also, in this line if(p.bytesLoaded == p.bytesTotal), you may want to do this if(p.bytesTotal > 4 && p.bytesLoaded == p.bytesTotal), since bytesLoaded and bytesTotal will be equal before any bytes are loaded, which will kill your listen

[Flashcoders] RE: as3 progress bar?

2009-11-09 Thread Mendelsohn, Michael
A little more info: My flash file is 600k, so it needs a progress bar. I am also trying stage.addEventListener(Event.ENTER_FRAME, showLoading); But that isn't working either. It's just showing my loading graphic when the whole swf is loaded. I think the issue is the loading graphic is attache

[Flashcoders] as3 progress bar?

2009-11-09 Thread Mendelsohn, Michael
Hi list... Why is this not working? Why can't I get a progress bar working correctly? Thanks, - Michael M. public function docClass() { loadingGraphic = new Logo(); loadingGraphic.x = 382; loadingGraphic.y

RE: [Flashcoders] RegExp question

2009-11-05 Thread Mendelsohn, Michael
Thanks very much Ian and Henrik. The ^ and $ was exactly what I was looking for. Regards, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] RegExp question

2009-11-05 Thread Mendelsohn, Michael
Hi list... I have some input text box with a go button that is enabled or disabled based on an Event.CHANGE for the TextInput. As someone types in a string, a go button becomes enabled or disabled, but I want the *entire* text in the text box to be considered, not just a matched substring. Is

[Flashcoders] seeking RegExp improvement

2009-10-29 Thread Mendelsohn, Michael
Hi list... I am essentially a newbie with writing Regular Expressions.I have this one that I wrote: /(g|1|2|3)(E|W)\d{3}-?\d{0,2}/i And it would be good for GE101 or GE101-22. How can I make it so that it only matches if there are 5 total characters or 7 or 8 characters only? What I'm trying

[Flashcoders] relative positioning with stage.NO_SCALE

2009-10-15 Thread Mendelsohn, Michael
Hi list... I have a 1920x1080 stage in author mode. The swf sits in an html page aligned absmiddle. I want a movieclip to always stay in the upper left corner, when the stage is resized, but the code I've got isn't working perfectly. Anyone have a good routine for this? Thanks, - Michael M.

RE: [Flashcoders] RegExp vs. CDATA in E4X

2009-09-15 Thread Mendelsohn, Michael
Will do, sage advice. - MM > Write it the easy way. If it proves to be a bottleneck later, optimize it > then. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] RegExp vs. CDATA in E4X

2009-09-15 Thread Mendelsohn, Michael
Hi list... I'm debating using a RegExp to search for a value in E4X, or do it by searching the below data within CDATA. I think the RegEx would be cooler to use, making for a smaller XML file, but I wonder if it would be faster to simply loop through an array of these values. Anyone have any

RE: [Flashcoders] fisheye dislpacement

2009-09-11 Thread Mendelsohn, Michael
Thanks for the link Hans. That's exactly what I was looking for. I think I figured out the issue I was having. In the DisplacementMapFilter constructor, you have to assign color channels for it to displace along x and y, and I was setting the displacement map to a black and white gradient. W

[Flashcoders] fisheye dislpacement

2009-09-10 Thread Mendelsohn, Michael
Hi list... I'm trying to render a spherical earth using a DisplacementMapFilter out of a flat movieclip of the landmasses but it isn't working too well for me. Any suggestions? I'd appreciate hearing any ideas. Thanks, - Michael M. private function renderOrnament():Sprite{ var makeCi

RE: [Flashcoders] RE: Flash full screen examples

2009-08-07 Thread Mendelsohn, Michael
Wow, the FWA site is great. Thanks for the tip Jared. That's all the inspiration I need. - MM seems like a very popular trend, therefore if you look on the fwa you'll find that many if not most of the sites on there implement this. ___ Flashcode

[Flashcoders] RE: Flash full screen examples

2009-08-07 Thread Mendelsohn, Michael
Thanks Brian, I think I've seen that one before, but the swfObject isn't writing it to my browser. :-/ > How about this one? http://www.gettheglass.com/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/

[Flashcoders] Flash full screen examples

2009-08-07 Thread Mendelsohn, Michael
Hi list... Can anyone point out some amazing examples of Flash content taking up the entire window? (StageDisplayState.NORMAL, not StageDisplayState.FULL_SCREEN) I can offer these examples, but I'm looking for examples applicable to an eventual holiday greeting card. http://rb.hi-res.net/index

RE: [Flashcoders] Holiday cards

2009-07-15 Thread Mendelsohn, Michael
Flash based. We are going to have a personalized Flash holiday card that will suck in some xml to personalize the card. A link will be provided in an email. I'm just looking for some inspiration. - MM > you flash based or printed ones? ___ Flash

[Flashcoders] Holiday cards

2009-07-15 Thread Mendelsohn, Michael
Hi list... Anyone know of any really superb examples of corporate holiday greeting cards? Just trying to brainstorm. Thanks! - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/fla

[Flashcoders] flv not loading

2009-06-15 Thread Mendelsohn, Michael
Hi list... I'm using the flvComponent and it's not loading the flvs. Structure: Htmlpage (contains someFolder/swffile.swf) someFolder swffile.swf vidA.flv vidB.flv swffile is embedded in htmlpage. Swf sets flvcomponent instance source to someFolder/vidA.flv doesn't wo

[Flashcoders] wrapper recommendation

2009-06-15 Thread Mendelsohn, Michael
Hi list... Can anyone recommend the best wrapper for a Flash projector? All I need to do is open pdfs in Acrobat (not a browser, like what navigatetourl would do). I found Jugglor (www.flashjester.com). Anyone have experience with that? Thanks, - Michael M. _

RE: [Flashcoders] swf doesn't work

2009-06-11 Thread Mendelsohn, Michael
Thanks Mark, that's really helpful information. Regards, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] swf doesn't work

2009-06-11 Thread Mendelsohn, Michael
Thanks for responding Jonathan. My only external asset is an xml file, and I write a textfield to the stage if there's an IOError. That's not happening, and all other sprites/graphics are within this swf. It seems to me it's more of an ActionScript error, as if each chunk of code wipes out th

[Flashcoders] swf doesn't work

2009-06-11 Thread Mendelsohn, Michael
Hi list... [CS3, dev machine has FP10 installed] I have a swf rendering problem on the pc. Two people are viewing my swf with player 9,0,16,0. When the swf initializes, there are a series of animations that occur where sprites are faded in on the stage. These two people only see the last sp

[Flashcoders] Combobox.visible blows out fonts

2009-06-01 Thread Mendelsohn, Michael
Hi list... [CS3, AS3 Combobox component] I am toggling the visible property of a combobox. This combobox.textField has embedFonts set to true, and I can see the text if at first I keep the instance visible. But, if I set the instance to visible=false, and then return it back to visible=true,

RE: [Flashcoders] catch broken paths to flv files

2009-05-27 Thread Mendelsohn, Michael
t would be: NetStream.Play.FileStructureInvalid So you'd create a listener for it Net status events. Also, connecting to it would throw an 'Error opening URL *url*' message. B. On Wed, May 27, 2009 at 7:11 AM, Mendelsohn, Michael wrote: > Hi list... > > I'm tyring to c

[Flashcoders] catch broken paths to flv files

2009-05-27 Thread Mendelsohn, Michael
Hi list... I'm tyring to catch broken paths to flv files. How do you catch VideoError.INVALID_SOURCE when using the FLVplayback component? I can't seem to figure out how/where to use it. It seems that's the logical approach, but instead, I currently have this solution, which works, but doesn

[Flashcoders] access individual items in combobox

2009-05-26 Thread Mendelsohn, Michael
Hi list... How do you access individual items in an AS3 component combobox? I can't seem to pick through the combobox.dropdown reference. I am trying to skin each of the items in the dropdown differently based on their values. Thanks, - Michael M.

RE: [Flashcoders] Implicit coercion error with inheritance

2009-05-20 Thread Mendelsohn, Michael
Yeah, I really struck out on this one! There's only two classes EachFloor and FloorItem. So EachItem was a typo, and I had the base class as for FloorItem as flash.display.MovieClip instead of NewBuildingDirectory.EachFloor. Ugh. - MM > EachFloor vs. EachItem? > Because you're mis-casting

[Flashcoders] RE: Implicit coercion error with inheritance

2009-05-20 Thread Mendelsohn, Michael
Sorry list. Problem solved, it was a linkage setting. :-( ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Implicit coercion error with inheritance

2009-05-20 Thread Mendelsohn, Michael
Hi list... Seemingly simple, but why do I get an Implicit coercion error 1067 when instancing this: var ceilingApparatus:EachItem= new FloorItem(); and, this error too: var ceilingApparatus:FloorItem = new FloorItem(); // undefined trace(ceilingApparatus["init"]); package NewBuildingDirectory{

RE: [Flashcoders] regex in switch statement

2009-05-15 Thread Mendelsohn, Michael
That didn't work for me. :-/ - MM > Oke, i think you can, since it matches the input given with the case. i didnt test it. But cant you store the regex in a var and put that in the case? like so: var myRegEx:RegExp = /(W|M|K)\d/i; var stringToMatch = ""; switch(stringToMatch) {

RE: [Flashcoders] regex in switch statement

2009-05-15 Thread Mendelsohn, Michael
Thanks for responding Sidney. I think if I set a var prior to the switch, it might not work because there are so many strings going into the switch. I'm trying to optimize this that would apply to only some of all the cases: switch(str){ case ("W1") : case ("W2") : case

[Flashcoders] regex in switch statement

2009-05-15 Thread Mendelsohn, Michael
Hi list... Is it possible to use a regular expression as a case in a switch statement? I've been searching around and haven't found anything specifically for actionscript. Thanks, - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com h

RE: [Flashcoders] Tween a matrix transformation

2009-05-01 Thread Mendelsohn, Michael
Wow, straight from the source! Cheers Jack! - MM > You could do this: > > var matrix:Matrix = mc.transform.matrix; > > TweenLite.to(matrix, 1, {a:1.5, b:0.2, c:0.2, d:1.5, tx:100, ty:100, > onUpdate:applyMatrix, onUpdateParams:[mc, matrix]}); > > function applyMatrix($mc:DisplayObject, $matrix:M

[Flashcoders] Tween a matrix transformation

2009-05-01 Thread Mendelsohn, Michael
Hi list... I'm trying to think of the best way to tween a sprite that's been transformed, with all 6 props of its matrix property having been altered. I use TweenLite a lot...should I write 6 lines of code, one for each matrix property? Any suggestions for the most optimal way to tween a matr

RE: [Flashcoders] E4X question

2009-05-01 Thread Mendelsohn, Michael
Thanks for all the responses! I ended up adapting this solution, and I got tripped up on the fact that parent() is a method!! Ugh. - MM take the XMLList that you have and run a for each loop on it looking for a match at the name attribute for each (var element:XML in FloorPlanData.floor){

RE: [Flashcoders] E4X question

2009-04-30 Thread Mendelsohn, Michael
Thanks for replying, Cor. Yes, when the xml is loaded, the Event.COMPLETE function gets fired. That part isn't the problem because I'm already doing other things with the XML. It's just this bit that I can't get an XMLList for. What really happens is Sprites within a ScrollPane component get

[Flashcoders] E4X question

2009-04-30 Thread Mendelsohn, Michael
Hi list... I'm still relatively new with E4X. I can't get seem to get this function to return the name of the floor that the department is on. I.E., pass a string, traverse the xml, get the parent's name attribute. In my second attempt, I figured to test for the property name first, because

RE: [Flashcoders] hitTest unreliability

2009-04-29 Thread Mendelsohn, Michael
Thanks for the responses. I think this is probably the solution because when I set the framerate to 1fps, it always errorred. Thanks - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/fla

[Flashcoders] hitTest unreliability

2009-04-29 Thread Mendelsohn, Michael
Hi list... [AS2] If I moderately rapidly move the mouse in and out of a ScrollPane component, a hitTest on movieclips contained within the ScrollPane won't always evaluate correctly. I can't figure out why it's so unreliable, working only about 65% of the time. The ScrollPane contains a bunch

[Flashcoders] RE: Combobox not getting DataProvider

2009-04-28 Thread Mendelsohn, Michael
Never mind. Silly mistake. Nothing to see here. Move along. Hi list... I have a DataProvider that I'm trying to set to a combobox but it's not working. Cb.dataProvider = dpObjects.floor; // does nothing trace(dpObjects.floor); // DataProvider [[object Object] , [object Object] , [object Ob

[Flashcoders] Combobox not getting DataProvider

2009-04-28 Thread Mendelsohn, Michael
Hi list... I have a DataProvider that I'm trying to set to a combobox but it's not working. Cb.dataProvider = dpObjects.floor; // does nothing trace(dpObjects.floor); // DataProvider [[object Object] , [object Object] , [object Object] , [object Object]] What am I missing? Thanks, - Michael

<    1   2   3   4   5   >