[Flashcoders] Re: OT: Questions to ask an interviewee (Sid)
So Sid, What are the answers to your list of interviewee questions?. I know about half of them, but would love to hear all your correct answers. Any chance of this? ___ 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
[Flashcoders] Re: Transition Out direction
Am I just dense on this? Please help! On Wed, Jul 30, 2008 at 3:00 PM, J.C. Berry [EMAIL PROTECTED] wrote: Hello all, This is a short question. I have searched for it for a few days now, but have not even seen a hint of an answer. (I think perhaps the answer lies in understanding the Transition Manager better?) What I need is to direct which way a Transition Out goes. There is a Transition In accompanying property, startPoint:, that can determine from where the object transitions in, but this ability is not available apparently if you want to direct toward which way a Transition Out would go. Can anyone give me a clue? TIA -- 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. --- -- 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
Re: [Flashcoders] Running Projector from a DVD
Hi, I did some work recently for a DVD, but it did not have any video. I found this guide indispensable for making sure the DVD ran on PC's Mac's http://www.s-j-t.co.uk/flashkit/HybridCDv1.1.pdf and authored it on a PC with no problems - CDEverywhere is good, a bit pricy, but probably worth it in the long run. One of the things to remember is not to worry about getting Autorun for the Mac working - Apple removed this feature from the system around OSX and I have been told that most Mac users are smart enough to click the icon you set up for them The nice thing about Flash CS3 is that the projector it creates for the Mac looks like a folder of rubbish on the PC, but is seen as an application by the Mac too. Not sure about streaming FLV from the disk, but my application had a text search facility that ran through a lot of files without too many problems. I recommend doing the Wrapper + Application element discussed in the PDF too... I built my application in Flex, but created a Flash projector wrapper. Apparently there are possible problems with this, but I did not encounter them and I have some code to minimise this if you go that route, but otherwise Flash + Flash is a fine way to do it... My mate did some DVD stuff with opening PDF's and had to do a bit of messing around to account for Mac CD and any stuff involving opening files / running commands outside the application will be a pain. There are a number of paid for extensions that are supposed to help with this, although apparently Zinc and other 3rd party projector tools will make this easier, but I did not have the time to learn them. http://www.atomiksoftware.com/fire-up/index.htm http://www.flashjester.com/?section=tricks_jtools_jstart http://www.multidmedia.com/ - Zinc http://screenweaver.org/doku.php - Screenweaver (Open Source) I think there are a couple of others, but again, have not found them... Lots of testing will be needed, so buy a stack of DVD disks. :) Hope this helps a bit. Glen Alfred Hess wrote: I am creating an multimedia training DVD. The user interface will be a flash projector that runs the menu. The menu will allow the user to select either flash video (flv) or interactive flash content (swf). This DVD will be available for sale. Users with varying CPU speeds and DVD players will be using it. Has anyone created an application like this. Is there anything I need to worry about re I/O errors and user system configuration? The fact that I can't find anyone who has experience with this is a bit worrying. Any help would be greatly appreciated Alfred ___ 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
Re: [Flashcoders] huge html file
Publish Settings-HTML tag: Something in your chosen HTML Template will add the Movie Text - look in the Help file Publishing Flash content WSd60f23110762d6b883b18f10cb1fe1af6-7bd7.html / HTML publishing templates WSd60f23110762d6b883b18f10cb1fe1af6-7bb4.html (the template has a tag $MT which will be replaced by all the text in the Movie) HTH Glen Alan Neilsen wrote: I am revisiting a fla I worked on a couple of years ago (Flash 8) and have upgraded it and saved and published it in Flash CS3. For some reason I end up with a html file that is 2MB which is full of paragraph text from the swf, with each paragraph repeated in the html file 120 times. What am I doing wrong to cause that to happen? This message is for the named person’s use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or; lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. # This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal # ___ 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
RE: [Flashcoders] Running Projector from a DVD
When Flash CS3 was release the fscommand didn't work, is this been solved? Romu www.soundstep.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike Sent: 31 July 2008 10:41 To: Flash Coders List Subject: Re: [Flashcoders] Running Projector from a DVD Hi, I did some work recently for a DVD, but it did not have any video. I found this guide indispensable for making sure the DVD ran on PC's Mac's http://www.s-j-t.co.uk/flashkit/HybridCDv1.1.pdf and authored it on a PC with no problems - CDEverywhere is good, a bit pricy, but probably worth it in the long run. One of the things to remember is not to worry about getting Autorun for the Mac working - Apple removed this feature from the system around OSX and I have been told that most Mac users are smart enough to click the icon you set up for them The nice thing about Flash CS3 is that the projector it creates for the Mac looks like a folder of rubbish on the PC, but is seen as an application by the Mac too. Not sure about streaming FLV from the disk, but my application had a text search facility that ran through a lot of files without too many problems. I recommend doing the Wrapper + Application element discussed in the PDF too... I built my application in Flex, but created a Flash projector wrapper. Apparently there are possible problems with this, but I did not encounter them and I have some code to minimise this if you go that route, but otherwise Flash + Flash is a fine way to do it... My mate did some DVD stuff with opening PDF's and had to do a bit of messing around to account for Mac CD and any stuff involving opening files / running commands outside the application will be a pain. There are a number of paid for extensions that are supposed to help with this, although apparently Zinc and other 3rd party projector tools will make this easier, but I did not have the time to learn them. http://www.atomiksoftware.com/fire-up/index.htm http://www.flashjester.com/?section=tricks_jtools_jstart http://www.multidmedia.com/ - Zinc http://screenweaver.org/doku.php - Screenweaver (Open Source) I think there are a couple of others, but again, have not found them... Lots of testing will be needed, so buy a stack of DVD disks. :) Hope this helps a bit. Glen Alfred Hess wrote: I am creating an multimedia training DVD. The user interface will be a flash projector that runs the menu. The menu will allow the user to select either flash video (flv) or interactive flash content (swf). This DVD will be available for sale. Users with varying CPU speeds and DVD players will be using it. Has anyone created an application like this. Is there anything I need to worry about re I/O errors and user system configuration? The fact that I can't find anyone who has experience with this is a bit worrying. Any help would be greatly appreciated Alfred ___ 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] urgent combobox query
i have a combobox placed manually on the stage and the textfield doesn't show anything. I suspect it's a font issue can anyone tell me how i can tell which font is used in it please? thanks a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] [solved] urgent combobox query
ah I got it the combobox was nested a few mcs deep and masked so i've embedded the Font and set it using cb.setStyle(embedFonts, true) and cb.setStyle(fontFamily, Arial); a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OT: Questions to ask an interviewee
Of that list, I'm pretty sure I can do it all, but most of that are not something I do all the time every day so I may have the gist of it, but not know the syntax down to its every comma. I personally use the reference *and* the internet every tie when writing code - for example Yes, this is a great point. You can learn a lot by looking at their code. Avoid trick questions, those can be an indicator that the interviewer is not serious. Talent/demonstrated experience in an OO language and/or low level algorithmic skills is essential. On Wed, Jul 30, 2008 at 10:47 AM, Zeh Fernando [EMAIL PROTECTED] wrote: I don't know about you guys, but that checklist of skills and the possibility of getting that on an interview make me depressed. Of that list, I'm pretty sure I can do it all, but most of that are not something I do all the time every day so I may have the gist of it, but not know the syntax down to its every comma. I personally use the reference *and* the internet every tie when writing code - for example, I never use cue points, and while I know perfectly well how it works, I'd have to see how the event works and do a few tests before applying it to my code. Nothing huge that takes day of research, but still. That's I think just shooting a lot of questions to the interviewee may help filter out the crap but also won't help you find the best candidates; I honestly think good developers, specially in the Flash world, are the ones who can quickly find the answer to a new question before having to ask around, be it by using the reference, be using by using the internet, or by testing. Remember this technology changes at a fast pace. Having a catalog of techniques in your mind may show experience, but there'll be gaping holes if the guy's work was focused somewhere else or if he's not very formally trained. Personally, on an interview, I'd ask to see the candidate's previous work that's online (doing so next to him). Ask him what kind of techniques were in place on that particular website, question him about interface elements. Give hints on how you'd do something he has done and see his reaction, whether he gets into it and start discussing code with a peer or whether he shows he's full of shit. Ask how long that particular work took, and whether someone helped him, and what external classes or frameworks he used. Ask him what kind of work he liked the most, and why. Which was the most difficult one he did recently, and why. Ask what kind of work he doesn't like doing. Try to get a hang of how he works, and try to understand what motivates and unmotivates him. If possible, ask to see some real-life code he's produced, and then see what kind of techniques he does apply on real code more than just knowing the number of a dozen design patterns. I don't know if you guys get too many interviewees or something that warrants a list like that to make things faster. But for website development in Flash, I think there's so much more that's necessary than just schoolbook knowledge that focusing too much on the checklist really seems counterproductive and sad to me. Zeh Sidney de Koning wrote: The list of questions i always ask interviewees are the following, and this gives me a pretty good example of what they are like and what their skillset is. Test is always accompanied with a practical test we make up on the spot. The XML in Q16 is made up, you can create your own for this. Feel free to use this, Cheers, Sid 1 - write an event listener (normal and weak referenced) and handling function for a Sprite named 'beginQuestions' and listen for a mouse click. 2 - what does weak referenced mean in regards to event listeners? 3 - what is the difference between an object an an array? 4 - how doe you get cue point from vidio in AS3? And in AS2? 5 - briefly explain the various datatypes for numbers. 6 - how do you load an external file? 7 - draw a 20px by 20px Rectangle using the graphics API. 8 - which of the following cannot contain other display objects? Sprite, Shape, MovieClip, DisplayObjectContainer. 9 - which properties can you use to change the size of DisplayObjects? 10 - ENTER_FRAME is independant of an SWF's frame rate? True or false? 11 - XP is a type of which programming methology? 12 - why would you use a Singleton? 13 - what is the Document Class? 14 - create a new TextField instance, then add text it, then add some more text. 15 - what is the difference between public, private and protected. 16 - look at the piece of XML (see other sheet). How do i: - Get all of the page nodes as an XMLList. - Get node in showcase where the attribute id=1. 17 - listen for when the 'enter key' is pressed and trace out all questions are now done when the event happens. Sidney de Koning Flash / AIR Developer @ www.funky-monkey.nl Technical Writer @ www.insideria.com
Re: [Flashcoders] Modifying movieclip property kills tween
Whether it makes sense or not, Helmut is right and this is how it works. Changing the value of a property dynamically via code /detaches/ it from any tweening applied by the timeline. The ideal solution is have a container inside of it. Or, really, don't use the timeline tweening at all. Zeh Boon Chew 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] as2 alert box
Hi folks, 1 in a coupe hundred times, my v2 alert box does not appear in the middle of the screen, but with its center at 0,0 of my stage. And of course we can roll our own again, but if there is a simple fix, I'd rather not:) Any ideas? regards, JC ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] How to stop NetStream throwing errors in my browser on close()
Hiya, I'm loading a bunch of flvs into netstream objects. I initiate the download of each and then as soon as I have the duration from the meta data I close the connection. This is giving me errors in my browser Operation could not be completed (WebKit Error Dom and i cant read the rest. Does anyone know how I can stop this happening? Thanks! :) Ali ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Running Projector from a DVD
We've done a bunch of projects released on DVD, interactive with flv. It's not much different from CD-ROM delivery, though you can't do a partitioned x-plat DVD. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Can Flash read a pdf's metadata?
Hi list... Might there be any way for AS2 to read a pdf's metadata? AS3? Thanks, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Can Flash read a pdf's metadata?
Hi Michael, The PDF specification is here: http://www.adobe.com/devnet/pdf/pdf_reference.html AS3 is perfectly capable of reading it and pulling it apart via the ByteArray class, although you'd have to write the code to do that. However, you would need to load the entire PDF into the AS3 app to do so. If this is a web client application, I'd recommend doing the parsing serverside - there are a number of libraries for various server-side languages for reading PDF data. Then it doesn't matter if you're using AS2 or AS3. HTH, Ian On Thu, Jul 31, 2008 at 7:56 PM, Mendelsohn, Michael [EMAIL PROTECTED] wrote: Hi list... Might there be any way for AS2 to read a pdf's metadata? AS3? Thanks, - Michael 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
RE: [Flashcoders] Can Flash read a pdf's metadata?
Just a thought ... couldn't you use the URLStream class to parse the file as it's being downloaded and once you have the metadata, close the connection? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 31 July 2008 21:35 To: Flash Coders List Subject: Re: [Flashcoders] Can Flash read a pdf's metadata? Hi Michael, The PDF specification is here: http://www.adobe.com/devnet/pdf/pdf_reference.html AS3 is perfectly capable of reading it and pulling it apart via the ByteArray class, although you'd have to write the code to do that. However, you would need to load the entire PDF into the AS3 app to do so. If this is a web client application, I'd recommend doing the parsing serverside - there are a number of libraries for various server-side languages for reading PDF data. Then it doesn't matter if you're using AS2 or AS3. HTH, Ian On Thu, Jul 31, 2008 at 7:56 PM, Mendelsohn, Michael [EMAIL PROTECTED] wrote: Hi list... Might there be any way for AS2 to read a pdf's metadata? AS3? Thanks, - Michael 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: Running Projector from a DVD (Glen Pike) (Romuald Quantin)
Gentlemen Thanks for your prompt and detailed response. I will be definitely use the info you sent me about the stub projector and the autorun instructions. I am glad that people have had some success using this technology. Some one was asking about fscommand. I am using it to disallow scaling and to disable the menus, It works but I am using actionscript 2.0. in CS3. I did have some weird effects where the fscommands for disabling scaling and disabling the menu were turning each other off. I had to put the commands on separate frames of a movie clip and run one of them twice to get it to work. Has any body done any kind of I/O error checking when using DVDs? Is there some kind of try catch thing to put the program in a Known state if the users DVD fails to load fast enough? I have some slide shows with a lot of photos that I am loading as swfs. If the DVD is slow the user can click through to the next photo before the last one has been viewed. At first I thought I could rely on the onLoad complete event. However, it appears as though flash thinks the swf is loaded instantly because it exists on the directory of the DVD. However, it is not in the cache so it is slow to respond. I ended up putting a little function call on every frame of the loaded swf. This function tells the projector that the frame has been loaded and enables the next picture button. It seems really brute force but it is the only thing I could think of. Thanks Again for your detailed reply. Thanks Alfred ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] webcam issues
I am having a number of issues with the Camera class. Most seriously, it crashes the browser on some computers when I call getCamera() or Camera.names. It doesn't seem to be a browser issue as my simple test crashes both IE and FF on the same computers. Anyone know why this would happen? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] webcam issues
I am having a number of issues with the Camera class. Most seriously, it crashes the browser on some computers when I call getCamera() or Camera.names. It doesn't seem to be a browser issue as my simple test crashes both IE and FF on the same computers. Anyone know why this would happen? Does the computer have any Kensington peripherals? I've run into conflicts with camera use from Flash with those. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Running Projector from a DVD (Glen Pike) (Romuald Quantin)
Hi, The onLoadComplete event is fired when the asset is loaded, but to be sure you can interact with the asset you need to wait for the onLoadInit event - this is fired after the first frame actions have completed for a SWF - you can't access properties of movieclips and things until it is init'd. This may avoid you having to add the function on every frame trick - you can load an XML index with a list of images, then load up the images you want in turn with MovieClipLoader or something else - see below. Not sure about fscommand - I have avoided it so far :) With regards to loading vs DVD speed, I would recommend some kind of predictive preloading of stuff here - for example, if you have a number of animations, flv's, things that take a few seconds to watch, you could use that time to preload stuff to be watched afterwards. There are a few readymade AS2 scripts out there that can help with this I had originally rolled my own, but the Greensock one looks quite robust and is probably quite easy to get the hang of (TweenLite is a dream to use, so going on that...) http://blog.greensock.com/preloadassetmanageras2/ I have never experienced problems with I/O on DVD's - this is possibly a bit of an oversight, but my personal opinion is that if people can't look after their toys, then tough - if you scratch it, you may break it - testing the master DVD is as far as I go Hope this helps a bit. Glen Alfred Hess wrote: Gentlemen Thanks for your prompt and detailed response. I will be definitely use the info you sent me about the stub projector and the autorun instructions. I am glad that people have had some success using this technology. Some one was asking about fscommand. I am using it to disallow scaling and to disable the menus, It works but I am using actionscript 2.0. in CS3. I did have some weird effects where the fscommands for disabling scaling and disabling the menu were turning each other off. I had to put the commands on separate frames of a movie clip and run one of them twice to get it to work. Has any body done any kind of I/O error checking when using DVDs? Is there some kind of try catch thing to put the program in a Known state if the users DVD fails to load fast enough? I have some slide shows with a lot of photos that I am loading as swfs. If the DVD is slow the user can click through to the next photo before the last one has been viewed. At first I thought I could rely on the onLoad complete event. However, it appears as though flash thinks the swf is loaded instantly because it exists on the directory of the DVD. However, it is not in the cache so it is slow to respond. I ended up putting a little function call on every frame of the loaded swf. This function tells the projector that the frame has been loaded and enables the next picture button. It seems really brute force but it is the only thing I could think of. Thanks Again for your detailed reply. Thanks Alfred ___ 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
RE: [Flashcoders] webcam issues
No Kensington peripherals that I know of on either cpu here that crashes. It seems like a general problem with the Camera implementation in the Flash player but strangely I can't find any documentation of the issue on the web or in the Adobe bug db. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Watts Sent: Thursday, July 31, 2008 6:55 PM To: Flash Coders List Subject: RE: [Flashcoders] webcam issues I am having a number of issues with the Camera class. Most seriously, it crashes the browser on some computers when I call getCamera() or Camera.names. It doesn't seem to be a browser issue as my simple test crashes both IE and FF on the same computers. Anyone know why this would happen? Does the computer have any Kensington peripherals? I've run into conflicts with camera use from Flash with those. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ 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] Re: Re: huge html file (Glen Pike)
Thanks for that, Glen. I still can't work out what is going on. I looked up HTML templates but it does not explain how to fix the problem. I have tried publishing on another computer, and it worked fine. However, when I publish on my computer I still get an enormous HTML file full of 120 entries for every bit of text in the movie. I compared both, and even though the publish setting and HTML template files are exactly the same on both computers, the HTML file that writes properly contains the lines: !--text used in the movie-- !-- saved from url=(0013)about:internet -- While the other huge HTML file ends up with hundreds of lines of p/p code between these two line. Can anybody tell me how to stop this from happening? Publish Settings-HTML tag: Something in your chosen HTML Template will add the Movie Text - look in the Help file Publishing Flash content WSd60f23110762d6b883b18f10cb1fe1af6-7bd7.html / HTML publishing templates WSd60f23110762d6b883b18f10cb1fe1af6-7bb4.html (the template has a tag $MT which will be replaced by all the text in the Movie) Alan Neilsen E-delivery Resources Developer Goulburn Ovens Institute of TAFE Wallis Street Seymour, Vic. 3660 Phone: 0357352466 Mobile: 0437355688 * Please consider the environment when deciding whether or not to print this email. This message is for the named persons use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or; lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. # This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal # ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Modifying movieclip property kills tween
Thanks Zeh Helmut for enlightening me on this. - boon --- On Thu, 7/31/08, Zeh Fernando [EMAIL PROTECTED] wrote: From: Zeh Fernando [EMAIL PROTECTED] Subject: Re: [Flashcoders] Modifying movieclip property kills tween To: Flash Coders List flashcoders@chattyfig.figleaf.com Date: Thursday, July 31, 2008, 7:15 AM Whether it makes sense or not, Helmut is right and this is how it works. Changing the value of a property dynamically via code /detaches/ it from any tweening applied by the timeline. The ideal solution is have a container inside of it. Or, really, don't use the timeline tweening at all. Zeh Boon Chew 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 ___ 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] Overlapping two SWFs (wmode = transparent) in Firefox
I'm experimenting with two SWFs in separate DIVs, stacked exactly atop each other, with wmode = transparent. Both SWFs have clickable / draggable items. I have noticed that in Firefox 2, the bottom SWF is basically blocked (nothing clickable or draggable), while in IE7 it seems to work fine. Can anyone confirm that this is in fact the normal (if not ideal) behaviour in Firefox, or if I'm doing something wrong? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders