Re: [Flashcoders] attachMovie() with non-library-symbols
Talking about SWF8: which btw. means Actionscript 2.0 (AS2) Thank you for the pointer, but reading that article doesn't help me much. For example, I don't understand if the resulting SWF from that syntax is expected to contain EXPORT tags or not. if you mean EXPORT tags in the swf bytecode, I am not aware of the tags that are written by the compiler when using the code explained by Peter Joel, but I could imagine, that when using MTASC for compiling only DOACTION tags are written and no EXPORT tags. But I usually don't read SWF bytecode after comiling. ;) My problem with the dmplayer.swf above is that it ends up looking for symbols like 'video_frame': ERROR: No export symbol video_frame found in movie dmplayer.swf. Which do NOT appear in any EXPORT tag. How do you know? Where does the SWF come from? Do you do some kind of reverse engineering? This way you can attach classes that don't have a library symbol but extend MovieClip. You mean it is possible to add entries to the 'symbols library' trough DOACTION blocks only ? I mean, not something automatically done by the AS *compiler* but something done by the actual VM/player ? I think so, but I am not sure about the bytecode/tags written by the compiler interpreting the code. The magic line of code actually is this one: Object.registerClass(__Packages.com.peterjoel.shapes.Rectangle, Rectangle); (http://livedocs.adobe.com/flash/8/main/2587.html) first argument is of type String, specifying the classpath of the Rectangle class. second argument is of type Function and is a reference to the Rectangle class constructor function. In Peter's example Rectangle extends MovieClip. this way if becomes possible to do the attachMovie call: attachMovie(__Packages.com.peterjoel.shapes.Rectangle, RectangleInstance, getNextHighestDepth()); If so, can you provide the smallest example of such thing ? see above and Peter's blog entry. hth, Matthias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] attachMovie() with non-library-symbols
On Thu, Oct 23, 2008 at 10:01:37AM +0200, Matthias Dittgen wrote: if you mean EXPORT tags in the swf bytecode, I am not aware of the tags that are written by the compiler when using the code explained by Peter Joel, but I could imagine, that when using MTASC for compiling only DOACTION tags are written and no EXPORT tags. But I usually don't read SWF bytecode after comiling. ;) I've seen a few compilers automatically adding non-action tags as a side effect of AS interpretation... My problem with the dmplayer.swf above is that it ends up looking for symbols like 'video_frame': ERROR: No export symbol video_frame found in movie dmplayer.swf. Which do NOT appear in any EXPORT tag. How do you know? Where does the SWF come from? Do you do some kind of reverse engineering? The SWF comes from the web. I know by using an SWF dumper (listswf from Ming - libming.org). This way you can attach classes that don't have a library symbol but extend MovieClip. You mean it is possible to add entries to the 'symbols library' trough DOACTION blocks only ? I mean, not something automatically done by the AS *compiler* but something done by the actual VM/player ? I think so, but I am not sure about the bytecode/tags written by the compiler interpreting the code. Could you send me (a private attachment if the list doesn't let you) a small SWF produced as a proof of concept ? If it contains no EXPORT tags but has a working attachMovie('symbol',..) I'll go on with the research. This is for eventual compatibility fixes in Gnash (The GNU SWF Player). --strk; ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] attachMovie() with non-library-symbols
The code on my old blog works for content published with Flash authoring. However, it works because Flash inserts the export tags in the swf automatically. If you have a swf that has a working attachMovie, but no export tags, then it must be attaching the symbol from another swf. An RSL perhaps? Peter On Thu, Oct 23, 2008 at 9:31 AM, strk [EMAIL PROTECTED] wrote: On Thu, Oct 23, 2008 at 10:01:37AM +0200, Matthias Dittgen wrote: if you mean EXPORT tags in the swf bytecode, I am not aware of the tags that are written by the compiler when using the code explained by Peter Joel, but I could imagine, that when using MTASC for compiling only DOACTION tags are written and no EXPORT tags. But I usually don't read SWF bytecode after comiling. ;) I've seen a few compilers automatically adding non-action tags as a side effect of AS interpretation... My problem with the dmplayer.swf above is that it ends up looking for symbols like 'video_frame': ERROR: No export symbol video_frame found in movie dmplayer.swf. Which do NOT appear in any EXPORT tag. How do you know? Where does the SWF come from? Do you do some kind of reverse engineering? The SWF comes from the web. I know by using an SWF dumper (listswf from Ming - libming.org). This way you can attach classes that don't have a library symbol but extend MovieClip. You mean it is possible to add entries to the 'symbols library' trough DOACTION blocks only ? I mean, not something automatically done by the AS *compiler* but something done by the actual VM/player ? I think so, but I am not sure about the bytecode/tags written by the compiler interpreting the code. Could you send me (a private attachment if the list doesn't let you) a small SWF produced as a proof of concept ? If it contains no EXPORT tags but has a working attachMovie('symbol',..) I'll go on with the research. This is for eventual compatibility fixes in Gnash (The GNU SWF Player). --strk; ___ 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] attachMovie() with non-library-symbols
@strk: I should try var func:String = register; Object[func](args); instead of Object.registerClass(args); to see, if an all code based attempt is working without having the compiler do EXPORT tags. I have attached a test situation build in current FlashDevelop on WinXP as AS2 project. Let us know, how it goes. btw. what is your realname and what is your motivation working on gnash? What else do you do? @Peter: nice to read you! You've been a motivation to play with AS2 for a long time for me. Matthias On Thu, Oct 23, 2008 at 11:38 AM, Peter Hall [EMAIL PROTECTED] wrote: The code on my old blog works for content published with Flash authoring. However, it works because Flash inserts the export tags in the swf automatically. If you have a swf that has a working attachMovie, but no export tags, then it must be attaching the symbol from another swf. An RSL perhaps? Peter On Thu, Oct 23, 2008 at 9:31 AM, strk [EMAIL PROTECTED] wrote: On Thu, Oct 23, 2008 at 10:01:37AM +0200, Matthias Dittgen wrote: if you mean EXPORT tags in the swf bytecode, I am not aware of the tags that are written by the compiler when using the code explained by Peter Joel, but I could imagine, that when using MTASC for compiling only DOACTION tags are written and no EXPORT tags. But I usually don't read SWF bytecode after comiling. ;) I've seen a few compilers automatically adding non-action tags as a side effect of AS interpretation... My problem with the dmplayer.swf above is that it ends up looking for symbols like 'video_frame': ERROR: No export symbol video_frame found in movie dmplayer.swf. Which do NOT appear in any EXPORT tag. How do you know? Where does the SWF come from? Do you do some kind of reverse engineering? The SWF comes from the web. I know by using an SWF dumper (listswf from Ming - libming.org). This way you can attach classes that don't have a library symbol but extend MovieClip. You mean it is possible to add entries to the 'symbols library' trough DOACTION blocks only ? I mean, not something automatically done by the AS *compiler* but something done by the actual VM/player ? I think so, but I am not sure about the bytecode/tags written by the compiler interpreting the code. Could you send me (a private attachment if the list doesn't let you) a small SWF produced as a proof of concept ? If it contains no EXPORT tags but has a working attachMovie('symbol',..) I'll go on with the research. This is for eventual compatibility fixes in Gnash (The GNU SWF Player). --strk; ___ 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] AS3 - Code problem, can anyone help?
The other thing caught my eye is this bit: mobileNumber.text != NaN mobileNumber.text != undefined text property is ALWAYS String, therefore it cannot be a Number or undefined. The code should not compile. Kenneth Kawamoto http://www.materiaprima.co.uk/ - Original Message - From: FlashDev [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 22, 2008 8:32 PM Subject: [Flashcoders] AS3 - Code problem, can anyone help? Hi Guys Im trying to write a little piece of code to stop the submit button of a form be active until the form fields have been completely filled in, its a really simple for consisting of 1 form field and 1 checkbox, ive had a go at writing some code of my own but for some reason flash quits on export. Whats wrong with my code? What do you think could be causing it to crash? here is my stab at it... submit_btn.useHandCursor = false; submit_btn.mouseEnabled = false; submit_btn.addEventListener(MouseEvent.CLICK, submit_btn_CLICK); this.addEventListener(Event.ENTER_FRAME, ENTERFRAME); function ENTERFRAME(ev:Event):void { if((mobileNumber.text != ) || (mobileNumber.text != NaN) || (mobileNumber.text != undefined) (terms.selected != false)){ submit_btn.useHandCursor = true; submit_btn.mouseEnabled = true; }else{ var frame:int = 0; trace(EnterFrame+(frame+)); } } function submit_btn_CLICK(ev:Event):void { var url:String = formSubmit.php; var request:URLRequest = new URLRequest(url); var variables:URLVariables = new URLVariables(); variables.mobile = mobileNumber.text; request.data = variables; request.method = URLRequestMethod.POST; try { navigateToURL(request, _blank); } catch (err:Error) { trace(err); } } Thanks SJM ___ 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
[Flashcoders] RE: LMS -- Moodle (Cor)
You just need to load your SCORM compliant package into Moodle, and it will do the rest. Of course that requires installing Moodle, PHP and MySQL. You can test your SCORM package in ADL test suite to make sure it is compliant. The you zip all your files, and add them to Moodle. If you need any more help, let me know, I can provide more info on how I've set it up. Norm _ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [BULK] Re: [Flashcoders] Is there a quick way to convert back to AS2?
The client is convinced that the Flash 9 has not permeated government systems yet. My point of view is how will we ever move forward unless we put the requirement out there? He does not want to force our students to upgrade their plug-ins, with as difficult it is to get technical support in the government (users have no control over their systems and there is a long approval process to get new software, even plug-ins approved). What are some good arguments for upgrading? I need to be able to convince him that this is the way to go! Any words of wisdom you could provide would be very much appreciated! Thank you! Susan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews Sent: Wednesday, October 22, 2008 5:52 PM To: Flash Coders List Subject: [BULK] Re: [Flashcoders] Is there a quick way to convert back to AS2? Importance: Low How can anyone know how much effort is involved? It'll depend on how your code is written. What is sure is that it'll be a ton of work. Why does your client want to revert to AS2? If they insist you'll just have to charge accordingly. I reverted an AS3 video/slide player to AS2 and it was a PIA because the code was close to what it should be but had so many differences because the classes involved had changed between AS2 and AS3. It'd probably have been easier to dump the AS3 code and start from scratch. I'd probably do everything possible to not go back. Try and educate you client that it's a huge amount of work and one day they'll still want to go forward to AS3. Paul - Original Message - From: Lord, Susan, CTR, DSS [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 22, 2008 10:11 PM Subject: [Flashcoders] Is there a quick way to convert back to AS2? I know this seems like a backwards question... but my client has requested (300 plus fla's later) that we revert our code back to AS2. I was wondering if there was a quick way to do this. When I ran my first piece in AS2 and it was searching for the event class. I was wondering if there was a quick way around this... like somehow incorporating the event class into an AS2 piece or will this piece completely have to be rewritten? Thanks! Susan ___ 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: [BULK] Re: [Flashcoders] Is there a quick way to convert back to AS2?
What are some good arguments for upgrading? I need to be able to convince him that this is the way to go! http://gskinner.com/talks/as3workshop/ and especially: http://gskinner.com/talks/50reasonsAS3/ Jason Merrill Bank of America GCIB Staff Support 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. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [BULK] Re: [Flashcoders] Is there a quick way to convert back to AS2?
If you look at the Adobe-published Flash Player penetration rate, the difference between Flash Player 7 and Flash Player 8 probably isn't statistically significant. .03 %? http://www.adobe.com/products/player_census/flashplayer/version_penetration.html Granted, this is Adobe published despite references listed at the bottom, and government agencies may be behind the curve {insert joke} -jonathan On Thu, Oct 23, 2008 at 10:56 AM, Lord, Susan, CTR, DSS [EMAIL PROTECTED] wrote: The client is convinced that the Flash 9 has not permeated government systems yet. My point of view is how will we ever move forward unless we put the requirement out there? He does not want to force our students to upgrade their plug-ins, with as difficult it is to get technical support in the government (users have no control over their systems and there is a long approval process to get new software, even plug-ins approved). What are some good arguments for upgrading? I need to be able to convince him that this is the way to go! Any words of wisdom you could provide would be very much appreciated! Thank you! Susan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews Sent: Wednesday, October 22, 2008 5:52 PM To: Flash Coders List Subject: [BULK] Re: [Flashcoders] Is there a quick way to convert back to AS2? Importance: Low How can anyone know how much effort is involved? It'll depend on how your code is written. What is sure is that it'll be a ton of work. Why does your client want to revert to AS2? If they insist you'll just have to charge accordingly. I reverted an AS3 video/slide player to AS2 and it was a PIA because the code was close to what it should be but had so many differences because the classes involved had changed between AS2 and AS3. It'd probably have been easier to dump the AS3 code and start from scratch. I'd probably do everything possible to not go back. Try and educate you client that it's a huge amount of work and one day they'll still want to go forward to AS3. Paul - Original Message - From: Lord, Susan, CTR, DSS [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 22, 2008 10:11 PM Subject: [Flashcoders] Is there a quick way to convert back to AS2? I know this seems like a backwards question... but my client has requested (300 plus fla's later) that we revert our code back to AS2. I was wondering if there was a quick way to do this. When I ran my first piece in AS2 and it was searching for the event class. I was wondering if there was a quick way around this... like somehow incorporating the event class into an AS2 piece or will this piece completely have to be rewritten? Thanks! Susan ___ 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 -- -jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME 04101 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Disabling Print Screen key
Hi. :) I'm attempting to disable using the Print Screen button for an AS3 movie on a web page. The stage doesn't appear to fire a KeyboardEvent.KEY_DOWN when the Print Screen key is pressed. Is there a way to detect the Print Screen key? Or another method for disabling the user's ability to do a Print Screen screen cap of a Flash movie? Andrew Murphy Interactive Media Specialist [EMAIL PROTECTED] Delvinia 214 King Street West, Suite 214 Toronto Canada M5H 3S6 P 416.364.1455 ext. 232 F 416.364.9830 W www.delvinia.com CONFIDENTIALITY NOTICE This email message may contain privileged or confidential information. If you are not the intended recipient or received this communication by error, please notify the sender and delete the message without copying or disclosing it. AVIS DE CONFIDENTIALITÉ Ce message peut contenir de l'information légalement privilégiée ou confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [BULK] Re: [Flashcoders] Is there a quick way to convert back to AS2?
Oh, and probably the best argument to your boss is the security fixes in Flash player 9 which takes care of issues in previous versions Jason Merrill Bank of America GCIB Staff Support 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 Merrill, Jason Sent: Thursday, October 23, 2008 11:16 AM To: Flash Coders List Subject: RE: [BULK] Re: [Flashcoders] Is there a quick way to convert back to AS2? What are some good arguments for upgrading? I need to be able to convince him that this is the way to go! http://gskinner.com/talks/as3workshop/ and especially: http://gskinner.com/talks/50reasonsAS3/ Jason Merrill Bank of America GCIB Staff Support 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. ___ 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] Disabling Print Screen key
Since thats at an operating system level, I don't think you could do anything. If it's a kiosk, have a keyboard without that button, for every one else, you're stuck. What would you try to do with the keypress for that key anyway? By the time you received it (if Flash had focus), it would already be too late to do anything (ie. hide your flash content on the stage). I would be surprised if you can do what you want. Eric On Thu, Oct 23, 2008 at 11:32 AM, Andrew Murphy [EMAIL PROTECTED]wrote: Hi. :) I'm attempting to disable using the Print Screen button for an AS3 movie on a web page. The stage doesn't appear to fire a KeyboardEvent.KEY_DOWN when the Print Screen key is pressed. Is there a way to detect the Print Screen key? Or another method for disabling the user's ability to do a Print Screen screen cap of a Flash movie? Andrew Murphy Interactive Media Specialist [EMAIL PROTECTED] Delvinia 214 King Street West, Suite 214 Toronto Canada M5H 3S6 P 416.364.1455 ext. 232 F 416.364.9830 W www.delvinia.com CONFIDENTIALITY NOTICE This email message may contain privileged or confidential information. If you are not the intended recipient or received this communication by error, please notify the sender and delete the message without copying or disclosing it. AVIS DE CONFIDENTIALITÉ Ce message peut contenir de l'information légalement privilégiée ou confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. ___ 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: [BULK] Re: [Flashcoders] Is there a quick way to convertback to AS2?
Oh and he'll feel pretty stupid once the goverment institutions roll over to Flash 10 just after he's spent a load of money going back to AS2. That'll be interesting to explain to his boss.. - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, October 23, 2008 4:37 PM Subject: RE: [BULK] Re: [Flashcoders] Is there a quick way to convertback to AS2? Oh, and probably the best argument to your boss is the security fixes in Flash player 9 which takes care of issues in previous versions Jason Merrill Bank of America GCIB Staff Support 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 Merrill, Jason Sent: Thursday, October 23, 2008 11:16 AM To: Flash Coders List Subject: RE: [BULK] Re: [Flashcoders] Is there a quick way to convert back to AS2? What are some good arguments for upgrading? I need to be able to convince him that this is the way to go! http://gskinner.com/talks/as3workshop/ and especially: http://gskinner.com/talks/50reasonsAS3/ Jason Merrill Bank of America GCIB Staff Support 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. ___ 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] Disabling Print Screen key
If they want to grab your screen... they will... http://www.google.com/search?q=screen+grabber On Thu, Oct 23, 2008 at 5:32 PM, Andrew Murphy [EMAIL PROTECTED] wrote: Hi. :) I'm attempting to disable using the Print Screen button for an AS3 movie on a web page. The stage doesn't appear to fire a KeyboardEvent.KEY_DOWN when the Print Screen key is pressed. Is there a way to detect the Print Screen key? Or another method for disabling the user's ability to do a Print Screen screen cap of a Flash movie? Andrew Murphy Interactive Media Specialist [EMAIL PROTECTED] Delvinia 214 King Street West, Suite 214 Toronto Canada M5H 3S6 P 416.364.1455 ext. 232 F 416.364.9830 W www.delvinia.com CONFIDENTIALITY NOTICE This email message may contain privileged or confidential information. If you are not the intended recipient or received this communication by error, please notify the sender and delete the message without copying or disclosing it. AVIS DE CONFIDENTIALITÉ Ce message peut contenir de l'information légalement privilégiée ou confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. ___ 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: [BULK] Re: [Flashcoders] Is there a quick way to convert back to AS2?
Hi, I would suggest maybe talking to some of the IT people at the places where you want to roll out your Flash stuff and ask them if they have Flash Player 9 on any of the computers. I know some people who work in Local Government over here who rolled out Flash Player 9, as a network upgrade. The IT people in your target institutions are going to be the best placed to answer that question and if they have not got FP9, they are also the best people to convince that upgrading due to security issues is the best way to go - I am guessing as you have a .mil address, security might be an important factor to people you need to speak to :) Although, there is always the chance that this may ruffle some feathers - I hate office politics... Glen -- 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] RE: LMS -- Moodle (Cor)
Hi Norman, I am trying to find a little example how to write and read variables from Flash into Moodle (p.e. suspend_data) In fact all help/info is welcome!! Thanks. Kind regards Cor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Norman Cousineau Sent: donderdag 23 oktober 2008 15:17 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] RE: LMS -- Moodle (Cor) You just need to load your SCORM compliant package into Moodle, and it will do the rest. Of course that requires installing Moodle, PHP and MySQL. You can test your SCORM package in ADL test suite to make sure it is compliant. The you zip all your files, and add them to Moodle. If you need any more help, let me know, I can provide more info on how I've set it up. Norm _ ___ 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] Disabling Print Screen key
?? I think he wants avoid screen grab, not take it. It's a good point, I've never heard about a way to do it. Maybe with JS? Pinatti On Thu, Oct 23, 2008 at 3:24 PM, Hans Wichman [EMAIL PROTECTED] wrote: If they want to grab your screen... they will... http://www.google.com/search?q=screen+grabber On Thu, Oct 23, 2008 at 5:32 PM, Andrew Murphy [EMAIL PROTECTED] wrote: Hi. :) I'm attempting to disable using the Print Screen button for an AS3 movie on a web page. The stage doesn't appear to fire a KeyboardEvent.KEY_DOWN when the Print Screen key is pressed. Is there a way to detect the Print Screen key? Or another method for disabling the user's ability to do a Print Screen screen cap of a Flash movie? Andrew Murphy Interactive Media Specialist [EMAIL PROTECTED] Delvinia 214 King Street West, Suite 214 Toronto Canada M5H 3S6 P 416.364.1455 ext. 232 F 416.364.9830 W www.delvinia.com CONFIDENTIALITY NOTICE This email message may contain privileged or confidential information. If you are not the intended recipient or received this communication by error, please notify the sender and delete the message without copying or disclosing it. AVIS DE CONFIDENTIALITÉ Ce message peut contenir de l'information légalement privilégiée ou confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. ___ 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 -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Disabling Print Screen key
All your Flash are belong to us :) You can't stop them nicking - (stealing) - content, so just give them a substandard version, or make money from your IP in other ways. Fabio Pinatti wrote: ?? I think he wants avoid screen grab, not take it. It's a good point, I've never heard about a way to do it. Maybe with JS? Pinatti On Thu, Oct 23, 2008 at 3:24 PM, Hans Wichman [EMAIL PROTECTED] wrote: If they want to grab your screen... they will... http://www.google.com/search?q=screen+grabber On Thu, Oct 23, 2008 at 5:32 PM, Andrew Murphy [EMAIL PROTECTED] wrote: Hi. :) I'm attempting to disable using the Print Screen button for an AS3 movie on a web page. The stage doesn't appear to fire a KeyboardEvent.KEY_DOWN when the Print Screen key is pressed. Is there a way to detect the Print Screen key? Or another method for disabling the user's ability to do a Print Screen screen cap of a Flash movie? Andrew Murphy Interactive Media Specialist [EMAIL PROTECTED] Delvinia 214 King Street West, Suite 214 Toronto Canada M5H 3S6 P 416.364.1455 ext. 232 F 416.364.9830 W www.delvinia.com CONFIDENTIALITY NOTICE This email message may contain privileged or confidential information. If you are not the intended recipient or received this communication by error, please notify the sender and delete the message without copying or disclosing it. AVIS DE CONFIDENTIALITÉ Ce message peut contenir de l'information légalement privilégiée ou confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. ___ 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 -- 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] Disabling Print Screen key
btw, I cant live without stealing flash screen grabs. :) On Thu, Oct 23, 2008 at 4:16 PM, Glen Pike [EMAIL PROTECTED]wrote: All your Flash are belong to us :) You can't stop them nicking - (stealing) - content, so just give them a substandard version, or make money from your IP in other ways. Fabio Pinatti wrote: ?? I think he wants avoid screen grab, not take it. It's a good point, I've never heard about a way to do it. Maybe with JS? Pinatti On Thu, Oct 23, 2008 at 3:24 PM, Hans Wichman [EMAIL PROTECTED] wrote: If they want to grab your screen... they will... http://www.google.com/search?q=screen+grabber On Thu, Oct 23, 2008 at 5:32 PM, Andrew Murphy [EMAIL PROTECTED] wrote: Hi. :) I'm attempting to disable using the Print Screen button for an AS3 movie on a web page. The stage doesn't appear to fire a KeyboardEvent.KEY_DOWN when the Print Screen key is pressed. Is there a way to detect the Print Screen key? Or another method for disabling the user's ability to do a Print Screen screen cap of a Flash movie? Andrew Murphy Interactive Media Specialist [EMAIL PROTECTED] Delvinia 214 King Street West, Suite 214 Toronto Canada M5H 3S6 P 416.364.1455 ext. 232 F 416.364.9830 W www.delvinia.com CONFIDENTIALITY NOTICE This email message may contain privileged or confidential information. If you are not the intended recipient or received this communication by error, please notify the sender and delete the message without copying or disclosing it. AVIS DE CONFIDENTIALITÉ Ce message peut contenir de l'information légalement privilégiée ou confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. ___ 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 -- 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 -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Disabling Print Screen key
yes, thats my point: he wants to avoid, and it isn't possible to do so On Thu, Oct 23, 2008 at 8:07 PM, Fabio Pinatti [EMAIL PROTECTED] wrote: ?? I think he wants avoid screen grab, not take it. It's a good point, I've never heard about a way to do it. Maybe with JS? Pinatti On Thu, Oct 23, 2008 at 3:24 PM, Hans Wichman [EMAIL PROTECTED] wrote: If they want to grab your screen... they will... http://www.google.com/search?q=screen+grabber On Thu, Oct 23, 2008 at 5:32 PM, Andrew Murphy [EMAIL PROTECTED] wrote: Hi. :) I'm attempting to disable using the Print Screen button for an AS3 movie on a web page. The stage doesn't appear to fire a KeyboardEvent.KEY_DOWN when the Print Screen key is pressed. Is there a way to detect the Print Screen key? Or another method for disabling the user's ability to do a Print Screen screen cap of a Flash movie? Andrew Murphy Interactive Media Specialist [EMAIL PROTECTED] Delvinia 214 King Street West, Suite 214 Toronto Canada M5H 3S6 P 416.364.1455 ext. 232 F 416.364.9830 W www.delvinia.com CONFIDENTIALITY NOTICE This email message may contain privileged or confidential information. If you are not the intended recipient or received this communication by error, please notify the sender and delete the message without copying or disclosing it. AVIS DE CONFIDENTIALITÉ Ce message peut contenir de l'information légalement privilégiée ou confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. ___ 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 -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ 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] attachMovie() with non-library-symbols
On Thu, Oct 23, 2008 at 10:38:52AM +0100, Peter Hall wrote: The code on my old blog works for content published with Flash authoring. However, it works because Flash inserts the export tags in the swf automatically. If you have a swf that has a working attachMovie, but no export tags, then it must be attaching the symbol from another swf. An RSL perhaps? What's an RSL ? I'm not sure that the movie *is* working. I mean, could as well be that the attachMovie with unexistent symbols are just garbage in the SWF, or hooks for the case in which the movie is loaded by another one, which contain the syms, but optional. Is the sym library of a 'loader' movie supposed to be available to 'loaded' movies for use ? --strk; ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] open word document from flash
Hi guy Is there anyway that I can open word-excel files from flash Thanks Basam ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] open word document from flash
h i doubt natively. Save as XML and then look at the result, you will get a lot of junk this way, so its not ideal - otherwise, just export the excel files as comma deliminated, and then you can parse it as any text file - but thats more work than reading an XML file because you will have to re-structure it yourself. Maybe someone else has a better sollution? Seb. Bassam M wrote: Hi guy Is there anyway that I can open word-excel files from flash Thanks Basam ___ 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] open word document from flash
If your swf is wrapped in a Director executable file, you could do this by invoking baOpenFile() with the buddy api xtra. - MM Is there anyway that I can open word-excel files from flash ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Disabling Print Screen key
In AS2 I used to create an onEnterFrame loop to overwrite the clipboard content using the System.setClipboard(string) function, it still works in AS3 Bests, -- Pedro Taranto Andrew Murphy wrote: Hi. :) I'm attempting to disable using the Print Screen button for an AS3 movie on a web page. The stage doesn't appear to fire a KeyboardEvent.KEY_DOWN when the Print Screen key is pressed. Is there a way to detect the Print Screen key? Or another method for disabling the user's ability to do a Print Screen screen cap of a Flash movie? Andrew Murphy Interactive Media Specialist [EMAIL PROTECTED] Delvinia 214 King Street West, Suite 214 Toronto Canada M5H 3S6 P 416.364.1455 ext. 232 F 416.364.9830 W www.delvinia.com CONFIDENTIALITY NOTICE This email message may contain privileged or confidential information. If you are not the intended recipient or received this communication by error, please notify the sender and delete the message without copying or disclosing it. AVIS DE CONFIDENTIALITÉ Ce message peut contenir de l'information légalement privilégiée ou confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. ___ 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] open word document from flash
From within a browser or are you creating a stand-alone app that needs to open the files? If a stand alone then you could use a wrapper. I've done this with AS3 Flash running as an active-x component inside of Director 10. Flash communicates to Director, Director uses an xtra like Buddy-API to open the files. Rob On 23-Oct-08, at 3:24 PM, Bassam M wrote: Hi guy Is there anyway that I can open word-excel files from flash Thanks Basam ___ 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] Disabling Print Screen key
naughty! Pedro Taranto wrote: In AS2 I used to create an onEnterFrame loop to overwrite the clipboard content using the System.setClipboard(string) function, it still works in AS3 Bests, -- Pedro Taranto Andrew Murphy wrote: Hi. :) I'm attempting to disable using the Print Screen button for an AS3 movie on a web page. The stage doesn't appear to fire a KeyboardEvent.KEY_DOWN when the Print Screen key is pressed. Is there a way to detect the Print Screen key? Or another method for disabling the user's ability to do a Print Screen screen cap of a Flash movie? Andrew Murphy Interactive Media Specialist [EMAIL PROTECTED] Delvinia 214 King Street West, Suite 214 Toronto Canada M5H 3S6 P 416.364.1455 ext. 232 F 416.364.9830 W www.delvinia.com CONFIDENTIALITY NOTICE This email message may contain privileged or confidential information. If you are not the intended recipient or received this communication by error, please notify the sender and delete the message without copying or disclosing it. AVIS DE CONFIDENTIALITÉ Ce message peut contenir de l'information légalement privilégiée ou confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. ___ 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] open word document from flash
You could use fscommand exec to run a BAT file/Apple Script (in fscommand subdirectory) which opens the file (...in theory. I haven't done this for many years :) Kenneth Kawamoto http://www.materiaprima.co.uk/ Bassam M wrote: Hi guy Is there anyway that I can open word-excel files from flash Thanks Basam ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: Re: Passing text between SWFs
Thanks dr.ache I still can't get this to work. Whatever is wrong, it doesn't like the line public function completeHandler(event:Event) {. I get Type was not found or was not a compile-time constant: Event I tried adding import flash.events.Event, but then I get several various errors. Currently my faulty code to load child objects and use contentLoaderInfo looks like: package { // Import stuff import flash.events.addEventListener; import flash.events.Event import flash.events.MouseEvent; import flash.display.*; import flash.net.URLRequest; import flash.display.Graphics; public class rte2124buserName { var rect1:Shape = new Shape(); rect1.graphics.beginFill(0xFF); rect1.graphics.drawRect(0, 0, 1966, 660); addChild(rect1); var ldr1:Loader = new Loader(); ldr1.mask = rect; var url1:String = topics/rte2124b_topic1.swf; var urlReq1:URLRequest = new URLRequest(url1); ldr1.load(urlReq1); ldr1.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler1); var rect2:Shape = new Shape(); rect2.graphics.beginFill(0xFF); rect2.graphics.drawRect(0, 0, 1966, 660); addChild(rect2); var ldr2:Loader = new Loader(); ldr2.mask = rect2; var url2:String = topics/rte2124b_topic2.swf; var urlReq2:URLRequest = new URLRequest(url2); ldr2.load(urlReq2); ldr2.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler2); // Call up topics from topics folder. public function completeHandler1(event:Event) { MovieClip(event.currentTarget)._parent = this; trace(_parent.ldr1); } public function completeHandler2(event:Event) { MovieClip(event.currentTarget)._parent = this; trace(_parent.ldr2); } } } All I want to do is to pass user input (user name) from a parent SWF to a child SWF. Could somebody please tell me all the code I need and where the code goes to do this. I am sorry that I can't work this out, and to be honest, Flash help is less than useless unless you have been doing OO programming for years. It does not contain decent examples of everything one needs to do to get stuff to work. Cheers Alan Hi Alan. In the same class / at the same position where you load your child movieclip. One line below your loadClip method call. 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] Re: Re: Passing text between SWFs
Alan Neilsen schrieb: Thanks dr.ache I still can't get this to work. Whatever is wrong, it doesn't like the line public function completeHandler(event:Event) {. ok, lets go trough this: package { // Import stuff import flash.events.addEventListener; what should that be? you can only import Classes, not Methods...so this line should look like this: import flash.events.EventDispatcher; because that is the class you can use to addEventListeners import flash.events.Event this should have an ; at the end of the line import flash.events.MouseEvent; import flash.display.*; import flash.net.URLRequest; import flash.display.Graphics; public class rte2124buserName { you should name your class with a capital letter at the beginning var rect1:Shape = new Shape(); rect1.graphics.beginFill(0xFF); rect1.graphics.drawRect(0, 0, 1966, 660); here you should enter: rect1.endFill(); otherwise flash would not draw anything addChild(rect1); var ldr1:Loader = new Loader(); ldr1.mask = rect; what you you doing here? if you want to mask ldr1 with rect1 then a) you must addChild(rect1); to the display list and b) you should name it rect1 not rect var url1:String = topics/rte2124b_topic1.swf; var urlReq1:URLRequest = new URLRequest(url1); ldr1.load(urlReq1); ldr1.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler1); i cut out the second shape here after that... you must close the constructor function..that is your main fault. here it comes: } now your completeHandler1 is outside of the constructor function and a method of your class. // Call up topics from topics folder. public function completeHandler1(event:Event) { this line should look like this: public function completeHandler1(event:Event):void { MovieClip(event.currentTarget)._parent = this; trace(_parent.ldr1); } } } All I want to do is to pass user input (user name) from a parent SWF to a child SWF. Could somebody please tell me all the code I need and where the code goes to do this. I am sorry that I can't work this out, and to be honest, Flash help is less than useless unless you have been doing OO programming for years. It does not contain decent examples of everything one needs to do to get stuff to work. Flash help helps you alot if you read it ... you need to read more depending on your level of knowledge. and for sure it does not give you all the code for every situation you could come in. but it definitely shows you how to set up your first class properly: Manual - Programming AS3 - Object Oriented programming - Classes and how to use the loader class: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Loader.html If you cant deal with it... pay someone for doing your job. The examples written at the loader class page assume that you put the code on the first frame of a fla file.. not in a seperate class file...that is why the compiler complaints ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders