Re: [Flashcoders] ALT+GR in FireFox 4.0
Hi Elia, Are you on a non-english keyboard? I never heard of that combination but that may have to do with you using a Spanish or Portuguese keyboard? I am only asking this because it will help understand your issue better. I read somewhere in line that ALT+GR is the @ symbol? In English Keyboards it is just SHIFT+2 which is not an issue at all. -h On Fri, Apr 29, 2011 at 1:41 AM, Elia Morlin elia.li...@gmail.com wrote: Surely someone has a fix ? On Thu, Apr 28, 2011 at 4:14 PM, Elia Morlin elia.li...@gmail.com wrote: I know, but I can't remove opaque. It must be opaque. On Thu, Apr 28, 2011 at 3:47 PM, kris range krisra...@gmail.com wrote: If I remember correctly, this has popped up a few times and I think it's related to the wmode property being set to transparent or opaque. If you can remove that, it should go away. On Thu, Apr 28, 2011 at 8:47 AM, Elia Morlin elia.li...@gmail.com wrote: Does anyone have an AS3 solution for the ALT+GR problem in FireFox 4.0? It will not accept ALT+GR in combination with any character. So it's impossible to enter a @, [ or ]. Thanks Elia Morling ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash oddness with URLvariables
I personally haven't seen this behavior and it is hard to debug something that we can't see. -h On Mar 25, 2010, at 6:24 PM, Paul Andrews wrote: I'm usually a Flash CS3 user on a PC, but have been using a Mac G5 and CS4 recently. Today I came across some really weird behaviour. I'm pulling some XML from a server and passing some variables (URLVariables). Nothing special, except that today I found that one of my variable values was not being passed to the PHP. No matter what, it didn't appear to the PHP code. OK, off I go with the debugger. Now the PHP sees all of the values passed. Just running the debugger always gives the right behaviour. Sometimes, it'll work without the debugger. Anyone seen this kind of behaviour - the code is not that complex (sadly I can't post it). ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OOP Books (OT)
Great information and thanks for sharing. I didn't know The Lost Actionscript 3.0 Weekend even existed. On Mar 11, 2010, at 3:29 PM, co...@moock.org wrote: hi all, as the author of an oop book myself, i have to admit that books aren't always the right learning tool for everyone. i agree with benny...i've liked the video training that's been emerging over the last few years. here are a bunch of other free options: http://gotoandlearn.com/ http://tv.adobe.com/show/actionscript-11-with-doug-winnie/ http://tv.adobe.com/channel/development/actionscript http://tv.adobe.com/show/max-2009-develop/ in fact, there's also a video version of Essential ActionScript 3.0 available called The Lost ActionScript 3.0 Weekend. it's a commercial product, but lots of it is freely available online here: oop overview: http://tv.adobe.com/watch/colin-moocks-lost-actionscript-weekend/object-oriented-programming-overview/ making a class: http://vplayer.oreilly.com/?chapter=4video_product=urn%3Ax-domain%3Aoreilly.com%3Aproduct%3A9780596801540.VIDEO#embedded_player inheritance http://my.safaribooksonline.com/player?xmlid=9780596801564/i17 garbage collection (very important in oop ActionScript 3.0!) http://tv.adobe.com/watch/colin-moocks-lost-actionscript-weekend/object-references-and-garbage-collection/ datatypes: http://vplayer.oreilly.com/?chapter=4video_product=urn%3Ax-domain%3Aoreilly.com%3Aproduct%3A9780596801557.VIDEO#embedded_player graphics and oop: http://tv.adobe.com/watch/colin-moocks-lost-actionscript-weekend/graphics-programming/ http://tv.adobe.com/watch/colin-moocks-lost-actionscript-weekend/the-display-list/ debugging and profiling oop: http://tv.adobe.com/watch/colin-moocks-lost-actionscript-weekend/production-topics-flex-debugging-mode/ http://tv.adobe.com/watch/colin-moocks-lost-actionscript-weekend/production-topics-flex-profiling/ flash/flex workflow http://my.safaribooksonline.com/player?xmlid=9780596801588/i20 course introduction: http://tv.adobe.com/watch/colin-moocks-lost-actionscript-weekend/course-1-introduction/ 3d effects with adobe's chris nuuja: http://vplayer.oreilly.com/?chapter=20video_product=urn%3Ax-domain%3Aoreilly.com%3Aproduct%3A9780596801540.VIDEO#embedded_player the full video is available at: http://www.oreilly.com/go/law once you're up to speed on the basics, examples, practice, and a helping community like flashcoders should take you the rest of the way. if you're doing any flex work, i find peter dehaan's examples to be a fantastic resource: http://flexexamples.com/ and for targeted questions, the stackoverflow community is really helpful: http://stackoverflow.com/questions/tagged/actionscript happy coding! colin Benny wrote: Hi Susan I cannot recommend any OOP book but I can recommend Lynda.com. Lynda.com has some great video courses, like http://www.lynda.com/home/DisplayCourse.aspx?lpk2=759 Which amongst other covers OOP fundamentals and common design patterns. - Benny -Oorspronkelijk bericht- Van: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] Namens Susan Day Verzonden: woensdag 10 maart 2010 19:29 Aan: Flash Coders List Onderwerp: Re: [Flashcoders] OOP Books (OT) On Wed, Mar 10, 2010 at 12:23 PM, Mattheis, Erik (MIN - WSW) ematth...@webershandwick.com wrote: I got AS 3 w/Design Patterns right when I delved into AS3 and I found the examples too long and complicated to follow. I would not recommend it as an introduction to OOP. Noted. And your thoughts, if any, on The Object-Oriented Thought Process? Susan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Informatie van ESET NOD32 Antivirus, versie van database viruskenmerken 4932 (20100310) __ Het bericht is gecontroleerd door ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Windows 7 Compatibility with Flash
http://www.microsoft.com/windows/compatibility/windows-vista/Details.aspx?type=Softwarep=Adobe%20Flash%20CS4%20Professionalv=Adobeuid=pf=0pi=7c=Enterprise%20Applicationssc=Collaboration%20%26%20Contentos=32-bit On Fri, Oct 23, 2009 at 1:45 PM, AutGlass Jobs autgl...@gmail.com wrote: Hi all, Now that Windows 7 came out, I wanted to see if there might be any compatibility issues with playing Flash on it. Anyone have any insight on this matter? Thanks, Phil ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Inheritance and Static properties
So I understand that I can access static properties only child-parent but not if we instantiate the subclass some where else within the application but what would be the best way to go around this? -ButtonParent -contains basic rollover/rollout/click events and does dispatchEvent (new Event (BUTTON_CLICK)); -Children inherit ButtonParent and I want to be able to listen for the event and also get the Name of the child. var button1 : ButtonParent = new Child(); button1.addEventListener (Child.BUTTON_CLICK, doClickStuff) // of course wont work because we cant access the static constants from child button1.addEventListener (ButtonParent.BUTTON_CLICK, doClickStuff)// this works but now I cant access the NAME from the child private function doClickStuff ( event : Event ) : void { trace(event.target )// Child trace(event.NAME)// undefined } // here is some more about the child public class Child extends ButtonParent extends IButton { public static const NAME : String = ChildName; } Any ideas or recommendations? I did get around the issue but not using static constants for the BUTTON_CLICK constant and just setting it up as a public var button1.addEventListener ( button1.BUTTON_CLICK, doClickStuff)// now this works but looks such an ugly hack. TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Inheritance and Static properties
Correct, i was thinking of var object = event.target object.NAME; but I was typing faster than thinking :). On Thu, Oct 22, 2009 at 1:00 PM, jonathan howe jonathangh...@gmail.comwrote: Just double checking but in your trace statement you are looking for the NAME property on the event? trace(event.NAME)// undefined You probably mean event.target.NAME but I'm just checking the obvious. -jonathan On Thu, Oct 22, 2009 at 12:38 PM, Helmut Granda cont...@helmutgranda.com wrote: So I understand that I can access static properties only child-parent but not if we instantiate the subclass some where else within the application but what would be the best way to go around this? -ButtonParent -contains basic rollover/rollout/click events and does dispatchEvent (new Event (BUTTON_CLICK)); -Children inherit ButtonParent and I want to be able to listen for the event and also get the Name of the child. var button1 : ButtonParent = new Child(); button1.addEventListener (Child.BUTTON_CLICK, doClickStuff) // of course wont work because we cant access the static constants from child button1.addEventListener (ButtonParent.BUTTON_CLICK, doClickStuff)// this works but now I cant access the NAME from the child private function doClickStuff ( event : Event ) : void { trace(event.target )// Child trace(event.NAME)// undefined } // here is some more about the child public class Child extends ButtonParent extends IButton { public static const NAME : String = ChildName; } Any ideas or recommendations? I did get around the issue but not using static constants for the BUTTON_CLICK constant and just setting it up as a public var button1.addEventListener ( button1.BUTTON_CLICK, doClickStuff)// now this works but looks such an ugly hack. TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- -jonathan howe ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] GetDefenitionByName from loaded SWF
Hello All, I am trying to access properties from a child file. This is the set up: Parent loadedA.swf // gets loaded into Parent loadedB.swf // gets loaded into Parent Parent has a static class called ParentClass and it has about 10 mutators that I want to access through the child movies being loaded (loadedA, loadedB). After the files are being loaded I am using ApplicationDomain to let the child movies know where ParentClass lives since they do not get added to the display list until later but they need information that the ParentClass have to work properly and that is why they do have access to it. So like I said, the child movies have access to ParentClass but all the properties return undefined or null. Anyone has any recommendations? TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Capture sound from computer speakers?
Thanks for the feedback and I was afraid there is no way to get a hold of the output by default. This idea is for an application that would be deployed on the web so asking each one of the users to make such modifications to the system is out of the question :) Thanks again, Helmut On Feb 20, 2009, at 6:07 PM, Nate Beck wrote: What you hear, in your speakers is audio output... not audio input. So to do what you want, you need to somehow turn your audio output into an input. Here are few ideas: - I used to have a Sound Blaster sound card that had a driver that would loop the audio out back into the input. There was a sound setting to select What you hear as an option. - Use Soundflower on the mac - http://code.google.com/p/soundflower/ - Simply run a sound wire from your computer's audio out into the audio in (microphone) jack. Keep in mind, that anyone who wants to record audio output using your flash / air application is going to have to do one of these things above as well. HTH, Nate On Fri, Feb 20, 2009 at 1:05 PM, Helmut Granda cont...@helmutgranda.com wrote: I am looking at the docs, and it almost seems like I can't capture the sound that is playing through the speakers (itunes/web/application). Which seems odd to me given that we can capture the camera and microphone but not just sound that is not played within the flash player. I did a soft search within Adobe Air but I haven't found information in there either(yet) Anyone has any suggestions? TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Cheers, Nate http://blog.natebeck.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] making a set of dynamically loaded buttons to listen to each other
set the same handler to all of them and then inside the handler run a for loop to call the event for each of the buttons (or do whatever you want) excluding the one that made the call to the handler. On Feb 21, 2009, at 9:06 AM, Michael Iv wrote: I need a help ! I a working on application where i have a set of 10 buttons. I want that when one of them is clicked the others disappear or do anything else that is assigned to them. I cant figure out how to make each button to listen to event of the others in a simple way ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Capture sound from computer speakers?
I am looking at the docs, and it almost seems like I can't capture the sound that is playing through the speakers (itunes/web/application). Which seems odd to me given that we can capture the camera and microphone but not just sound that is not played within the flash player. I did a soft search within Adobe Air but I haven't found information in there either(yet) Anyone has any suggestions? TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] NetStream Leaving it open
I am trying to find some documentation about the dangers of leaving the Netstream open for long periods of time. Long story short I have a player that the user might leave open for hours end. Does leaving the Netstream open for long periods of time will consume a lot of memory? The reason why I am not closing the stream when the video is done playing is because there is some functionality that needs to continue live through the player after the video is done playing. If it is going to be resource intensive leaving the stream open then I might have to settle for editing the functionality TIA... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] My rights - site not paid for.
Im with Doctor H here, We don't know the details or both parties information about the project, if you are a freelancer/contractor this might harm you in the long run. Granted, you might get the money you are owed but in the end of the day it might be 1+ (many more) possible non clients. Remember that the bad press travels a lot faster than good rep and good rep is always hard to come by. If I read correctly you don't have a written contract which in the end is also a bad practice and you have to take your losses. On Mon, Dec 8, 2008 at 1:13 PM, dr.ache [EMAIL PROTECTED] wrote: Have you ever thought about what that makes for your image? I would encourage you to stay polite and willing to accept their delay as long as it is possible for you. You can deny to work with this client in the future anyways but do not threaten somebody with court or anything before there is no other way around. Have always in mind that there can be a reason you could not even imagine behind that delay. You are dealing with people - just try to image this guy really has problems and dont want you to know about that, or anybody else. When you take him to the court you might get your money but a very very bad image in the head of that guy,too. The other way round - if he finally pays you and he saw that you are flexible he might recommend you the next time. Have the good parts about people in mind, dont make assumtions. My cents... Pete Hotchkiss schrieb: Eamons point about the computer misuse act is not strictly true - you own the site unless a contract exists explicitly licensing full ownership of everything up payment completion. My advise however is to leave the site up and get Thomas Higgins on the case. He's BRILLIANT and has a ni on 100% record for recovering debts. He's completely ruthless and gets results http://www.thomas-higgins.co.uk/ Trust me - use these guys and you'll have you money before the month is out -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Piers Cowburn Sent: 08 December 2008 11:51 To: Flash Coders List Subject: Re: [Flashcoders] My rights - site not paid for. I've been in this situation before and done the same as Paul, it ended up going to a small claims court and the client didn't even turn up for the hearing. I got paid and the costs were covered by the client. Piers On 8 Dec 2008, at 11:38, Paul Steven wrote: Hi Stephen I had a similar situation about a year ago and in this case I had no contract but just emails from the client agreeing on the cost for the work. Anyway I simply made a claim via https://www.moneyclaim.gov.uk/csmco2/index.jsp and I won my case. It was really simple and will cost you nothing as you get all your costs paid for by the customer if you win. I would be reluctant to take the site down as doing so will then mean the customer has nothing to pay for. By leaving the site up and running, you have fulfilled your obligations. Anyway good luck!! Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Matthews Sent: 08 December 2008 11:03 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] My rights - site not paid for. What are my rights ( in the UK ) for taking down a site which has not been paid for? The owner of the company is happy with his site, but is not coughing up. I still have FTP access. He says the site took too long, and makes lots of excuses for not paying - which do not tally. He changed the site drastically at least three times - I think it took too long too, due to this. He is updating the news section and other sections whenever he has new material. I would be interested in your thoughts. This person won an award for being a top business man this year - is this what you have to do to be a top business man - screw people? I am not the kind of person to take this action really, but I may consider it. Thanks S ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com
Re: [Flashcoders] My rights - site not paid for.
But having the power to access to the server through FTP doesnt make the coder a good guy either :) On Mon, Dec 8, 2008 at 4:51 PM, laurent [EMAIL PROTECTED] wrote: Having no contract does not make the none payer a good guy, he apparently does not want to pay. And if he have problems I guess the coder have too, so he should deal with his own stuff as we do here and if he can't he should commnicate about it. But I don't think the problem is here. The best thing is to call a lawyer that will get in contact with him, you won't even have to get to court, the guy will pay straight away. As far as he can't handle dirty hands I guess...but you will win. L Helmut Granda a écrit : Im with Doctor H here, We don't know the details or both parties information about the project, if you are a freelancer/contractor this might harm you in the long run. Granted, you might get the money you are owed but in the end of the day it might be 1+ (many more) possible non clients. Remember that the bad press travels a lot faster than good rep and good rep is always hard to come by. If I read correctly you don't have a written contract which in the end is also a bad practice and you have to take your losses. On Mon, Dec 8, 2008 at 1:13 PM, dr.ache [EMAIL PROTECTED] wrote: Have you ever thought about what that makes for your image? I would encourage you to stay polite and willing to accept their delay as long as it is possible for you. You can deny to work with this client in the future anyways but do not threaten somebody with court or anything before there is no other way around. Have always in mind that there can be a reason you could not even imagine behind that delay. You are dealing with people - just try to image this guy really has problems and dont want you to know about that, or anybody else. When you take him to the court you might get your money but a very very bad image in the head of that guy,too. The other way round - if he finally pays you and he saw that you are flexible he might recommend you the next time. Have the good parts about people in mind, dont make assumtions. My cents... Pete Hotchkiss schrieb: Eamons point about the computer misuse act is not strictly true - you own the site unless a contract exists explicitly licensing full ownership of everything up payment completion. My advise however is to leave the site up and get Thomas Higgins on the case. He's BRILLIANT and has a ni on 100% record for recovering debts. He's completely ruthless and gets results http://www.thomas-higgins.co.uk/ Trust me - use these guys and you'll have you money before the month is out -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Piers Cowburn Sent: 08 December 2008 11:51 To: Flash Coders List Subject: Re: [Flashcoders] My rights - site not paid for. I've been in this situation before and done the same as Paul, it ended up going to a small claims court and the client didn't even turn up for the hearing. I got paid and the costs were covered by the client. Piers On 8 Dec 2008, at 11:38, Paul Steven wrote: Hi Stephen I had a similar situation about a year ago and in this case I had no contract but just emails from the client agreeing on the cost for the work. Anyway I simply made a claim via https://www.moneyclaim.gov.uk/csmco2/index.jsp and I won my case. It was really simple and will cost you nothing as you get all your costs paid for by the customer if you win. I would be reluctant to take the site down as doing so will then mean the customer has nothing to pay for. By leaving the site up and running, you have fulfilled your obligations. Anyway good luck!! Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Matthews Sent: 08 December 2008 11:03 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] My rights - site not paid for. What are my rights ( in the UK ) for taking down a site which has not been paid for? The owner of the company is happy with his site, but is not coughing up. I still have FTP access. He says the site took too long, and makes lots of excuses for not paying - which do not tally. He changed the site drastically at least three times - I think it took too long too, due to this. He is updating the news section and other sections whenever he has new material. I would be interested in your thoughts. This person won an award for being a top business man this year - is this what you have to do to be a top business man - screw people? I am not the kind of person to take this action really, but I may consider it. Thanks S ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] The flash job hunt
* Ask your connections for connections on your city. You might be surprised of them knowing some one in the area. * Contact some one such Aquent. I was in the same position as you are and they helped me to get in the door with some great agencies. For sure you wont get the salary you might get on your own since they have to get paid too but they pay on time and might lead you to new connections. On Mon, Dec 1, 2008 at 10:02 PM, Joel Stransky [EMAIL PROTECTED]wrote: Yeah I'm already compiling a list of local agencies. I had a ton of connections in my last city but I'm new out here in D.C. Just wondering what other avenues there might be. On Mon, Dec 1, 2008 at 9:46 PM, dr.ache [EMAIL PROTECTED] wrote: you should contact agencies... those who are in online advertisement for bigger companies... these guys always have to few people to do all the work. try to get on their freelancer list and work hard - so they can see you can do their work in a short time then it should not be a problem to get work on a regular basis... but do not stick with only one company. instead of show up at maybe three... Joel Stransky schrieb: A bit off topic plus I don't know where to search recent flashcoders archives. I've been living off of freelance work for more than a year now but lately it's getting difficult to drum up contracts. I figured I'd hit up the pros to see how you guys are finding work. Do you have a favorite job listing site? Fond of craigslist? Spending a lot on advertising? I really need to get more work on a steady basis. Thanks for any input. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] [AS3] VIdeo going fullscreen stops
Im sure it has to be my fault, otherwise no one would be able to put videos online, but once a video goes full screen after a few seconds it stops running. I can see the following items on the flashlog although I do not make references to these items on my application. Warning: Reference to undeclared variable, FullScreen_MC' Warning: 'FullScreen_MC' has no property 'FullScreen_text' Warning: FullScreen_text' has no property 'text' Could it be the flash player 10 debug version? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: [AS3] VIdeo going fullscreen stops
it seems like the bare bones version of the video class I was using was causing the issue. I still get the Warnings which I am guessing is a bug within the flash player. Anyone else sees that? On Mon, Dec 1, 2008 at 3:57 PM, Helmut Granda [EMAIL PROTECTED]wrote: Im sure it has to be my fault, otherwise no one would be able to put videos online, but once a video goes full screen after a few seconds it stops running. I can see the following items on the flashlog although I do not make references to these items on my application. Warning: Reference to undeclared variable, FullScreen_MC' Warning: 'FullScreen_MC' has no property 'FullScreen_text' Warning: FullScreen_text' has no property 'text' Could it be the flash player 10 debug version? -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] POSIX error: Too many open files
Anyone has run into this issue? I tried to google the main reason why this happens but not sure how exactly this translates to a flash applcation. in Safari you can see the error listed in the subject. In FF the application just stalls completely. Any links, suggestions or blogs? TIA.. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Access MainTimeline reference from within a component
yeah, still get [object LivePreviewParent]... On Wed, Aug 27, 2008 at 12:00 AM, poste9 [EMAIL PROTECTED] wrote: have u tried this.root ? 2008/8/27 Helmut Granda [EMAIL PROTECTED] Is it possible to access the MainTimeline from within a component? So far I havent been able to access it trying different methods. Most times I get the same result: trace(parent); trace(root); trace(this.parent); trace(this); trace(this.parent.parent); [object LivePreviewParent] [object LivePreviewParent] [object LivePreviewParent] [object MyComponent] [object Stage] But it seems to skip the MainTimeline... basically what I am trying to access is the File name which I can extract with Describe type for the MainTimeline, and of course this is easy with objects on the timeline. I have an init function in a component that tries to get the reference to the MainTimeline but so far no luck... any tips? -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- = Grupo Comunidade de Comunicação Rafael Lúcio 29809.099333, fazendo do seu website uma aplicação em tempo real ms xsl js(dom) css xhtml php mysql pgsql ajax json smarty drupal ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Access MainTimeline reference from within a component
Thanks Leandro... this still gives me the following: [class Stage] [object MovieClip] hum On Wed, Aug 27, 2008 at 12:27 PM, Leandro Amano [EMAIL PROTECTED]wrote: Hi Helmut, try: for(var i:uint; istage.numChildren; i++){ trace(stage.getChildAt(i)); } best regards -- Leandro Amano Digital Bug Chief Creative Officer Adobe Certified Expert Adobe Certified Instructor Adobe User Group Leader On 8/27/08, Helmut Granda [EMAIL PROTECTED] wrote: yeah, still get [object LivePreviewParent]... On Wed, Aug 27, 2008 at 12:00 AM, poste9 [EMAIL PROTECTED] wrote: have u tried this.root ? 2008/8/27 Helmut Granda [EMAIL PROTECTED] Is it possible to access the MainTimeline from within a component? So far I havent been able to access it trying different methods. Most times I get the same result: trace(parent); trace(root); trace(this.parent); trace(this); trace(this.parent.parent); [object LivePreviewParent] [object LivePreviewParent] [object LivePreviewParent] [object MyComponent] [object Stage] But it seems to skip the MainTimeline... basically what I am trying to access is the File name which I can extract with Describe type for the MainTimeline, and of course this is easy with objects on the timeline. I have an init function in a component that tries to get the reference to the MainTimeline but so far no luck... any tips? -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- = Grupo Comunidade de Comunicação Rafael Lúcio 29809.099333, fazendo do seu website uma aplicação em tempo real ms xsl js(dom) css xhtml php mysql pgsql ajax json smarty drupal ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Access MainTimeline reference from within a component
Ok, so my component is being added to a blank FLA, which then it would have MainTimeline as the default name since there is no Document Class. Is there anyway to access the MainTimeline information from a blank FLA from within a component? On Wed, Aug 27, 2008 at 2:45 PM, Eduardo Omine [EMAIL PROTECTED]wrote: I understand that Flash prepends the filename to MainTimeline as a convenience because there's no DocumentClass. MainTimeline is not a class or type definition, it's simply a default name. -- Eduardo Omine http://blog.omine.net/ http://www.omine.net/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Access MainTimeline reference from within a component
Good question... If you use the methtod describeType for the main timeline you are able to extract the file name you are working with. //something like this: trace(describeType(root)); type name=Untitled_fla::MainTimeline Now this has to be done on the timeline, once you try to do describeType(root) from within a movieclip (or a component) you will get the following: trace(describeType(root)); type name=flash.display::MovieClip So I am trying to extract the file name by targeting the MainTimeline does that makes sense? On Wed, Aug 27, 2008 at 3:13 PM, Merrill, Jason [EMAIL PROTECTED] wrote: OK, I'll be the one to ask this. So just curious, since components normally should be decoupled from objects outside themselves (i.e. the main timeline) - what is driving this - is there a better way to re-think this overall or must you really target the main timeline? Jason Merrill Bank of America Enterprise Technology Global Risk LLD Instructional Technology Media Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal Innovative Learning Blog subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Wednesday, August 27, 2008 4:04 PM To: Flash Coders List Subject: Re: [Flashcoders] Access MainTimeline reference from within a component Ok, so my component is being added to a blank FLA, which then it would have MainTimeline as the default name since there is no Document Class. Is there anyway to access the MainTimeline information from a blank FLA from within a component? On Wed, Aug 27, 2008 at 2:45 PM, Eduardo Omine [EMAIL PROTECTED]wrote: I understand that Flash prepends the filename to MainTimeline as a convenience because there's no DocumentClass. MainTimeline is not a class or type definition, it's simply a default name. -- Eduardo Omine http://blog.omine.net/ http://www.omine.net/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Access MainTimeline reference from within a component
I dont think it is hack-is if you get the file name as a reference right before the file is being compiled. IMO... On Wed, Aug 27, 2008 at 3:50 PM, Eduardo Omine [EMAIL PROTECTED]wrote: I think the question is: what do you need the FLA filename for? Relying on filename seems very hack-ish and unreliable -- it's common to have files renamed during the development process and for testing purposes. -- Eduardo Omine http://blog.omine.net/ http://www.omine.net/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Access MainTimeline reference from within a component
It could be.. the only reason for trying to do this is to create a very smart component, thus being able to pick up the file name would have been of a great help for it. But again it seems almost hard to get it if you are trying from somewhere else that is not strictly the timeline. BTW the component is added to the stage and it has visuals so it is not a component that runs in its own window... Thanks for the help, I will continue trying to find other ways to go about it... On Wed, Aug 27, 2008 at 3:52 PM, Merrill, Jason [EMAIL PROTECTED] wrote: Yes, but what I was getting at, if it's a component, why does it need to have access to the main timeline? Components normally shouldn't be that tightly coupled. Could you instead pass a reference to a public property in the component of the filename instead of trying to access the filename from the component itself? Jason Merrill Bank of America Enterprise Technology Global Risk LLD Instructional Technology Media Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal Innovative Learning Blog subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Wednesday, August 27, 2008 4:31 PM To: Flash Coders List Subject: Re: [Flashcoders] Access MainTimeline reference from within a component Good question... If you use the methtod describeType for the main timeline you are able to extract the file name you are working with. //something like this: trace(describeType(root)); type name=Untitled_fla::MainTimeline Now this has to be done on the timeline, once you try to do describeType(root) from within a movieclip (or a component) you will get the following: trace(describeType(root)); type name=flash.display::MovieClip So I am trying to extract the file name by targeting the MainTimeline does that makes sense? On Wed, Aug 27, 2008 at 3:13 PM, Merrill, Jason [EMAIL PROTECTED] wrote: OK, I'll be the one to ask this. So just curious, since components normally should be decoupled from objects outside themselves (i.e. the main timeline) - what is driving this - is there a better way to re-think this overall or must you really target the main timeline? Jason Merrill Bank of America Enterprise Technology Global Risk LLD Instructional Technology Media Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal Innovative Learning Blog subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Wednesday, August 27, 2008 4:04 PM To: Flash Coders List Subject: Re: [Flashcoders] Access MainTimeline reference from within a component Ok, so my component is being added to a blank FLA, which then it would have MainTimeline as the default name since there is no Document Class. Is there anyway to access the MainTimeline information from a blank FLA from within a component? On Wed, Aug 27, 2008 at 2:45 PM, Eduardo Omine [EMAIL PROTECTED]wrote: I understand that Flash prepends the filename to MainTimeline as a convenience because there's no DocumentClass. MainTimeline is not a class or type definition, it's simply a default name. -- Eduardo Omine http://blog.omine.net/ http://www.omine.net/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Embeding JSFL into SWC file, is it possible?
Is it possible to call a JSFL from a SWC file? I tried ExternalInterface just for chucks and giggles but of course it didnt work... is it even possible? -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: Embeding JSFL into SWC file, is it possible?
Still cant do it, but I was able to access the document name with DescribeType... :) On Tue, Aug 26, 2008 at 2:00 PM, Helmut Granda [EMAIL PROTECTED]wrote: Is it possible to call a JSFL from a SWC file? I tried ExternalInterface just for chucks and giggles but of course it didnt work... is it even possible? -- ...helmut -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Access MainTimeline reference from within a component
Is it possible to access the MainTimeline from within a component? So far I havent been able to access it trying different methods. Most times I get the same result: trace(parent); trace(root); trace(this.parent); trace(this); trace(this.parent.parent); [object LivePreviewParent] [object LivePreviewParent] [object LivePreviewParent] [object MyComponent] [object Stage] But it seems to skip the MainTimeline... basically what I am trying to access is the File name which I can extract with Describe type for the MainTimeline, and of course this is easy with objects on the timeline. I have an init function in a component that tries to get the reference to the MainTimeline but so far no luck... any tips? -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] how many coders here actually have a degree related to computer science?
I do have a degree and going back to college for a second degree is part of my TODO list. On Fri, Aug 22, 2008 at 3:40 AM, allandt bik-elliott (thefieldcomic.com) [EMAIL PROTECTED] wrote: so here's a question - if you have spent any amount of time doing the job, would you consider going back and getting degree? On Fri, Aug 22, 2008 at 3:26 AM, Helmut Granda [EMAIL PROTECTED] wrote: Right, and that is why I partially agree with the post I was referring to, specially because life without a college is not for everyone. Going back to my main point I still believe that not having a degree does not necessary mean that you are not motivated. On Thu, Aug 21, 2008 at 7:32 PM, Kerry Thompson [EMAIL PROTECTED] wrote: Helmut Granda wrote: But i still feel that not having a degree shows that you are not motivated. That's a good rule of thumb, and words to live by (and study by). Of course, we can point to the exceptions--Bill Gates dropped out of Harvard, I believe it was--but the odds are heavily in your favor with a degree. From time to time I see reports of studies that show lifetime earnings, and, without exception, average lifetime earnings with a degree are hundreds of thousands of dollars more than without. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] how many coders here actually have a degree related to computer science?
I've been a hiring manager for companies such as Sony and Disney, and the first thing I look at is experience, then a degree--any degree. Though a degree in a relevant field is nice, the fact that you have a degree shows that you're motivated, and can stick with something and see it through to the end. I partially agree with this point. There are many factors and circumstances that can push some one toward not acquiring a degree while building a career. While this may not be all the time if you notice some older people (by that I mean 60+) never had a formal education, yet their drive allowed them to make a name for themselves. Let me give you an illustration so that I can make my point clear in case my words are not able to explain precisely what I am talking about. I know some one that had it made one day his parents flew overseas for vacation and during the trip they died. He had a choice, stay in school or take a job and help his brothers to finish their school. He gave up school and all his brothers and sisters graduated from college, yet he did not finish school. Today he is the owner of his own company and you may never see him come over to your desk to ask you for a job. But i still feel that not having a degree shows that you are not motivated. my 1 cent :) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] how many coders here actually have a degree related to computer science?
Right, and that is why I partially agree with the post I was referring to, specially because life without a college is not for everyone. Going back to my main point I still believe that not having a degree does not necessary mean that you are not motivated. On Thu, Aug 21, 2008 at 7:32 PM, Kerry Thompson [EMAIL PROTECTED]wrote: Helmut Granda wrote: But i still feel that not having a degree shows that you are not motivated. That's a good rule of thumb, and words to live by (and study by). Of course, we can point to the exceptions--Bill Gates dropped out of Harvard, I believe it was--but the odds are heavily in your favor with a degree. From time to time I see reports of studies that show lifetime earnings, and, without exception, average lifetime earnings with a degree are hundreds of thousands of dollars more than without. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS2 Dispatch Custom Event of loaded clip
Hi Juan, Thanks for the tip, it does makes sense since I had to create something similar in a different application in AS3 and your sample works just as expected. Thanks again, Helmut On Sat, Aug 16, 2008 at 5:42 PM, Juan Pablo Califano [EMAIL PROTECTED] wrote: Assuming that modifying the custom application is not possible, but that you can change mySWF.swf, you can use an event manager that acts as a proxy for dispatching events. So, instead of dispatching the event directly from your object, you use the service of a third party. You register to that same third party to listen for events. In order to get it working, you have to make sure that you have just one of these proxies, so you could use a singleton. Really, that's like using a global object, but nevertheless a bit more clean than a plain old enter frame to check whether a propertie is defined, IMHO. In code, it could be something like this: (I'm using GDispatcher, and I'd advise you to use it as well as it has more features than the mx.events.EventDispatcher class, but if you want to go with the mx class, just change the function declarations accordingly, and adjust the parameters in addEventListener when registering for some event) import com.gskinner.events.GDispatcher; class EventManagerProxy { /* event dispatcher API declarations */ public function addEventListener(sEvt:String,oHandler:Object,sFnc:String):Void {} public function removeEventListener(sEvt:String,oHandler:Object,sFnc:String):Void {} public function dispatchEvent(oEvt:Object):Void {} public function removeAllEventListeners(sEvt:String):Void {} public static var STUB_LOADED:String = stubLoaded; private static var _instance:EventManagerProxy = null; private function EventManagerProxy() { GDispatcher.initialize(this); } public static function getInstance():EventManagerProxy { if(!_instance) { _instance = new EventManagerProxy(); } return _instance; } } // In your loader fla... import EventManagerProxy; var evtMgrProxy:EventManagerProxy = EventManagerProxy.getInstance(); function handleStubLoaded(evt:Object):Void { for(var field:String in evt) { trace(field + : + evt[field]); } } evtMgrProxy.addEventListener(EventManagerProxy.STUB_LOADED,this,handleStubLoaded); code.customApplication.load(mySWF.swf, myClip_mc); // In the loaded stub swf, dispatch the event when needed import EventManagerProxy; var evtMgrProxy:EventManagerProxy = EventManagerProxy.getInstance(); evtMgrProxy.dispatchEvent({ type: EventManagerProxy.STUB_LOADED, target: this, stubId: someId -- if you happen to need this! }); Hope it helps. Cheers Juan Pablo Califano 2008/8/16, Helmut Granda [EMAIL PROTECTED]: I have the following: code.customApplication.load(mySWF.swf, myClip_mc); now the custom application does not dispatch any events such as onComplete, this wasnt built in the original application so what I want to do is dispatch an event from mySWF.swf but of course when it is loaded into myClip_mc the ability to add the event listeners is not there since they are not part of myClip_mc but of mySWF.swf. Is there anyway to go around it? I know one way to do it is to have an onEnterFrame checking for one of the properties of mySWF.swf once is loaded TIA... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS2 Dispatch Custom Event of loaded clip
On Sun, Aug 17, 2008 at 4:53 PM, Juan Pablo Califano [EMAIL PROTECTED] wrote: However, in this scenario you're loading an swf into an empty MovieClip (which extends ObservableClip, if I didn't get you wrong). That means that when the swf is loaded, your stager empty MovieClip has lost all of its properties and is just a plain regular MovieClip, so you won't be able to dispatch events from it (since it's not anymore an ObservableClip). Or maybe I missing something here... Cheers Juan Pablo Califano Exactly, and that is why I wasn't able to trigger events from the Movie that is being loaded. But I am curios to see if Steven has another approach that would require less code and would provide the same result. Although the current example (from Juan) seems to be a decent amount of code, i might seem a lot in one post but its not that much if you take away the implementation. -h 2008/8/17, Steven Sacks [EMAIL PROTECTED]: Wow. That's a crazy amount of code for something so simple. Here's what I use: --- import mx.events.EventDispatcher; class net.stevensacks.utils.ObservableClip extends MovieClip { public var addEventListener:Function; public var removeEventListener:Function; private var dispatchEvent:Function; function ObservableClip() { EventDispatcher.initialize(this); } } --- Just have your MovieClip classes extend ObservableClip instead of MovieClip and you can addEventListener and dispatchEvent simply and easily. :) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] top zines/blogs?
Uhnn www.google.com :) On Fri, Aug 15, 2008 at 11:53 AM, Zeh Fernando [EMAIL PROTECTED] wrote: Uhn? http://feeds.adobe.com/ sebastian wrote: hello coders, I was wondering if anyone had a favorite blog and/or zine they are reading? preferably with RSS so I can plug it into my favorite news-paper style RSS reader: http://www.netvibes.com I'm interested in the following areas related to flash/AS2/3/flex: * (new) cutting edge applications / beautiful websites made in above tech. that one shouldn't miss - ie new trends; from a boad type of different flash sites: animation, application, math-art, architectural etc. * news about developments in the above tools, including new source code for case-studied code. example: someone makes a really nice cloud-effect, you can see the demo, and also grab the source. * news about the adobe tools themselves [adobe is planning this on AS4, that on FLEX3 etc.] * news about other websites providing interesting information related to flash/AS/flex. [so on-going hub center, one-point-of-contact to other related zine/blog websites] * news about people/crews who put together new packages/frameworks, example: FUSE for AS3 released, or RED5 new release etc. preferably with frequent updates too... thank you so much!!! Sebastian. http://www.chedal.org ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS2 Dispatch Custom Event of loaded clip
I have the following: code.customApplication.load(mySWF.swf, myClip_mc); now the custom application does not dispatch any events such as onComplete, this wasnt built in the original application so what I want to do is dispatch an event from mySWF.swf but of course when it is loaded into myClip_mc the ability to add the event listeners is not there since they are not part of myClip_mc but of mySWF.swf. Is there anyway to go around it? I know one way to do it is to have an onEnterFrame checking for one of the properties of mySWF.swf once is loaded TIA... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Please help! quick bug fix needed, how to change Stage reference
If you are loosing reference to the stage you can just pass it as a parameter to the new object you are instatiating. You can also set it as a variable that all objects have access. Singleton could be a good idea. On Thu, Aug 7, 2008 at 5:28 AM, Ali Drongo [EMAIL PROTECTED] wrote: Hi everyone, sorry to flood the list with requests, I will put a bit back soon ;) I have created SWF that loads another SWF into it. This loaded SWF contains a movie clip that behaves like a camera zooming round the stage. This works fine when I load the external SWF in. My problem is that now I need to have everything in one SWF but when I import the external SWF into the library the camera effect stops working. I think this is something to do with the reference to the stage though I have no idea how to get around this and the project is already overdue. If someone could help out with this soon I would be so grateful. Thanks, Ali Here's the code for the camera: function camControl():Void { trace(_parent._currentframe); parentColor.setTransform(camColor.getTransform()); var scaleX:Number = sX/this._width; var scaleY:Number = sY/this._height; _parent._x = cX-(this._x*scaleX); _parent._y = cY-(this._y*scaleY); _parent._xscale = 100*scaleX; _parent._yscale = 100*scaleY; } function resetStage():Void { var resetTrans:Object = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}; parentColor.setTransform(resetTrans); _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; } // make frame invisible this._visible = false; // Capture stage parameters var oldMode:String = Stage.scaleMode; Stage.scaleMode = exactFit; var cX:Number = Stage.width/2; var cY:Number = Stage.height/2; var sX:Number = Stage.width; var sY:Number = Stage.height; Stage.scaleMode = oldMode; // create color instances for color // transforms (if any). var camColor:Color = new Color(this); var parentColor:Color = new Color(_parent); // Make the stage move so that the // v-cam is centered on the // viewport every frame this.onEnterFrame = camControl; // Make an explicit call to the camControl // function to make sure it also runs on the // first frame. camControl(); // If the v-cam is ever removed (unloaded) // the stage, return the stage to the default // settings. this.onUnload = resetStage; ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Streaming FLV stops playing early
Hi Joe, I dont have experience with the limelight server but it seems to me that there is an error in your current set up since you say that you have done this before and never run into this issue. If you test one of your older projects, do you run into the same issue? If you don't then i would compare an old project with this one and see where the failure is. my 2c. On Fri, Aug 1, 2008 at 8:47 AM, Joseph McHeffey [EMAIL PROTECTED]wrote: Hey All, I'm working with streaming FLVs and am running into a big problem when streaming from a limelight server. It seems that the video and audio stop about 2 seconds early at which point it calls 'NetStream.Play.Stop'. The stream seems to stay open, however, as it goes on to call 'NetStream.Buffer.Flush' when its supposed to. I'm using an AS2 class I've used many times before to stream the FLVs off this same server and have never run into this problem. The basic settings I used to convert the FLVs are: On2 VP6 Encode Alpha 450 Kbs 12 FPS Keyframe - auto Your help is greatly appreciated! Thanks, Joe ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Modifying movieclip property kills tween
You are allowed to change the properties of an object but if you want to change the properties of an object that is animated on the timeline you have to have a wrapper so that the effects applied to the wrapper are being passed down to its children. Now you can change the properties during playtime using code.. try something like this: square.addEventListener(Event.ENTER_FRAME, enterFrame); function enterFrame ( e : Event ) { square.x += 1; } square2.addEventListener ( MouseEvent.MOUSE_DOWN, mouseDown ); function mouseDown ( e : MouseEvent ) { square.y = 40; square.alpha = 0.4; } you will notice that the square will continue to move accross the screen and at the same time change its y property and alpha. On Wed, Jul 30, 2008 at 11:28 PM, Boon Chew [EMAIL PROTECTED] wrote: Hmm, this doesn't make sense. The property of an object should be allowed to change since it's not changed during an actual tween. Also, the property involved is not what's being tweened, so why would it nullify a tween done on it at a different time? - boon --- On Wed, 7/30/08, Helmut Granda [EMAIL PROTECTED] wrote: From: Helmut Granda [EMAIL PROTECTED] Subject: Re: [Flashcoders] Modifying movieclip property kills tween To: Flash Coders List flashcoders@chattyfig.figleaf.com Date: Wednesday, July 30, 2008, 1:49 PM This is the proper behavior since you are overriding the properties of the object itself. Such as if you were overriding the x, y, scale properties. You can wrap the object into a container and edit the properties of the container that then will be reflected into its child, in this case the box. On Wed, Jul 30, 2008 at 2:13 PM, Boon Chew [EMAIL PROTECTED] wrote: Hi all, I ran into something strange whereby if I modify a movieclip's property (say alpha), it would kill the tween that will take place later that involves the movieclip. Wonder if anyone has run into this? 1) In a test FLA, create a movieclip called test. Inside test, create two frames, start on frame 2 and end on whatever (say frame 30). 2) Put a movieclip called box on timeline and tween it from start to end. 3) In the main timeline, add this: stage.addEventListener(MouseEvent.MOUSE_DOWN, click); function click(event:MouseEvent):void { test.box.alpha = 1; // -- changing alpha value causes the tween to stop working, comment this out and tween works test.gotoAndPlay(start); // tween test.box by moving it across the stage } - boon ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OT: Questions to ask an interviewee
How would Apple want to buy Adobe when they dont even want to use the Flash Plugin in their IPhone/ITouch? and Google? is this rumor floating around? because personally this is the first time I hear about this idea... On Wed, Jul 30, 2008 at 8:06 AM, S0 F1 [EMAIL PROTECTED] wrote: You should ask to see source/code before an interview - then you'll know beforehand whether to proceed or not. Also, ask where they see Adobe going and whether it'll be Apple or Google that eventually buys Adobe out? I say Apple, but you never know with Google. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3: Video player scrubber doesnt work until reload?
I havent seen your code but for what you are describing the scrubber wont work because it doesnt have the information it needs in the initial load to scrub, that is why when you reload the page it works. You need to edit your code so that the scrubbing works in the initial load only in the section that it has been loaded so if 10% is loaded the scrub will only work in that 10% area and so forth. Unless you have access to a streaming server that will allow you to scrub in real time by loading content as needed (as seen in YT and such). On Wed, Jul 30, 2008 at 11:41 AM, Matt S. [EMAIL PROTECTED] wrote: So I've got a fairly standard video player, using code adapted from Brimelow et al, but the problem I'm runnign into is that the first time the page loads, it plays the video just fine, but the scrubber doesnt work. Once I reload the page, it loads fine and the scrubber kicks in. Has anyone else encountered this? Some of the code is below... thx, .matt - public function VideoModule(myR,vD) { trace(Video Module Loaded); // myRoot = myR; myVideo = vD; _videoStarted = false; // displayHours = true; // _videobg = new Sprite(); _videobg.name = bg; _videobg.graphics.lineStyle(); _videobg.graphics.beginFill(0xFF); _videobg.graphics.drawRect(0,0,10,10); _videobg.graphics.endFill(); _videobg.visible = false; addChild(_videobg); // _video = new Video(80,60); // _playbackTime = new Timedisplay(); _playbackTime.visible = false; _duration = 0; // //ADD THE PLAY/PAUSE BTN _pausebtn = new Pausebtn(); _pausebtn.name = pausebtn_mc; _pausebtn.mouseEnabled = true; _pausebtn.useHandCursor = true; _pausebtn.buttonMode = true; _pausebtn.visible = false; addChild(_pausebtn); // var connection:NetConnection = new NetConnection(); connection.connect(null); _stream = new NetStream(connection); _stream.bufferTime = 1; _stream.play(vD); var client:Object = new Object(); client.onMetaData = onMetaData; _stream.client = client; _video.attachNetStream(_stream); _video.x = 0; _video.y = 0; _video.visible = false; addChild(_video); addChild(_playbackTime); // //this timer restarts the video after it has been paused by the resizer resTimer = new Timer(700,1); resTimer.addEventListener(timer, restartVideo); //activate Listeners addListeners(); } public function addListeners():void { _stream.addEventListener(NetStatusEvent.NET_STATUS,onStatus); //_stream.addEventListener(NetStatusEvent.NET_STATUS, onNetStatusEvent, false, 0, true); addEventListener(Event.ENTER_FRAME,onEnterFrame); _pausebtn.addEventListener(MouseEvent.MOUSE_DOWN,pausePlay); myRoot.stage.addEventListener( Event.RESIZE, videoResizer ); } // private function onMetaData(data:Object):void { _duration = data.duration; } private function onEnterFrame(event:Event):void { if (_duration 0 _stream.time 0) { var nowSecs:Number = Math.floor(_stream.time); var totalSecs:Number = Math.round(_duration); /*if (nowSecs totalSecs-.2) { _stream.seek(0); _stream.pause(); _pausebtn.gotoAndStop(2); _playbackTime.txt.text = 00:00:00; }*/ _playbackTime.txt.text = videoTimeConvert(nowSecs);// + / + videoTimeConvert(totalSecs); } }
Re: [Flashcoders] Modifying movieclip property kills tween
This is the proper behavior since you are overriding the properties of the object itself. Such as if you were overriding the x, y, scale properties. You can wrap the object into a container and edit the properties of the container that then will be reflected into its child, in this case the box. On Wed, Jul 30, 2008 at 2:13 PM, Boon Chew [EMAIL PROTECTED] wrote: Hi all, I ran into something strange whereby if I modify a movieclip's property (say alpha), it would kill the tween that will take place later that involves the movieclip. Wonder if anyone has run into this? 1) In a test FLA, create a movieclip called test. Inside test, create two frames, start on frame 2 and end on whatever (say frame 30). 2) Put a movieclip called box on timeline and tween it from start to end. 3) In the main timeline, add this: stage.addEventListener(MouseEvent.MOUSE_DOWN, click); function click(event:MouseEvent):void { test.box.alpha = 1; // -- changing alpha value causes the tween to stop working, comment this out and tween works test.gotoAndPlay(start); // tween test.box by moving it across the stage } - boon ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Random numbers list
No, that is not the only way you can target a path in the MAC. for example I different projects some require to distribute the PPV classes with the project so i add the classes inside the same folder I am working on. /Application.as /src/ /src/ppvclasses Then in my application I just do: import org.papervision3d.cameras.FreeCamera3D But if I am just testing it doesnt matter where the classes are as long as I target the class path properly. If you are still having issues I would recommend to read the following document: http://livedocs.adobe.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=1075.html On Tue, Jul 29, 2008 at 9:21 AM, Ron Wheeler [EMAIL PROTECTED] wrote: If you do not care if the sequences repeat, you could fill an array with the numbers from 1 to 100 arranged in a random order. When you want to grab 10, just pick a random integer between 0 and 89 and grab the block of 10 numbers following that point. This would charge a penalty once when you loaded the 100 but your refresh of the 10 would be very fast. You could have a counter on the array of 100 and every so often (after 10-50 blocks of 10 used) regenerate the sequence of 100 if you want to avoid repeating the same sequence. Ron laurent wrote: yes like: allNumbers:Array = [ 0, 1, 2, 3, ..., 100 ]; tenNumbers:Array = []; public function getNumberIn():void{ var n:int = tenNumbers.splice( int( Math.random * 10 ), 1 ); tenNumbers.push( allNumbers.splice( int( Math.random * allNumbers.length ), 1 ) ); allNumbers.push( n ); } Could be like that. ;) L Eduardo Barbosa a écrit : Hi Laurent, Your first suggestion is a very simple and clever trick i'll definetely keep in mind for future situations. However for this second variation you mean that I: 1) pick the numbers out of array 1 and splice it 2) move those numbers into array 2 3) when the length of array 1 would be 10 i would start picking the numbers out of array 2 and do the inverse. Is this what you mean? On Mon, Jul 28, 2008 at 11:01 PM, laurent [EMAIL PROTECTED] wrote: still it can be done like that you always keep the number of numbers between two arrays... and swap numbers from one to another, that your sure to neve have twice the same one yeah...! :] L Eduardo Barbosa a écrit : Hi all! What I am trying to figure out is this: How to generate a sequence of random numbers where the newest is always different from all the previous? I need to continuosly rewrite an array of 10 random numbers in such a way that at any given time they are all different. Let's say that my range is 0 to 100 it starts with random numbers, all different: {3, 34, 12, 69, 6, 44, 31, 90, 88, 23} at a set interval some values are replaced by new ones so there are never two equal numbers, so, after 2 seconds it may look like this: {3, 66, 12, 79, 6, 44, 10, 81, 88, 23} Any ideas? Thanks :) Eduardo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Random numbers list
wrong thread... oh my and its only tuesday! On Tue, Jul 29, 2008 at 9:57 AM, Helmut Granda [EMAIL PROTECTED]wrote: No, that is not the only way you can target a path in the MAC. for example I different projects some require to distribute the PPV classes with the project so i add the classes inside the same folder I am working on. /Application.as /src/ /src/ppvclasses Then in my application I just do: import org.papervision3d.cameras.FreeCamera3D But if I am just testing it doesnt matter where the classes are as long as I target the class path properly. If you are still having issues I would recommend to read the following document: http://livedocs.adobe.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=1075.html On Tue, Jul 29, 2008 at 9:21 AM, Ron Wheeler [EMAIL PROTECTED] wrote: If you do not care if the sequences repeat, you could fill an array with the numbers from 1 to 100 arranged in a random order. When you want to grab 10, just pick a random integer between 0 and 89 and grab the block of 10 numbers following that point. This would charge a penalty once when you loaded the 100 but your refresh of the 10 would be very fast. You could have a counter on the array of 100 and every so often (after 10-50 blocks of 10 used) regenerate the sequence of 100 if you want to avoid repeating the same sequence. Ron laurent wrote: yes like: allNumbers:Array = [ 0, 1, 2, 3, ..., 100 ]; tenNumbers:Array = []; public function getNumberIn():void{ var n:int = tenNumbers.splice( int( Math.random * 10 ), 1 ); tenNumbers.push( allNumbers.splice( int( Math.random * allNumbers.length ), 1 ) ); allNumbers.push( n ); } Could be like that. ;) L Eduardo Barbosa a écrit : Hi Laurent, Your first suggestion is a very simple and clever trick i'll definetely keep in mind for future situations. However for this second variation you mean that I: 1) pick the numbers out of array 1 and splice it 2) move those numbers into array 2 3) when the length of array 1 would be 10 i would start picking the numbers out of array 2 and do the inverse. Is this what you mean? On Mon, Jul 28, 2008 at 11:01 PM, laurent [EMAIL PROTECTED] wrote: still it can be done like that you always keep the number of numbers between two arrays... and swap numbers from one to another, that your sure to neve have twice the same one yeah...! :] L Eduardo Barbosa a écrit : Hi all! What I am trying to figure out is this: How to generate a sequence of random numbers where the newest is always different from all the previous? I need to continuosly rewrite an array of 10 random numbers in such a way that at any given time they are all different. Let's say that my range is 0 to 100 it starts with random numbers, all different: {3, 34, 12, 69, 6, 44, 31, 90, 88, 23} at a set interval some values are replaced by new ones so there are never two equal numbers, so, after 2 seconds it may look like this: {3, 66, 12, 79, 6, 44, 10, 81, 88, 23} Any ideas? Thanks :) Eduardo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] setting up papevision 3d or any other class on cs3 mac osx
No, that is not the only way you can target a path in the MAC. for example I different projects some require to distribute the PPV classes with the project so i add the classes inside the same folder I am working on. /Application.as /src/ /src/ppvclasses Then in my application I just do: import org.papervision3d.cameras.FreeCamera3D But if I am just testing it doesnt matter where the classes are as long as I target the class path properly. If you are still having issues I would recommend to read the following document: http://livedocs.adobe.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=1075.html On Tue, Jul 29, 2008 at 9:19 AM, Gustavo Duenas [EMAIL PROTECTED] wrote: HI Helmut, well, is only when I try to connect them from outside, I mean using the class path of flash, someone told that this is the way they are written...I mean the : notation instead of /, how could I pass that? but then what is the correct class path. and by the way it is only happening when I'm using the papervision 3d classes. any ideas. anyway this is the error reported: 1046: Type was not found or was not a compile-time constant: Viewport3D. and happens the same with all the code. Regards, Gustavo On Jul 28, 2008, at 10:15 PM, Helmut Granda wrote: are you having issues with ALL classes or is it only with Papervision? if it is only with Papervision i would assume that you are using the path wrong. On Mon, Jul 28, 2008 at 8:55 PM, gduenas [EMAIL PROTECTED]wrote: Hi Helmut, do you mean the cs3?, maybe, I sould have this installed better maybe? I've just downloaded the classes today earl.y in the afternoon, and I don't know why this one doesn't want to read the classes, look, I went to preferences, tab actionscript, choose as3, then in the class path the + sign and I used the scope to try to find where is the classes, Then I left as is: macintosh hd:users:mafeMallarino:desktop:flash:actionscript is that way right, I have the same problem with the version 8 and cs3 of flash with the loading of the classes...there is another way to do this, because I'm so unable to run the papervision 3d. Regards, Gustavo Helmut Granda writes: No issues here in 3 machines... maybe a corrupted program? On Mon, Jul 28, 2008 at 1:32 PM, Gustavo Duenas [EMAIL PROTECTED] wrote: Any ideas, I've been trying the regular way, so it seems weird enough , any ideas why my mac doesn't want to rdead external classes from the preference panel on the cs3? regards, Gustavo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] MouseEvent [whole function]
could you elaborate on your question? Here is the whole function i use to, adding the same listeners to another object fires those without any prblems :| can someone explain to me what is wrong? I personally dont understand correctly what you are trying to achieve... On Tue, Jul 29, 2008 at 2:07 PM, Patrick J. Jankun [EMAIL PROTECTED] wrote: Here is the whole function i use to, adding the same listeners to another object fires those without any prblems :| can someone explain to me what is wrong? private function initNav() : void { navHolder = new Sprite; navHolder.addEventListener(MouseEvent.MOUSE_OVER, navOnMouseOver); navHolder.addEventListener(MouseEvent.MOUSE_OUT, navOnMouseOut); navHolder.addEventListener(MouseEvent.CLICK, navOnMouseClick); navHolder.addEventListener(Event.MOUSE_LEAVE, navOnMouseOut); for (var i : int = 0;i navItemsTxt.length;i++) { var nav_item : MovieClip = new navItem as MovieClip; nav_item.tf.text = navItemsTxt[i]; nav_item.tf.selectable = false; nav_item.bg.alpha = .2; nav_item.y += (nav_item.height + vertGap) * i; navHolder.addChild(nav_item); } navHolder.x = 20; navHolder.y = stage.stageHeight - navHolder.height - 20; stage.addEventListener(Event.RESIZE, stageResized); addChild(navHolder); } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] MouseEvent [whole function]
On Tue, Jul 29, 2008 at 4:00 PM, Patrick J. Jankun [EMAIL PROTECTED] wrote: Hi Helmut, It seems, that objects loaded through an .swf from an different domain, does not dispatch any events :| so that's why my code is wrong. I assume you have checked all the cross domain policies and you are able to communicate between your SWFs from different domains What i meant, was: the function i posted, generates an simple navigation using an class loaded from an .swf (different domain) through the Bulkloader (which essentially does the same what the Loader class does, with some nice extras) var nav_item : MovieClip = new navItem as MovieClip; I am familiar with BulkLoader and you can cast the elements loaded to something different than a Movieclip if you need to. This casts the class loaded from that .swf as MovieClip, and it seems to be the problem, what i don't understand is, i actually don't add the event listener to this objects, but to the holder containing it, hence it still should fire the event, but it does not :| navItem = assets.loaderInfo.applicationDomain.getDefinition(navItem) as Class; picThumb = assets.loaderInfo.applicationDomain.getDefinition(picThumb) as Class; Have you checked your NavItem to make sure it works properly by itself before loading it between SWFs? here i initialize the loaded .swf's symbols from the library as Class, maybe my approach is simply wrong, Any tips on that? Sometimes it is hard to see the whole picture by getting code from here and there and since I haven't run into this specific error not sure what else could it be. The logic behind it seems to me like it should work but maybe you are not instantiating the NavItem class when it is loaded or something else. I hope you can get more ideas from the list On Jul 29, 2008, at 10:32 PM, Helmut Granda wrote: could you elaborate on your question? Here is the whole function i use to, adding the same listeners to another object fires those without any prblems :| can someone explain to me what is wrong? I personally dont understand correctly what you are trying to achieve... On Tue, Jul 29, 2008 at 2:07 PM, Patrick J. Jankun [EMAIL PROTECTED] wrote: Here is the whole function i use to, adding the same listeners to another object fires those without any prblems :| can someone explain to me what is wrong? private function initNav() : void { navHolder = new Sprite; navHolder.addEventListener(MouseEvent.MOUSE_OVER, navOnMouseOver); navHolder.addEventListener(MouseEvent.MOUSE_OUT, navOnMouseOut); navHolder.addEventListener(MouseEvent.CLICK, navOnMouseClick); navHolder.addEventListener(Event.MOUSE_LEAVE, navOnMouseOut); for (var i : int = 0;i navItemsTxt.length;i++) { var nav_item : MovieClip = new navItem as MovieClip; nav_item.tf.text = navItemsTxt[i]; nav_item.tf.selectable = false; nav_item.bg.alpha = .2; nav_item.y += (nav_item.height + vertGap) * i; navHolder.addChild(nav_item); } navHolder.x = 20; navHolder.y = stage.stageHeight - navHolder.height - 20; stage.addEventListener(Event.RESIZE, stageResized); addChild(navHolder); } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] mouseEnabled issue
for (var i : int = 0;i navHolder.numChildren;i++) { var mc : Object ; mc = navHolder.getChildAt(i); if (mc != itemClicked ) { mc.mouseEnabled = false; } } Also it is a good idea to share what the compile error is, that will help us out to identify exactly what the issue is. :) On Tue, Jul 29, 2008 at 6:25 PM, Glen Pike [EMAIL PROTECTED]wrote: Hi, You may need to cast your object as I think you get a DisplayObject back from getChildAt(i) so something like this? for (var i : int = 0;i navHolder.numChildren;i++) { var tmp:InteractiveObject = navHolder.getChildAt(i) as InteractiveObject; if(tmp !(tmp == itemClicked)) { Tweener.addTween(tmp, {alpha:0, time:.5}); tmp.mouseEnabled = false; // not working - gives me an compile error } } Glen Patrick J. Jankun wrote: Hi Everyone, once again I run into another [probably very easy to solve] issue with my code: Through an simple for loop, i fade out all items inside an holder, leaving only one that was clicked, here you can see the loop doing it: for (var i : int = 0;i navHolder.numChildren;i++) { if(!(navHolder.getChildAt(i) == itemClicked)) { Tweener.addTween(navHolder.getChildAt(i), {alpha:0, time:.5}); navHolder.getChildAt(i).mouseEnabled = false; // not working - gives me an compile error } } this does what it's suppose to do, but i want to prevent items that are fade away from dispatching any mouse events, i thought, that adding this line would solve it, but now i got an compile error with an info that i try to access an possibly not existent property :| navHolder.getChildAt(i).mouseEnabled = false; I don't know if my approach is right here, but i thought, that accessing children properties would be possible this way, obviously i'm wrong, has anyone got an tip or an solution for me? Thank you in advance! Patrick ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] DART AS3
I am going to shoot this out to the dark and see if anyone has been able to deploy AS3 banners in the DartMotif platform ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] DART AS3
Thanks Manuel for the feedback... do you know if there is a work around this limits? You know one of those AS3 complex banners that was supposed to be deployed yesterday and no time to switch back to AS2? On Mon, Jul 28, 2008 at 3:50 PM, Manuel Ponce de Leon [EMAIL PROTECTED] wrote: Helmut, The DART Motif platform does not support AS3 at this point. Will do in early 2009. Helmut Granda wrote: I am going to shoot this out to the dark and see if anyone has been able to deploy AS3 banners in the DartMotif platform ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Manuel Ponce de Leon :: Rich Media Customer Solutions Consultant :: Google :: [EMAIL PROTECTED] :: ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] setting up papevision 3d or any other class on cs3 mac osx
are you having issues with ALL classes or is it only with Papervision? if it is only with Papervision i would assume that you are using the path wrong. On Mon, Jul 28, 2008 at 8:55 PM, gduenas [EMAIL PROTECTED]wrote: Hi Helmut, do you mean the cs3?, maybe, I sould have this installed better maybe? I've just downloaded the classes today earl.y in the afternoon, and I don't know why this one doesn't want to read the classes, look, I went to preferences, tab actionscript, choose as3, then in the class path the + sign and I used the scope to try to find where is the classes, Then I left as is: macintosh hd:users:mafeMallarino:desktop:flash:actionscript is that way right, I have the same problem with the version 8 and cs3 of flash with the loading of the classes...there is another way to do this, because I'm so unable to run the papervision 3d. Regards, Gustavo Helmut Granda writes: No issues here in 3 machines... maybe a corrupted program? On Mon, Jul 28, 2008 at 1:32 PM, Gustavo Duenas [EMAIL PROTECTED] wrote: Any ideas, I've been trying the regular way, so it seems weird enough , any ideas why my mac doesn't want to rdead external classes from the preference panel on the cs3? regards, Gustavo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Nested MC relative position in AS2 (rotated clip)- localToGlobal?
is the holder clip the same size as the nested clip? It sounds to me like the nested clip is rotated and in a awkward position and that is why you are not getting the results you desire. On Sun, Jul 27, 2008 at 6:08 AM, ali drongo [EMAIL PROTECTED]wrote: Hi there, thanks for checking my post. I have a rectangular movie clip that is nested inside of another clip. I want to scale, rotate and reposition the holder clip so that the nested movieclip is the same size as the stage. This sounds like quite an easy thing to do but the rotation makes everything go awry! If someone could suggest how to code this or point me in the direction of some advice or tutorials it would make my weekend :) Thanks guys, Ali ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Best Practices for Flash Video and Flash SiteDelivery AS3
I am also picking up some errors so that is why your site might be freezing in certain circumstances... --deleted some CSS tracing statements you had on your app. NetStream.Play.Start NetStream.Buffer.Full boogers makeDead makeDead makeDead caught collapseEnd caught TypeError: Error #1009: Cannot access a property or method of a null object reference. at on_demand_fla::MainTimeline/infoScale() at on_demand_fla::MainTimeline/frame1() TypeError: Error #1009: Cannot access a property or method of a null object reference. at on_demand_fla::MainTimeline/onComplete() ArgumentError: Error #2015: Invalid BitmapData. at flash.display::BitmapData() at pixelfumes.reflect::Reflect() at on_demand_fla::MainTimeline/addReflection() at VidThumb/onComplete() caught 1 VideoError: 1004: Invalid source at fl.video::NCManager/connectToURL() at fl.video::VideoPlayer/ http://www.adobe.com/2007/flash/flvplayback/internal::_load() at fl.video::VideoPlayer/play() at fl.video::FLVPlayback/doContentPathConnect() at fl.video::FLVPlayback/set source() at on_demand_fla::MainTimeline/stopVideo() 5 onMenuItemClick caught onMenuItemClick 2 onMenuItemClick onSubItemClick On Demand Video makeDead makeDead makeDead caught TypeError: Error #1009: Cannot access a property or method of a null object reference. at on_demand_fla::MainTimeline/infoScale() at on_demand_fla::MainTimeline/frame1() TypeError: Error #1009: Cannot access a property or method of a null object reference. at on_demand_fla::MainTimeline/onComplete() ArgumentError: Error #2015: Invalid BitmapData. at flash.display::BitmapData() at pixelfumes.reflect::Reflect() at on_demand_fla::MainTimeline/addReflection() at VidThumb/onComplete() collapseEnd On Fri, Jul 25, 2008 at 4:42 AM, Paul Andrews [EMAIL PROTECTED] wrote: Da.vid, First of all congratulations on a VERY impressive design. Your client must be impressed - I certainly am. Mostly it works well on my XP laptop. If you send out 15,000 email links to subscribers it's certain that with even the most perfect website, there may be complaints. Out of 15,000 users there are bound to be a few users whose browser crashes while your website is playing video, or their PC locks up (even though it's been doing that anyway from time to time), or they pick up some virus from an email just before they look at your site and they blame you. You should explain this to your boss and prepare him for expecting a few emails perhaps. I run the flash debug player and I am picking up a lot of errors and I think that while most of the target users won't see these errors, it would be a good idea to try and deal with them. Check out your flash log! For example: TypeError: Error #1009: Cannot access a property or method of a null object reference. at on_demand_fla::MainTimeline/infoScale() at on_demand_fla::MainTimeline/frame1() TypeError: Error #1009: Cannot access a property or method of a null object reference. at on_demand_fla::MainTimeline/onComplete() ArgumentError: Error #2015: Invalid BitmapData. at flash.display::BitmapData() at pixelfumes.reflect::Reflect() at on_demand_fla::MainTimeline/addReflection() at VidThumb/onComplete() etc.. Good luck with the site, I'm sure it's going to be a big success. Paul - Original Message - From: David Rogers [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, July 24, 2008 8:02 PM Subject: [Flashcoders] Best Practices for Flash Video and Flash SiteDelivery AS3 Hello All, This is a long one, but PLEASE, PLEASE, read and help. I've recently built a fairly complex flash website in ActionScript 3.0 that uses a main .swf to load each individual page of the site. Some of those pages have video progressively downloading through them. In the future we plan on having many, many videos available for viewing on our site. snip We will be doing a massive email blast for the new site to over 15,000 people in our database. We wish to get business from the site so it is important that my boss doesn't get any phone calls or emails about the site crashing. He will.. So, all that being said, the following is a list of unwanted behaviors the site displays I didn't see any of them. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript
If I was in your case (and as you commented the debugger is the one that prompts you for the error) I would delete the library items in chucks of say 50 or even 100, then debug, if he debugger doesn't say that it cant compile the movie because you dont have AS in it, then you move to the next set. and so forth. That will allow you to find your asset quite faster rather than going one by one and finding out that your problem is in asset #294.. On Thu, Jul 24, 2008 at 11:51 AM, Joe Cutting [EMAIL PROTECTED] wrote: What you've got here is the case of a corrupted library item. It happens sometimes and there's only one thing you can do about it. What we had to (and you have to) do is go through your library symbols one by one, deleting each one until you find the sucker, and then replacing it if need be. Thank you for this. It's good to know that I'm not the only one who's had this. I also gives me some way of looking for the problem. Currently my library has 297 items and removing them isn't straightforward because they're referenced in the code so it creates knock on errors. So it may all take some time. Presumably this type of thing will get better with flash CS4 as .fla files will become an open XML based format and we'll be able to write out our own validators/checkers. Cheers Joe Joe Cutting Computer exhibits and installations www.joecutting.com 35 Hospital Fields Road, York, YO10 4DZ 01904 624681 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Resizing Images
you need the bitmap class: import flash.display.Bitmap; On Thu, Jul 24, 2008 at 1:01 PM, Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED] wrote: The class or interface 'Bitmap' could not be loaded -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt S. Sent: Thursday, July 24, 2008 1:09 PM To: Flash Coders List Subject: Re: [Flashcoders] Resizing Images On Thu, Jul 24, 2008 at 12:50 PM, Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED] wrote: I get an error on: var b:Bitmap; It allows for BitmapData? What error did you get? .m ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript
The question now is, how do files in the library can become so corrupted? This would help to avoid it I hope. On Wed, Jul 23, 2008 at 1:31 PM, Steven Sacks [EMAIL PROTECTED] wrote: Welcome to the seedy underbelly of Flash development. What you've got here is the case of a corrupted library item. It happens sometimes and there's only one thing you can do about it. Not too long ago, my team inherited a Flash 8 file with a corrupted library item that was so terribly corrupted, the Flash 8 file would only open in Flash CS3 on an old G4 Mac running OSX Jaguar. Yes, it was that specific (We assumed that the original file was probably built on that system spec). It would not open in Windows Flash 8 or CS3, it would not open on any Mac Flash 8 or CS3 running a version of OSX higher than Jaguar. What we had to (and you have to) do is go through your library symbols one by one, deleting each one until you find the sucker, and then replacing it if need be. Thankfully, you can open your file directly. We had to open the file in Flash CS3 (which is bloated and slow) on that slow old Mac with 256MB RAM, delete a symbol, save as a new Flash file, copy said file to the network drive, and try to open it from another computer, rinse repeat, until we found the graphic that was causing it. It took us a few hours. Good luck! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 shop
You still the back end programming for interacting with the database to store inventory, passwords, information and such (PHP, ASP, CF..) or can you connect directly with Flex? On Wed, Jul 23, 2008 at 1:48 PM, Steven Sacks [EMAIL PROTECTED] wrote: Is you or ain't you a developer? If you know AS3, and you found an AS2 solution, why don't you port it to AS3? If you're making an online shop though, might I recommend Flex, which has lots of great libraries available for e-commerce. Here's a bonus - it's AS3! :) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] flash project with Ecard component
Your friend is correct, you can encode the message in the URL but what is the final objective of this project. You mention that you are working on a project that has an ecard commponent. So do you mean that you already have a component that you are plugin in or that you have to develop a component for the ecard project?. Also like i said it all depends on what you want to do, do you want to save users messages, email address, tracking and such? then for scalability I would recommend a Database rather than flat files (or text files) specially if you are talking about the thousands here. You can use an XML file as well and it is just a personal preference but if I am going to use an XML file as a database why not just use a Database? my 3c On Wed, Jul 23, 2008 at 2:49 PM, [EMAIL PROTECTED] wrote: Hi, just begining a project which has an ecard component to it. the user choses an ecard and sends it with a personalized message the recepient receives a custom url with the message. I was curious if anyone had done something similar or any ideas on how to go about this? I'm having trouble deciding what technology to use (database xml or text files) to store the data in. a webdeveloper friend of mine says the message could be encoded in the url itself, if anyone out there has any prior experience with ecards and what technology to use for data management It would be great to find out any piece of knowledge that's out there on this subject thanks! ~laura Flashutvikler ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Detecting Stage width and height after refresh
Hello all, I have a small dilema, my application is working properly and I am relying on Stage width and height to position some elements. FOr some odd reason when I refresh my movie the stage width and height render 0. Is there any specific reason why this usually happens? OSX FF ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Detecting Stage width and height after refresh
DATA = Data.instance;// Holds Data information for the app DATA.stageWidth = stage.stageWidth; DATA.stageHeight = stage.stageHeight; On Tue, Jul 22, 2008 at 11:33 AM, Kenneth Kawamoto [EMAIL PROTECTED] wrote: It works fine for me every time. What is your code look like? Kenneth Kawamoto http://www.materiaprima.co.uk/ Helmut Granda wrote: Hello all, I have a small dilema, my application is working properly and I am relying on Stage width and height to position some elements. FOr some odd reason when I refresh my movie the stage width and height render 0. Is there any specific reason why this usually happens? OSX FF ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Detecting Stage width and height after refresh
Yeah, I found a similar post from some one else and they had a similar error in IE6 or 7, but FF was ok. Strange... On Tue, Jul 22, 2008 at 12:09 PM, Paul Evans [EMAIL PROTECTED] wrote: On 22 Jul 2008, at 17:17, Helmut Granda wrote: FOr some odd reason when I refresh my movie the stage width and height render 0. Is there any specific reason why this usually happens? OSX FF I had similar problem a while back on a pure AS3 project, but it only manifested in IE 6 to my knowledge. Essentially you need to listen for and act upon resize events if the issue is the same as mine. I posted fix code to the comments... http://blog.creacog.co.uk/2007/12/02/strange-stage-size-problem-but-only-in-ie6/ -- Paul Evans http://www.creative-cognition.co.uk/ http://blog.creacog.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Detecting Stage width and height after refresh
yeah, I am tracing the stage size and that is how I am finding out that the values go back to 0. thanks for the suggestions... On Tue, Jul 22, 2008 at 12:45 PM, Kenneth Kawamoto [EMAIL PROTECTED] wrote: If you output stageWidth/stageHeight to a TextField I think you can verify they are not zero. Kenneth Kawamoto http://www.materiaprima.co.uk/ Helmut Granda wrote: Yeah, that is the first setting in my Document's class constructor, specially since i need that info through out the application. Thanks for the help. I will keep debugging... On Tue, Jul 22, 2008 at 12:06 PM, Kenneth Kawamoto [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: If you monitor stageWidth/stageHeight in your Document Class constructor it should tell you the stage size every time you refresh your browser. Kenneth Kawamoto http://www.materiaprima.co.uk/ Helmut Granda wrote: DATA = Data.instance;// Holds Data information for the app DATA.stageWidth = stage.stageWidth; DATA.stageHeight = stage.stageHeight; On Tue, Jul 22, 2008 at 11:33 AM, Kenneth Kawamoto [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: It works fine for me every time. What is your code look like? Kenneth Kawamoto http://www.materiaprima.co.uk/ Helmut Granda wrote: Hello all, I have a small dilema, my application is working properly and I am relying on Stage width and height to position some elements. FOr some odd reason when I refresh my movie the stage width and height render 0. Is there any specific reason why this usually happens? OSX FF ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Moving groups of objects
Hi berry.. do you also need help into attaching the elements to the empty movieclip? If you have already attached all the necessary elements to the movieclip on the stage then it is just a matter of moving the movieclip where you loaded all the data into. Say you named that movieclip container all you have to do is the following: conatiner._x = 200; container._y = 300' and all the elements that have been included into the container MC will move with it. Does that makes sense? On Tue, Jul 22, 2008 at 10:00 PM, J.C. Berry [EMAIL PROTECTED] wrote: Oh, as to specifically what I am trying to move: I have an empty movieclip on the stage I am using to load in different images, also dynamically attach button symbols, and dynamically create a textfield. I would like to move all these things one item. Thanks so much! -- Jonathan Berry, M.A. IT Consultant 619.306.1712(m) [EMAIL PROTECTED] I think the real reason the Extropy Institute closed is because Ayn Rand rose from her cryo-sleep -digibrill ( @ o ) / | | | | \ Chumby.com --- This E-mail is covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521 and is legally privileged. This information is confidential information and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. --- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] [AS3] Font Sharing between SWFs
I am running into a small issue, everything is working correctly in my application except for the Font sharing between SWFs. If I embed the font in all the SWFs everything works as expected but of course this is not what I need since it will add weight to other SWFs and defeat the purpose of using a SWF as a library. This seems to be similar to the AS2 issue where you had to embed the components in all the child SWFs that needed the components when using it accross files. Here is some code: var fontItem = Utils.getFontFromLibrary ( DATA.library, FontFace ); trace(fontItem); // output : [class FontFace] iFont = new fontItem() as Font ; trace(iFont); // output : [object FontFace] later in the application: font.fontName // output : Frutiger 55 Roman Any suggestions? TIA.. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: [AS3] Font Sharing between SWFs
I figured out that I needed to register the font ... Font.registerFont(Class) and it all works as expected... interesting. On Mon, Jul 21, 2008 at 6:08 PM, Helmut Granda [EMAIL PROTECTED] wrote: I am running into a small issue, everything is working correctly in my application except for the Font sharing between SWFs. If I embed the font in all the SWFs everything works as expected but of course this is not what I need since it will add weight to other SWFs and defeat the purpose of using a SWF as a library. This seems to be similar to the AS2 issue where you had to embed the components in all the child SWFs that needed the components when using it accross files. Here is some code: var fontItem = Utils.getFontFromLibrary ( DATA.library, FontFace ); trace(fontItem); // output : [class FontFace] iFont = new fontItem() as Font ; trace(iFont); // output : [object FontFace] later in the application: font.fontName // output : Frutiger 55 Roman Any suggestions? TIA.. -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Embed meta tags and import classes
hi all, Is there a way to set an import statement to a different folder outside the source structure with the embed meta tags? I have a project that I am compiling without flash and you know how in flash you can set up your source path for classes to basically anywhere in your computer. Is there a similar way to do that with the embed meta tags? or do I need to place all my classes under the source folder structure? TIA... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] loaderURL from child object
Hello, Is there anyway to get the address of the child swf loaded into the parent? for example if I load FILEB.SWF into FILEA.SWF and FILEA.SWF lives in blah/blah/blah... is there anyway to get blah/blah/blah/FILEA.SWF instead of the parent address witht loaderURL? TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: loaderURL from child object
hello all, I just wanted to re-write my question in case I didnt make sense. So what I want to know is the path of where the file is located on the server. Say you have html -loaderFileSWF -sub1 ---sub2 sub3 /MyFileGoesHere.SWF if loaderFileSWF loads MyFileGoesHere.SWF is there anway to know the path of /sub1/sub2/sub2/MyFileGoesHere.SWF? as you know if I try to get the URL or loaderURL i will get the path to the file that loaded the MyFileGoesHere but not the path to the file itself. TIA... On Wed, Jul 9, 2008 at 10:55 AM, Helmut Granda [EMAIL PROTECTED] wrote: Hello, Is there anyway to get the address of the child swf loaded into the parent? for example if I load FILEB.SWF into FILEA.SWF and FILEA.SWF lives in blah/blah/blah... is there anyway to get blah/blah/blah/FILEA.SWF instead of the parent address witht loaderURL? TIA -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How do you do this? (animating gradient fillcolours)
For some odd reason when I run a movie in AS2 I always get the following warning Warning: 'gs' has no property '_visible' latest version of tweenlite... You wont see that on the output panel but it is written to the flashlog.txt... interesting huh? On Wed, Jul 9, 2008 at 9:02 AM, Jack Doyle [EMAIL PROTECTED] wrote: LOL. Yeah, I've peeked at the TweenMax source code a _few_ times. For those who are interested, Rich did a great intro to TweenLite here: http://www.learningactionscript3.com/2008/06/06/tweenlite-introduction/ (thanks Rich) Also, I should mention that the whole TweenLite/Filter/Max family has a new visible (_visible in AS2) special property for toggling visibility at the end of the tween, and TweenMax has a new multiSequence() method that allows each tween in the sequence to have a different target. Oh, and forums are now online at http://forums.greensock.com. And I hope to post some video tutorials later this month, time permitting. Cheers Jack -Original Message- From: Rich Shupe [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 10:32 AM To: FlashCoders Subject: Re: [Flashcoders] How do you do this? (animating gradient fillcolours) Hey, Jack... You sound like you know TweenMax pretty well. (Heh.) Thanks for the great work! Rich http://www.LearningActionScript3.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flex/ ActionScript Help
Hey Courtney, Richard already spammed our board couple of months ago, maybe he has a list of contacts already that he can share. Here is his info: Richie Farmer TECHNICAL RECRUITER T 865.769.8441 F 865.769.8469 http://www.teksystems.com/ On Wed, Jul 9, 2008 at 3:38 PM, Rash, Courtney [EMAIL PROTECTED] wrote: Hello All, I am currently seeking a talented Flex developer; I thought perhaps those who work within the skill set would be the best resource for advice. I am trying to learn as much as I can about the technology and the Flex community so that I can be an effective source for consultants and clients. Anyone with whom I can network or any other avenues I can take to accomplish this task would be greatly appreciated. Thank you for your time! Regards, Courtney Rash IT RECRUITER 500 Lanidex Plaza, 2nd Fl, Parsippany, NJ 07054 888.395.9245 T 973.434.6177 F 973.434.6170 http://www.teksystems.com http://www.teksystems.com/ This electronic mail (including any attachments) may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic email or its contents (including any attachments) by persons other than the intended recipient(s) is strictly prohibited. If you have received this message in error, please notify us immediately by reply email so that we may correct our internal records. Please then delete the original message (including any attachments) in its entirety. Thank you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Usage of [Event....]
Could some one point me to the docs or blogs that explain the usage or benefits of the following lines: [Event(name=progress, type=flash.events.ProgressEvent.PROGRESS)] [Event(name=complete, type=flash.events.ProgressEvent.COMPLETE)] [Event(name=open, type=flash.events.Event.OPEN)] As always I tried to do a Google search but I couldnt find accurate information. TIA... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: Usage of [Event....]
I think i found the answer: - The last tag I want to mention is the event tag. This is more of a Flex-compatibility tag. If you try and use an event name in MXML without declaring the event with an event tag, the MXML compiler will throw an error. So here's how to avoid that: http://www.boostworthy.com/blog/?p=157# ActionScript: 1. // In this sample, the 'AnimationEvent.START' event is being declared. The 'START' constant's value is 'animation start'. 2. [Event(name=animation start, type= com.boostworthy.animation.events.AnimationEvent)] As with the frame and SWF tags, event tags should be placed after imports, but before the class definition. - source: http://www.boostworthy.com/blog/?p=157 On Mon, Jun 2, 2008 at 2:28 PM, Helmut Granda [EMAIL PROTECTED] wrote: Could some one point me to the docs or blogs that explain the usage or benefits of the following lines: [Event(name=progress, type=flash.events.ProgressEvent.PROGRESS)] [Event(name=complete, type=flash.events.ProgressEvent.COMPLETE)] [Event(name=open, type=flash.events.Event.OPEN)] As always I tried to do a Google search but I couldnt find accurate information. TIA... -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Usage of [Event....]
Yeah, I guess I didnt think to search in the Flex Docs since I am doing development for Flash. Although sometimes when I try to find answers to my questions the docs directme to Flex/Air Docs. Thanks! On Mon, Jun 2, 2008 at 3:05 PM, Paul Andrews [EMAIL PROTECTED] wrote: Yes, it's pretty well explained in the Flex documentation: http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Partsfile=metadata_141_09.html Paul - Original Message - From: Helmut Granda [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, June 02, 2008 8:30 PM Subject: [Flashcoders] Re: Usage of [Event] I think i found the answer: - The last tag I want to mention is the event tag. This is more of a Flex-compatibility tag. If you try and use an event name in MXML without declaring the event with an event tag, the MXML compiler will throw an error. So here's how to avoid that: http://www.boostworthy.com/blog/?p=157# ActionScript: 1. // In this sample, the 'AnimationEvent.START' event is being declared. The 'START' constant's value is 'animation start'. 2. [Event(name=animation start, type= com.boostworthy.animation.events.AnimationEvent)] As with the frame and SWF tags, event tags should be placed after imports, but before the class definition. - source: http://www.boostworthy.com/blog/?p=157 On Mon, Jun 2, 2008 at 2:28 PM, Helmut Granda [EMAIL PROTECTED] wrote: Could some one point me to the docs or blogs that explain the usage or benefits of the following lines: [Event(name=progress, type=flash.events.ProgressEvent.PROGRESS)] [Event(name=complete, type=flash.events.ProgressEvent.COMPLETE)] [Event(name=open, type=flash.events.Event.OPEN)] As always I tried to do a Google search but I couldnt find accurate information. TIA... -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Usage of [Event....]
Can you pass custom properties with this kind of event handling? On Mon, Jun 2, 2008 at 3:37 PM, Helmut Granda [EMAIL PROTECTED] wrote: Yeah, I guess I didnt think to search in the Flex Docs since I am doing development for Flash. Although sometimes when I try to find answers to my questions the docs directme to Flex/Air Docs. Thanks! On Mon, Jun 2, 2008 at 3:05 PM, Paul Andrews [EMAIL PROTECTED] wrote: Yes, it's pretty well explained in the Flex documentation: http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Partsfile=metadata_141_09.html Paul - Original Message - From: Helmut Granda [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, June 02, 2008 8:30 PM Subject: [Flashcoders] Re: Usage of [Event] I think i found the answer: - The last tag I want to mention is the event tag. This is more of a Flex-compatibility tag. If you try and use an event name in MXML without declaring the event with an event tag, the MXML compiler will throw an error. So here's how to avoid that: http://www.boostworthy.com/blog/?p=157# ActionScript: 1. // In this sample, the 'AnimationEvent.START' event is being declared. The 'START' constant's value is 'animation start'. 2. [Event(name=animation start, type= com.boostworthy.animation.events.AnimationEvent)] As with the frame and SWF tags, event tags should be placed after imports, but before the class definition. - source: http://www.boostworthy.com/blog/?p=157 On Mon, Jun 2, 2008 at 2:28 PM, Helmut Granda [EMAIL PROTECTED] wrote: Could some one point me to the docs or blogs that explain the usage or benefits of the following lines: [Event(name=progress, type=flash.events.ProgressEvent.PROGRESS)] [Event(name=complete, type=flash.events.ProgressEvent.COMPLETE)] [Event(name=open, type=flash.events.Event.OPEN)] As always I tried to do a Google search but I couldnt find accurate information. TIA... -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash banner / layer on top - clickthrough?
Could you show us the example you came across? You can always set up your SWF to talk to JS and then to the underlying HTML. On Thu, May 29, 2008 at 5:49 AM, Sander Schuurman [EMAIL PROTECTED] wrote: Hi all, What's the latest status on transparent flash banners/layers? Can you click through them to the underlaying HTML? Thought it wasn't possible, but came across an example that worked in IE7. On Firefox it wasn't possible, although I thought sometimes it showed some kind of behaviour that would suggest clickthroughs. So what's the status? And how does the Flash layer needs to be embedded... I thought wmode was a key element... Sorry for me being lost here... Regards, Sander ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Understanding Error 2036
hmm yeah, not on my machine, and I have the flash 9 debug player. I also saw the Adobe article to fix it if the log file isn't being created, You can also just create the folder and an empty file flashlog.txt and that should fix the issue. but I'm not going to mess with all that on my system to test Helmut's example. Let us know what you find out. No problem, thanks for trying though. Is there a reason you need to use the log file instead of the IDE debugger messages? Most of the stuff I work on ends up on the web or uses some type of server side communication where I can only test on a server. In those cases I can still catch some trace statements from the browser by looking at the flashlog file and see where the application needs some adjustment or if everything has been successful. ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Understanding Error 2036
ouch I didn't know you would get that reaction from flash. Sorry for giving you misleading information for your case. At work that is what we all do when the flashlog is created and never had that issue. Thanks for the heads up! I let you all know what I find out. On Thu, May 29, 2008 at 10:28 AM, Merrill, Jason [EMAIL PROTECTED] wrote: You can also just create the folder and an empty file flashlog.txt and that should fix the issue. Nope. I did that, created a flashlog.txt in the folder described by Glex, created new Flash file with your sample code, put a png file next to it called layout.png and when I run the .fla, my Flash IDE crashes completely. I think the better course of action is to follow the directions on Adobe's site to fix the log file issue. Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Understanding Error 2036
Hi All, I am trying to understand Error 2036 [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2036: Load Never Completed. URL: file:url] When I test in Flash IDE I am able to see the error noted above in the Flash Log but it does not show in the Tracer panel and I was wondering if anyone knows why. I know the files are loading because the application depend on the files. So I am able to interact with the application and everything works as expected. Yet when I run the applicatin then close the preview window. I get the error listed for every file I loaded into the app. Does anyone has any insight of why this is happening? Needless to say I am able to catch the error and I just just do a blank trace -trace()- which works but I am still wondering why this error gets triggered even after the file has been loaded. TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Rectangle doesnt have scaleX/Y?
If you take a look at the Rectangle public properties scaleX and scaleY is not listed: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/geom/Rectangle.html#propertySummary Maybe you can wrap the rectangle with a sprite and then you can scaleX and scaleY ..helmut On Wed, May 28, 2008 at 10:10 AM, Matt S. [EMAIL PROTECTED] wrote: Hmm, that didnt help. It seems to be recognizing it as a number, and I can set the Width and Height of Rectangle, but when I try to set the scaleX and scaleY is when I get the error message. .m On Wed, May 28, 2008 at 10:56 AM, Sidney de Koning [EMAIL PROTECTED] wrote: Hi Matt, Try casting it to the XML data to a Number. Because XML data is a String. Like so: var rectangle:Rectangle = new Rectangle(0,0,Number([EMAIL PROTECTED]),Number([EMAIL PROTECTED])); Hope This helps. Sid On May 28, 2008, at 4:43 PM, Matt S. wrote: So I tried to the do the following: var rectangle:Rectangle = new Rectangle(0,0,[EMAIL PROTECTED],[EMAIL PROTECTED]); if(cS.height rectangle.height){ rectangle.height = cS.height; rectangle.scaleX = rectangle.scaleY; } But it gives me the following error: 1119: Access of possibly undefined property scaleY through a reference with static type flash.geom:Rectangle. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Rectangle doesnt have scaleX/Y?
to add to Sid's comments From the docs: *Note:* The Rectangle class does not define a rectangular Shape display object. To draw a rectangular Shape object onscreen, use thedrawRect() method of the Graphics class. ...Sid... could you elaborate on using the Rectangle class to measure objects on the stage? On Wed, May 28, 2008 at 10:15 AM, Sidney de Koning [EMAIL PROTECTED] wrote: Hi Matt, For what do you want to use the Rectangle? Normally you would use it for instance to measure objects on the stage (at least i do ) For what you are doing cant you use a Shape? or a Sprite? Sid On May 28, 2008, at 5:10 PM, Matt S. wrote: Hmm, that didnt help. It seems to be recognizing it as a number, and I can set the Width and Height of Rectangle, but when I try to set the scaleX and scaleY is when I get the error message. .m On Wed, May 28, 2008 at 10:56 AM, Sidney de Koning [EMAIL PROTECTED] wrote: Hi Matt, Try casting it to the XML data to a Number. Because XML data is a String. Like so: var rectangle:Rectangle = new Rectangle(0,0,Number([EMAIL PROTECTED]),Number([EMAIL PROTECTED])); Hope This helps. Sid On May 28, 2008, at 4:43 PM, Matt S. wrote: So I tried to the do the following: var rectangle:Rectangle = new Rectangle(0,0,[EMAIL PROTECTED],[EMAIL PROTECTED]); if(cS.height rectangle.height){ rectangle.height = cS.height; rectangle.scaleX = rectangle.scaleY; } But it gives me the following error: 1119: Access of possibly undefined property scaleY through a reference with static type flash.geom:Rectangle. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Understanding Error 2036
Yeah, I know it is weird that is why I was wondering if anyone else is getting the same error. Notice that this error wont get traced in the Flash IDE but it is in flashlog.txt. I removed one of the images that is being loaded and it breaks the application (as expected) so it must be something else but not sure what it is. Maybe a bug? I guess I can log it in to Adobe to confirm if it is a bug or not. On Wed, May 28, 2008 at 11:59 AM, Merrill, Jason [EMAIL PROTECTED] wrote: That's odd if the file is being loaded afterall. You're sure the same file is being loaded that you think is being loaded and not a cache or another copy somewhere else? That error is the same error I get when the file cannot be found that was requested to be loaded. Have you tried removing the file that you think is being loaded to be sure it really is the same file being loaded? Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Understanding Error 2036
I think I would have never noticed it (and a lot of people do not see it) if I didn't use the flashlog.txt as my debug system. Basically instead of using the Flash IDE output window I use a program that shows me the contents of flashlog.txt and that is when I see the issue. I wouldn't mind at all (and I don't) when I am only loading a few files but at times I am loading several items and I get a long row of errors that cover all the real items that I care about. Besides, in the back of my mind I know they are there! :) On Wed, May 28, 2008 at 3:55 PM, Merrill, Jason [EMAIL PROTECTED] wrote: I would say if it's not an error that the Flash IDE is messaging you about, or the Flash 9 debug player, then I wouldn't worry about it. Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Understanding Error 2036
Good point... but to make my point I have created a very simple sample. 1. Copy and paste the code below to a blank FLA and run it (NOTICE: You have to provide a file to load and it can be a simple png)2. You should see a trace statement FILE LOADED 3. Close the window 4. Nothing appears on the trace window 5. Open flashlog.txt on your system 6. You should see the very last line of text something similar to the following: THERE WAS AN ERROR [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2036: Load Never Completed. URL: file:./layout.png] //--START COPY AND PASTE CODE var loader : Loader; var request : URLRequest; function load ( file : String) : void { request = new URLRequest( file ); loader.load(request); } function init() : void { loader = new Loader(); loader.contentLoaderInfo.addEventListener ( Event.COMPLETE, onComplete); loader.contentLoaderInfo.addEventListener ( IOErrorEvent.IO_ERROR, onError); } function onComplete ( e:Event ) : void { var target = e.target; var icon = loader; trace(FILE LOADED); } function onError ( e : IOErrorEvent ) : void { trace(THERE WAS AN ERROR); trace(e) } init(); load(layout.png); //END OF CODE FOR FLASH Interesting huh? helmut On Wed, May 28, 2008 at 4:10 PM, Merrill, Jason [EMAIL PROTECTED] wrote: Are you by any chance inadvertently calling a load again after the initial file gets loaded? I wonder if the error is due to something else, not the load you think you're doing... Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Understanding Error 2036
MAC: /Users/YOURUSERID/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt PC: Not sure... You have to have flash player debug version and here are some tips in case you have the flash player debug and you can't find it: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19323 Note that the information in the article is talking about Flex but it also applies to flash. On Wed, May 28, 2008 at 4:51 PM, Merrill, Jason [EMAIL PROTECTED] wrote: Where is flashlog.txt normally? I couldn't locate it. Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Wednesday, May 28, 2008 5:48 PM To: Flash Coders List Subject: Re: [Flashcoders] Understanding Error 2036 Good point... but to make my point I have created a very simple sample. 1. Copy and paste the code below to a blank FLA and run it (NOTICE: You have to provide a file to load and it can be a simple png)2. You should see a trace statement FILE LOADED 3. Close the window 4. Nothing appears on the trace window 5. Open flashlog.txt on your system 6. You should see the very last line of text something similar to the following: THERE WAS AN ERROR [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2036: Load Never Completed. URL: file:./layout.png] //--START COPY AND PASTE CODE var loader : Loader; var request : URLRequest; function load ( file : String) : void { request = new URLRequest( file ); loader.load(request); } function init() : void { loader = new Loader(); loader.contentLoaderInfo.addEventListener ( Event.COMPLETE, onComplete); loader.contentLoaderInfo.addEventListener ( IOErrorEvent.IO_ERROR, onError); } function onComplete ( e:Event ) : void { var target = e.target; var icon = loader; trace(FILE LOADED); } function onError ( e : IOErrorEvent ) : void { trace(THERE WAS AN ERROR); trace(e) } init(); load(layout.png); //END OF CODE FOR FLASH Interesting huh? helmut On Wed, May 28, 2008 at 4:10 PM, Merrill, Jason [EMAIL PROTECTED] wrote: Are you by any chance inadvertently calling a load again after the initial file gets loaded? I wonder if the error is due to something else, not the load you think you're doing... Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Image in dynamic text field
what does the XML Looks like? On Tue, May 27, 2008 at 6:33 AM, Rajiv Seth (Pixelated) [EMAIL PROTECTED] wrote: When I am trying to call an image inside text field dynamically, it is appearing after a line break, but I want the image to come in line with the text. I have created the text field dynamically: [i]txtHolder.createTextField(imageData,1,0,0,550,60);[/i] and set these properties: [i]txtHolder.imageData.multiline = true;[/i] [i]txtHolder.imageData.wordWrap = true;[/i] [i]txtHolder.imageData.html = true;[/i] [i]txtHolder.imageData.border = true;[/i] [i]txtHolder.imageData.htmlText = ;[/i] Now I am loading an image along with text into it using XML. I want to use and arrow image which will come in the end but in same line. But the image is taking a line break. Can anyone suggest me how to use img in text field so that it appears without line-break. Thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] API Interface in SWC...
Juan, Thanks for your comments and for sharing with us your approach. I am doing almost the same thing, the only difference is that the user should be able to access the methods with just one call without having to instantiate or call any classes. BaseClass.methodCall(); That's it, nothing else. The reasons behind it are * We have all the flexibility, the user doesn't care when we make changes to the API neither has to download new classes or update the methods they are using. * The SWC has to be as lean as possible, only listing the static methods to be used and that is it. I am looking at about 500 bytes for the class plus SWC = 4k * The user doesnt have to remember to import classes or classes names, just one quick SWC install and be done * The calls can be done from anywhere without having scope issues I am doing some unit tests and so far the dispatch event method seems to provide all the items we need in order for it to work. Thanks again for your comments, they have helped me out to see we are in the right track On Tue, May 27, 2008 at 2:19 PM, Juan Pablo Califano [EMAIL PROTECTED] wrote: Once I did something similar, except we were not using SWC's but SWF's, and it was a Flash project (not flex). We gave a third party agency the url to an swf that they would load at runtime. That swf contained some library of classes, but there was just one base class that they had to use directly (the rest were for internal use of the library). They would create an instance of the class using the getDefinition() method. On their side, that class instance was typed as an interface to our main class. So, in the end, we handed them an interface that covered all the public methods in the main class (so they could compile in strict mode without errors), and an extra class where we put all the public event constants. It worked out fine. Cheers Juan Pablo Califano 2008/5/27, Helmut Granda [EMAIL PROTECTED]: I am creating a SWC file that will be given to the client with the basic API that they can use to reference to the main application. It all makes sense in my mind and in writing (create the methods that delegate to the main application). I have a basic format working but in order for it to work I have to include the classes that will handle all the process and that is what I am trying to avoid since we want full control of the base methods used within the application. For example: API: sumTwoNumbers(numA, numB) { baseApp.sumTwoNumbers(numA,numB) } but in order for this to work i need to import baseApp class or else i will get compile errors. My second option would be to dispatch events when necessary: sumTwoNumbers(numA, numB){ dispatchEvent(new CustomEvent ( CustomEvent.sumTwoNumbers, numA, numB)) } But i am not sure if this is the appropriate approach. Could some one that has dealt with similar situations share some wisdom here? TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Dispatch Event works only with SetTimeout
Hi all, I have an issue trying to dispatch a simple event. dispatchEvent(new Event(ClassName.EVENT_NAME)); for some reason the event is not being triggered -unless- i put a time out before it... like so: setTimeout(doDispatch, 1); private function doDispatch () : void { dispatchEvent(new Event(ClassName.EVENT_NAME)); } Isn't this weird? Is there any reason why this behavior happens? TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: Dispatch Event works only with SetTimeout
I kind of figured out the issue, but would like to get some confirmation... The issue at hand was that I was adding the listeners almost at the same time that the application starts... here is one sample: ---MAIN.as package { import flash.display.Sprite; import flash.events.Event; public class Main extends Sprite { public function Main() { var mm = new MyMessage; mm.addEventListener(MyMessage.DONE, theComplete); } private function theComplete ( e : Event ) { trace(THE COMPLETE) } } } -- MYMESSAGE.as package { import flash.display.Sprite; import flash.events.*; import flash.utils.*; public class MyMessage extends EventDispatcher { public static const DONE : String = complete; public function MyMessage () { init(); } public function init() { theDispatch(); } public function theDispatch() { dispatchEvent( new Event(MyMessage.DONE)) } } } Now if i put a time out, the application is able to register the listeners. So I must assume there is no way to assign a listener at the same time you are creating an object. Is that correct? -- On Mon, May 19, 2008 at 1:07 PM, Helmut Granda [EMAIL PROTECTED] wrote: Hi all, I have an issue trying to dispatch a simple event. dispatchEvent(new Event(ClassName.EVENT_NAME)); for some reason the event is not being triggered -unless- i put a time out before it... like so: setTimeout(doDispatch, 1); private function doDispatch () : void { dispatchEvent(new Event(ClassName.EVENT_NAME)); } Isn't this weird? Is there any reason why this behavior happens? TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Reading SWF headers with ASP
thanks for your insight Juan. On Mon, Apr 28, 2008 at 8:34 PM, Juan Pablo Califano [EMAIL PROTECTED] wrote: In native classic ASP (without any extra components installed in the server), I'd say it's almost impossible. Maybe if the swf is uncompressed, you can give it a shot, reading the file with a FileSystemObject -which is meant to read text files- and using some single-byte string encoding and reading the chars values with de asc() function. Ugly, but it should be possible (it's not a peace of cake, though, considering the fact that VBS doesn't even have a syntax for bit shifting, so you'd have to craft some functions for that). But the biggest problem is, most swf's are compressed since version 6, and except the first 8 bytes (signature + version + file_size), the rest of the header itself is deflated (as well as the rest of the file). As far as I know, classic ASP doesn't support deflating natively, so that would be a major problem -- and I'm not sure if there's some work around to that limitations. Cheers Juan Palblo Califano 2008/4/28, Helmut Granda [EMAIL PROTECTED]: Hi All, I have done some extensive research in the subject and the only solution I found is a ASP class some one wrote in 2001 and it is outdated. Does anyone knows how to read the SWF headers with ASP? I know how to do it with PHP but I havent found a solution with ASP. Mainly I am trying to get width and height. TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Reading SWF headers with ASP
I am creating some dynamic pages and they need to embed SWF movies in their page with the right size (width/height) and that is why i need asp to get the information before they are being loaded into the page. On Mon, Apr 28, 2008 at 10:31 PM, [EMAIL PROTECTED] wrote: Are you trying to get width height in a live situation, or would an offline solution do? -Buzz -- Original message -- From: Helmut Granda [EMAIL PROTECTED] Hi All, I have done some extensive research in the subject and the only solution I found is a ASP class some one wrote in 2001 and it is outdated. Does anyone knows how to read the SWF headers with ASP? I know how to do it with PHP but I havent found a solution with ASP. Mainly I am trying to get width and height. TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Reading SWF headers with ASP
Hi All, I have done some extensive research in the subject and the only solution I found is a ASP class some one wrote in 2001 and it is outdated. Does anyone knows how to read the SWF headers with ASP? I know how to do it with PHP but I havent found a solution with ASP. Mainly I am trying to get width and height. TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash + Air
Does anyone knows the best way to embed Flash into an adobe Air application? The standard way of doing it (using SWFObject, FUO, Adobe AC_R) doesnt seem to work when testing the air applications. I have done some research but nothing substantial that proves the best (or working) method. TIA... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] [AS2] Inspectable Multiline Textfield
Hi All, I have run into a wall.. I am trying to have a textfield in a component to accept multiline input. But no matter how I define it in the class my input renders the /n or /t entries in class: [Inspectable(name=Text, type=Default, defaultValue=Text)] private var _text: String; or [Inspectable(name=Text, type=String, defaultValue=Text)] private var _text: String; When I enter the value of the text in the Component's Inspector the text just renders as typed: line one \n line two. Some one on a site recommended typing the text in a TXT document or similar and then pasting the text into the field but it still produces the same result... I have done extensive research on the subject but I havent found the answer suggestions? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OT: php forum
phpfreaks, they also have an IRC channel for assistance but don't count on getting your how do I join two strings in php? questions answered in the Channel, they mostly help you in more advanced topics and also some have a little attitude towards flash developers... other than that its a great place to start =) On Thu, Apr 17, 2008 at 1:10 PM, robert [EMAIL PROTECTED] wrote: PHP Builder is pretty great. There is even a section code critique which is helpful. http://phpbuilder.com/board/ On Apr 17, 2008, at 10:53 AM, Jer Brand wrote: The open forum/programmers symposium on arstechnica.com is a pretty good resource for most languages including PHP, though they tend to have an anti-Flash slant on occasion. On Thu, Apr 17, 2008 at 11:40 AM, Glen Pike [EMAIL PROTECTED] wrote: Not sure, I usually look at the PHP manual online and sift through the comments, but have never used any lists. Experts Exchange sometimes throws up PHP results, but you are supposed to have a subscription - last time I googled, you could look at the answers in Googles Cached pages without having to pay for subscription. If you are using CakePHP there is good support / mailing lists for that - they have a Google group, so I would have a look around for similar groups just for PHP, etc. Sorry if that's not much help. Glen Lehr, Theodore M (N-SGIS) wrote: Sorry - I meant something like this where I can turn to when I have a problem -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike Sent: Thursday, April 17, 2008 10:45 AM To: Flash Coders List Subject: Re: [Flashcoders] OT: php forum Phorum - this is okay, easy to customise the look when you find the template folder, header, footer css PHPBB - horrible to integrate with - tried doing a system to automatically add new users for a CMS to the forum and had to rewrite large chunks of code - does not separate code from SQL from content. The people from Wordpress were working on a system called BBPress - looked promising, but have not tried it out. HTH Lehr, Theodore M (N-SGIS) wrote: Anyone know of a good php forum? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Is Adobe fixing this big FP9 problem?
I think eric is already aware of bulk loader ;) http://www.ericd.net/2007/11/as3-class-bulkloader.html On 4/16/08, laurent [EMAIL PROTECTED] wrote: You can use BulkLoader to catch your downloaded asset: http://code.google.com/p/bulk-loader/ L jonathan howe a écrit : To put a practical question out about this. I'm setting up something that is more or less a game with levels. Each level has a different set of movieclips as its background graphics and enemies for the level. I store all assets for a single level in an external swf, and using techniques we've talked about before on the list (swc + getDefinitionByName) use these assets once they're loaded in via the swf. The plan was then to dump the assets once the level ends and load a new level's assets. The game is small enough that I can conceivably tolerate all level assets being in memory by the time the game is done. What I need to know is, should I NOT treat the data as if it's unloaded, given FP9+AS3 behavior? Because if the player revisits a level, I would normally reload the asset swf for that level ... now I wonder if that would make a duplicate copy of the assets in memory? There wouldn't be two copies of the swf's contents in memory because they'd have identical class definitions... right... or maybe not? Now I'm leaning towards an architecture that says: First time you play a level, load the assets for it, and keep it around always. Next time you play that level, the assets are already loaded. -jonathan On Tue, Apr 15, 2008 at 2:37 PM, Paul Andrews [EMAIL PROTECTED] wrote: I find it rather bizarre that people feel that it's necessary to beat a drum about this. I doubt that Adobe are sitting back on the issues raised. The thread has the Air of an hysterical mob. It's amazing how so many people have produced fantastic systems using Actionscript 3 in spite of the gloom and doom spouted here. From what I've read, the FP9 garbage collection is pretty much standard technology for object based systems - you can't just discard objects that have references to them. The real problem seems to be related to the other infrastructure that creates multiple object references that aren't always removable. I'm not saying bthere isn't a problem, just that it's not worthy of the histeria being generated. I understand completely it can be a serious issue for some people. Anyway, I'll express some faith that Adobe will resolve the issues - I won't be rolling back to AS2 despite the expert advice of some. I'll consign a lot of this thread to the same place as the 'end of the world is nigh' material that those people with placards dispense. No need to hand me a flaming torch just yet.. - Original Message - From: Chris Hill [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 15, 2008 6:40 PM Subject: Re: [Flashcoders] Is Adobe fixing this big FP9 problem? ON TOPIC: I can see that most of us feel very strongly about this bug. Adobe has made it clear that their formal channel to do something about it is to vote in their ticketing system for the bug. If there already is a bug, can someone link to it? Otherwise let's get a bug in there. And then let's vote for it. I'm pretty sure that based upon the support here we can make this the #1 bug in their database. Apologies if someone has already mentioned this. This thread is long and noisy. C ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] code review
Your code is correct and yes you can access text fields like that. I would double check that main_content is named correctly as well as the text fields. On Tue, Apr 15, 2008 at 11:13 AM, Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED] wrote: What is wrong with this code: for (i=1; i6; i++) { _root.main_content[p_+i].setTextFormat(portNavOff); } P_1, p_2, are dynamic text fields. Should this be working or can I not target a text field like this? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] [AS2] Warning: broadcastMessage is not a function
Hi all, I am testing some one else's code and when I compile it the first thing I get is : Warning : broadcastMessage is not a function. The application works properly but it is annoying to get this messages. Has anyone found a similar issue? I tried to declare the function in the first frame of the movie function broadcastMessage( ) : Void { trace(I'm here); } still the warning appears... [Player] AS9 Debugger version. [Export] AS2 - Flash 8 TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Contract Development Opportunity in Tennessee
are head hunters allowed in this list now a days? I know people like to hear about other companies hiring but not sure if the kind of emails that beging with my client, one of my clients, my contact... On Tue, Apr 15, 2008 at 1:31 PM, Farmer, Richard [EMAIL PROTECTED] wrote: Good afternoon! My client, a leader in their respective industry, is currently interviewing for an outstanding Flash/Action Script opportunity they have available. If you are interested in being considered, please review the job description below and respond with an updated, word copy, of your resume complete with contact information to [EMAIL PROTECTED] . I look forward to speaking with you all and I hope you have a great day! Flash/Actionscript Developer Job Description: Our client, a leader in their respective industry has an immediate need for 1-2 Flash and Action Script 2.0 developers to do a 2 1/2 to 3 month contract in the Johnson City, TN area. This opportunity is strictly a development role, so there is no need for design or animation experience. This client is an accomplished software development company that has been tasked with re-engineering a high profile Flash-based web site associate with a popular children's toy. Work is slated to start immediately and there is a possibility that this opportunity could be extended out long-term to permanent for the right candidates. Our client wishes to move very quickly and can hire off of a brief phone interview. All applicants must present relevant code samples to be considered. ONLY QUALIFIED CANDIDATES WILL BE CONTACTED Required Skills: * ADOBE FLASH * ACTIONSCRIPT 2.0 * OBJECT-ORIENTED PROGRAMMING * CLASSES * OTHER PROGRAMMING EXPERIENCE * ADOBE FLEX EXPERIENCE A PLUS About TEKsystems, Inc.: Join TEKsystems(r) and get your career on the fast track. As the leading technology staffing and services firm, we are passionate about deploying high-caliber IT and communications expertise. To satisfy our constant need for expertise, we actively seek talented Technical Professionals with all levels of information technology and communications skills. TEKsystems knows that every professional has different needs, so we'll work together to determine a suitable benefits package. We offer options to our Technical Professionals that could include: a health plan, 401k, provisions for vacation and holiday pay, and technical and professional training. With a foundation as the nation's largest IT staffing firm, we've become a billion-dollar services company by blending superior client service with an unrivaled ability to source and manage talent to precise specifications, resulting in successful technology executions. Allegis Group and its subsidiaries are equal opportunity employers. M/F/D/V LINKS TO INFORMATION ON THE AREA http://www.johnsoncitytn.com/ http://www.johnsoncitytnchamber.com/ http://www.tricityareaproperties.com/ Richie Farmer TECHNICAL RECRUITER 412 N. Cedar Bluff Rd. Suite 306B Knoxville, TN 37923 T 865.769.8441 F 865.769.8469 http://www.teksystems.com/ This electronic mail (including any attachments) may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic email or its contents (including any attachments) by persons other than the intended recipient(s) is strictly prohibited. If you have received this message in error, please notify us immediately by reply email so that we may correct our internal records. Please then delete the original message (including any attachments) in its entirety. Thank you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Two for loops and one if statement into one for loop.
Is there a way to edit the code below to be included into just one for loop and would it actually be faster? On a side note any site/book recommendations on how to for this kind of odd sequences.. TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: Two for loops and one if statement into one for loop.
oh yeah forgot the loop: var defaultSection: Number = 3; var maxSection: Number = 6; for (var i : Number = defaultSection ; i maxSection + 1 ; i ++ ) { trace ( - + i ) ; } if (defaultSection maxSection) { for (var i : Number = 1 ; i defaultSection ; i ++ ) { trace ( - + i ) ; } } On Mon, Apr 7, 2008 at 10:12 AM, Helmut Granda [EMAIL PROTECTED] wrote: Is there a way to edit the code below to be included into just one for loop and would it actually be faster? On a side note any site/book recommendations on how to for this kind of odd sequences.. TIA -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Two for loops and one if statement into one for loop.
Great.. that is what I was after.. some how I couldn't see it into one for loop. Thanks! On Mon, Apr 7, 2008 at 10:59 AM, Wagner Amaral [EMAIL PROTECTED] wrote: I suppose you want to act properly if the counter is lower or higher than defaultSection. If so: for (var i:Number = 0; i maxSection; i++) { if (i defaultSection) { trace(lower + i); } else { trace(higher + i); } } If you absolutely want to run the higher part before you run the lower part, you can do some code abuse ;) for (var i:Number = defaultSection; i (maxSection * 2 - defaultSection); i++) { if (i % maxSection = defaultSection) { trace(higher + i % maxSection); } else { trace(lower + i % maxSection); } } Please correct me if that's not what you want On Mon, Apr 7, 2008 at 12:13 PM, Helmut Granda [EMAIL PROTECTED] wrote: oh yeah forgot the loop: var defaultSection: Number = 3; var maxSection: Number = 6; for (var i : Number = defaultSection ; i maxSection + 1 ; i ++ ) { trace ( - + i ) ; } if (defaultSection maxSection) { for (var i : Number = 1 ; i defaultSection ; i ++ ) { trace ( - + i ) ; } } On Mon, Apr 7, 2008 at 10:12 AM, Helmut Granda [EMAIL PROTECTED] wrote: Is there a way to edit the code below to be included into just one for loop and would it actually be faster? On a side note any site/book recommendations on how to for this kind of odd sequences.. TIA -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Seeking example: pop up div with greyed out background
Called within Flash? On Fri, Apr 4, 2008 at 4:06 PM, Mendelsohn, Michael [EMAIL PROTECTED] wrote: Hi list... Does anyone have a good example URLs of a div that pops up an alert for users to do something, then have an additional div that grays out the background thus highlighting the alert div? Thanks, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FLASH+AIR+ASP
You have to login through a aspx form(no httaccess). basically the application lives in the extranet so you have to login to access any documents on that specific area. It works well on the browser because before accessing the application you have to login and once you are in the process continues. But as a stand-alone application it seems to be a whole different monster start() if user is not logged in ask for login info() else go to the app() end() thanks for your input On Thu, Mar 27, 2008 at 3:44 AM, Sidney de Koning [EMAIL PROTECTED] wrote: Do you mean that you need to login through HTACCESS? (the browser dialog box) or through an ASP file? If its HTACCESS then, with AIR, you can get past it in AIR. Tell me which one is of use and i'll try to help. Cheers, Sid On Mar 26, 2008, at 11:41 PM, Helmut Granda wrote: I have an application that was created for the browser (Flash+ASP)and runs under a secure server (https) and everything works great. Now there is an attenpt to move the application to stand alone with AIR but it seems like because it is under a secure server I am having issues accessing the server. Basically this is what happens: Flash - ask to ASP for stuff ASP - give back Flash STUFF FLASH - Display the stuff ASP Provided Using AIR as a wrapper Im not sure how still being able to hit the server without having the user to log in. Oh yeah I forgot to mention that the user has to login throuh the browser so do I need to create a page for the user to login before deploying my application? TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders