Re: [Flashcoders] test (sorry)
Thanks for your understanding. Glad it's working. Steven Sacks Flash Maestro Los Angeles, CA -- blog: http://www.stevensacks.net gaia: http://www.gaiaflashframework.com Tony Trapp wrote: Hey Steven no biggie test away if need be. Tony... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Problem printing html page with embedded swf
Hmm, How does the flash object get added to the page? I have a feeling that objects suchlike don't tend to appear in the print versions of many browsers, especially if they're added with the javascript flash detection. Perhaps you could use a normal image-based fallback? (noscript) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Chang Sent: 03 July 2007 03:08 To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Problem printing html page with embedded swf Hi All, I am attempting to print an html page with an embedded swf. However, the page prints except for the embedded swf which is just a blank white area. Can someone please suggest the setting that controls this? Thanks in advance, Paul ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Coding suffixes and prefixes triggering code hinting
Hi Hans and Arul, Thanks for replying. That has sorted it. All the best, Adrian On 03/07/07, Arul Prasad M L [EMAIL PROTECTED] wrote: This is the one: C:\Program Files\Macromedia\Flash 8\en\First Run\ActionsPanel\ActionScript_1_2\ActionsPanel.xml or, you can safely modify the copy of the same file available in ur home directory, in here: C:\Documents and Settings\username\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\ActionsPanel\ActionScript_1_2 scroll down to the typeinfo nodes. -- Arul Prasad http://arulprasad.blogspot.com On 7/2/07, Adrian Parr [EMAIL PROTECTED] wrote: Hi All, I vaguely remember there being a way of modifying the in-built triggers for code hinting. For example, if you type ... ball_mc. Flash will detect that you are referring to a MovieClip and provide the relevant code hints in a little popup window. Which is all very nice if you want to use those suffixes. But for my next project I want to use prefixes instead. For example ... mcBall Is there an XML file somewhere that I can edit to modify Flash's automatic code hinting to allow this? I realise that strict-typing every reference to a MovieClip would force the code hinting, but this isn't always possible or practical. Thanks in advance, Adrian ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Gaia Framework v1.0.4 released
Hey everyone! Just wanted to announce the latest version of my Gaia Framework for Adobe Flash. v1.0.4 brings some cool new features for manipulating sounds, as well as improved Gaia Scaffolding to support nested folder structures. http://www.gaiaflashframework.com/ -- Steven Sacks Flash Maestro Los Angeles, CA -- blog: http://www.stevensacks.net gaia: http://www.gaiaflashframework.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 custom mouse pointer from library impossible??
OMG!!! Thanks a lot!! Wow! Thanks a lot Leandro . /Here is the solution // from Leandro Amano | leandroamano.com.br // Quote See the solution (1 line... lol) //this is the solution, please, post in Flashcoders. //cursor.mouseEnabled = false; package{ import flash.display.MovieClip; import flash.events.Event; import flash.events.MouseEvent; import flash.ui.Mouse; public class MouseManage extends MovieClip{ private var cursor:pseudoMouse; public function MouseManage():void{ cursor=new pseudoMouse(); cursor.mouseEnabled = false; addChild(cursor); pad.addEventListener(MouseEvent.MOUSE_OVER,mOver); pad.addEventListener (MouseEvent.MOUSE_OUT,mOut); } private function mOut(event:MouseEvent):void{ Mouse.show(); pad.removeEventListener(MouseEvent.MOUSE_MOVE, redrawCursor); cursor.visible = false; } private function mOver(event:MouseEvent):void{ Mouse.hide(); cursor.visible =true; pad.addEventListener(MouseEvent.MOUSE_MOVE, redrawCursor); } private function redrawCursor(event:MouseEvent):void{ cursor.x = event.stageX; cursor.y = event.stageY; event.updateAfterEvent(); } } } best regards -- Leandro Amano /Quote //Original question: To clarify the situation a bit more better, i have uploaded the most relevant code along with a sample file at this thread: http://www.kirupa.com/forum/showthread.php?t=265342. // ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] detecting whether an object is a class
Hi list, I'm working on a new version of my reflection package and saw that my class check ( obj instanceof Function obj.constructor != null) isnt as foolproof as I thought :). For example this doesnt work for built in classes such as Stage. I tried a lot of different solutions, even looked in other reflection packages such as PixLib, but they suffer from the same problem. It's not that big of a deal, since these classes that dont comply are usually static only classes and not passed around to loggers etc anyway, but its.. well ... pretty darn annoying ! I'm looking for a simple check isClass(obj:Object):Boolean that works:) All the cases I came up with worked for some objects and not for others: testcase: isClass(_global.mx) = should be false isClass(_global.flash) = should be false isClass(Stage) = should be true isClass(MovieClip) = should be true isClass(_global.trace) = should be false. Anyone up to a puzzle?:) greetz JC ps a simple solution is just to put in a check for Stage, Mouse, etc but I'm trying to find a solution without such 'hacks' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] limit of nodes of XML file that can be parsed?
Hi Ron, That seems very re-assuring. The problem I am having really is that I find it very difficult to find out more about using XML in Flash on a more advanced but still small scale level. I can parse attributes, and nodes, but most examples deal with 1-2 attributes, that can be easily be pushed into a small one dimensional array, or node level depths of 1 or 2. I am developing a course with 20 odd modules, and e3ach one has 5 or so sections with content in it, and I am packing the module titles into one XML so this can be changed globally for all sections (which works fine), but I am having a difficult time creating a proper structure for the content XML, that holds the section content links (PDFs, audio files, etc) What I got at the moment roughly looks like this: ?xml version=1.0 encoding=utf-8? audio unit id=1 lesson id=1 activity id=1 titlewhatever/title duration01:02/duration urlaudio/unit1/audiofile.mp3/url /activity activity id=2 titlewhatever/title duration01:02/duration urlaudio/unit1/audiofile.mp3/url /activity ... etc. /lesson lesson id=2 activity id=1 titlewhatever/title duration01:02/duration urlaudio/unit1/audiofile.mp3/url /activity activity id=2 titlewhatever/title duration01:02/duration urlaudio/unit1/audiofile.mp3/url /activity /lesson etc. ... /unit1 unit 2 etc. ... My plan was to read this into a multidimensional array, and then refer to it throughout the 'life' of the section (i.e. as long as the swf of the audio section is in memory, and the user looking at it. I am not sure if that all makes sense, but do you have any ideas on how to make this most effective? Am I barking up the wrong idea with the multi-dim array idea? Is this not how you would do it? [that's the bit I can not find much info about ] Thanks, Nik On 7/3/07, Ron Wheeler [EMAIL PROTECTED] wrote: I do not think that you are even close to any maximum. There are many applications much bigger than this floating about. What tools do you have for validating XML? We have found that XMLSpy is a really useful tool if you are doing anything serious with XML. It has lots of different applications that make XML simpler. If you are doing serious Flash with XML, your project should be in Eclipse which also has excellent tools for editing and validating XML and can interface to XMLSpy. We have never run into any problems with the Flash runtime and XML since FlashPlayer 6. It seems very solid and capable of handling lots of nodes. I hope that this helps. Ron nik crosina wrote: Hi, Is there a limit on the nodes that can be parsed with in an XML file? I am transferring an XML file that is 4 levels deep and at the moment 500 odd lines long (not even half what it will be) into a multidimensional array and when ui trace the array, this fizzels out not half way through. The XML seems well formed though as I don't get any errors in any validation tool (from dreamweaver to online sites). Thanks! Nik ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Nik C ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] limit of nodes of XML file that can be parsed?
I would parse it into arrays of objects rather than arrays. It is a lot easier to ask an object for some information than a multidimensional array. I lot easier to maintain as well. That soudns like an idea to try. Thanks! Nik On 7/3/07, Ron Wheeler [EMAIL PROTECTED] wrote: You might also try to navigate the XML yourself (and parse it yourself.) I would parse it into arrays of objects rather than arrays. It is a lot easier to ask an object for some information than a multidimensional array. I lot easier to maintain as well. If you put some traces into your navigation, you will quickly see where the problem is. I assume that you have looked at he last record that was parsed correctly and the next one that was dropped. Do you have any characters in the XML that will cause problems (for example, or )? Ron nik crosina wrote: Hi, Is there a limit on the nodes that can be parsed with in an XML file? I am transferring an XML file that is 4 levels deep and at the moment 500 odd lines long (not even half what it will be) into a multidimensional array and when ui trace the array, this fizzels out not half way through. The XML seems well formed though as I don't get any errors in any validation tool (from dreamweaver to online sites). Thanks! Nik ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Nik C ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Skewing text
Thanks for the replies, I found the Sandy distortImage class to be the easiest to implement. http://sandy.media-box.net/blog/distortimage-20-the-fastest-way-to-freely-distort-image-with-flash-in-actionscript.html Jake On 02/07/07, Hans Wichman [EMAIL PROTECTED] wrote: Hi, I put together a very simple example for fun, maybe it's of use, nothing fancy though and pretty unoptimized. http://objectpainters.com/blog/?p=38 greetz JC On 7/2/07, Duncan Reid [EMAIL PROTECTED] wrote: chiming in a little late on this one... i need to preface the fact that i have not tried using these classes YET but this cat: http://lab.mathieu-badimon.com/ seems to have packaged up some nice stuff here: http://five3d.mathieu-badimon.com/ along with some documentation and a getting started guide. again, i haven't tried it yet but on the surface it looks like something you might be able to toy with... good luck, Dunc On 7/2/07, Hans Wichman [EMAIL PROTECTED] wrote: whether you screw or skew the movieclip that still wont be a perspective distortion:) On 7/2/07, David Ngo [EMAIL PROTECTED] wrote: Couldn't you just stick a TextField inside of a MovieClip then use a transformation matrix to screw the MovieClip? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zeh Fernando Sent: Monday, July 02, 2007 2:17 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Skewing text I need to skew some text to give the impression it is going off into the distance (think opening text on Star Wars, though without movement). I know this effect can be done using the triangular method as used in Papervision. However I'm not creating a 3D scene here, I just want the skewing. Can this be easily done with Papervision, or can anyone recommend any other resource (AS2 only)? I understand the principles behind the technique, I just don't want to re-invent the wheel by implementing from scratch. The effect is not just skewing. It *is* 3d, in the meaning that the perspective is distorted because the middle points are moved away depending on the angle. So yes, your faster/best bet would be to use any 3d class such as Papervision3D. It should be fairly simple as you'll just need a rotated plane with the content of a movieclip projected on it. Zeh ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] local shared object version compatability
Hi Does anyone know if a locally saved shared object from a swf made in Flash CS3 can be read with a swf made in FLash 8? It's XML stored in the object. thanks for your time James ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Skewing text
Hey Jake, just wondering, is the text only skewed then or perspective mapped as well? If it's the latter I have to check it out:) greetz JC On 7/3/07, Jake Prime [EMAIL PROTECTED] wrote: Thanks for the replies, I found the Sandy distortImage class to be the easiest to implement. http://sandy.media-box.net/blog/distortimage-20-the-fastest-way-to-freely-distort-image-with-flash-in-actionscript.html Jake On 02/07/07, Hans Wichman [EMAIL PROTECTED] wrote: Hi, I put together a very simple example for fun, maybe it's of use, nothing fancy though and pretty unoptimized. http://objectpainters.com/blog/?p=38 greetz JC On 7/2/07, Duncan Reid [EMAIL PROTECTED] wrote: chiming in a little late on this one... i need to preface the fact that i have not tried using these classes YET but this cat: http://lab.mathieu-badimon.com/ seems to have packaged up some nice stuff here: http://five3d.mathieu-badimon.com/ along with some documentation and a getting started guide. again, i haven't tried it yet but on the surface it looks like something you might be able to toy with... good luck, Dunc On 7/2/07, Hans Wichman [EMAIL PROTECTED] wrote: whether you screw or skew the movieclip that still wont be a perspective distortion:) On 7/2/07, David Ngo [EMAIL PROTECTED] wrote: Couldn't you just stick a TextField inside of a MovieClip then use a transformation matrix to screw the MovieClip? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zeh Fernando Sent: Monday, July 02, 2007 2:17 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Skewing text I need to skew some text to give the impression it is going off into the distance (think opening text on Star Wars, though without movement). I know this effect can be done using the triangular method as used in Papervision. However I'm not creating a 3D scene here, I just want the skewing. Can this be easily done with Papervision, or can anyone recommend any other resource (AS2 only)? I understand the principles behind the technique, I just don't want to re-invent the wheel by implementing from scratch. The effect is not just skewing. It *is* 3d, in the meaning that the perspective is distorted because the middle points are moved away depending on the angle. So yes, your faster/best bet would be to use any 3d class such as Papervision3D. It should be fairly simple as you'll just need a rotated plane with the content of a movieclip projected on it. Zeh ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:
RE: [Flashcoders] limit of nodes of XML file that can be parsed?
Hi Ron, That seems very re-assuring. The problem I am having really is that I find it very difficult to find out more about using XML in Flash on a more advanced but still small scale level. I can parse attributes, and nodes, but most examples deal with 1-2 attributes, that can be easily be pushed into a small one dimensional array, or node level depths of 1 or 2. I am developing a course with 20 odd modules, and e3ach one has 5 or so sections with content in it, and I am packing the module titles into one XML so this can be changed globally for all sections (which works fine), but I am having a difficult time creating a proper structure for the content XML, that holds the section content links (PDFs, audio files, etc) Have you looked at SCORM? If you're making XML like this, it might be worth your while to use the SCORM framework to store your data. It's bloated as hell, but will mean that your courses can be easily imported into Learning Platforms. If you use it from the outset, you may save yourself some work later should you choose to use it. Danny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Skewing text
Thanks for the replies, I found the Sandy distortImage class to be the easiest to implement. http://sandy.media-box.net/blog/distortimage-20-the-fastest-way-to-freely-distort-image-with-flash-in-actionscript.html Yes, but again - be careful. Skewing/distortion is not perspective. If you do that with text you won't get the same result as a star-wars-like text, as the glyphs that are farther from the viewer won't be vertically scaled as they should. To explain it visually, http://hosted.zeh.com.br/misc/perspective.png Zeh ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Desktop app that uploads files to server using binary data
I am building a desktop app (mac and pc) and it has to upload a bunch of files - pdf's, word docs and images - to a server side script. This has to be done via HTTP and cannot be FTP. The problem arises because I do not want the user to have to select the file/s before uploading so I cannot use the flash 8 FileReference class. The user should be able to drag the required files onto the application. I believe it is possible to upload binary data using AS3 but I cannot find any examples of this and as I have not as yet looked at AS3, some examples or advice on where to start would be much appreciated. As far as I am aware I will need to use Zinc to package the application as this will provide additional functionality such as the ability to drag and drop files onto the application. Apollo / Air is out of the question as it is only in beta stage and also this application needs to be run from a flash drive without any preinstall on the users hard drive. Thanks in advance Paul ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Skewing text
Hi JC Yes as Zeh has illustrated the Sandy distortImage class distorts, and does not create perspective. For my purposes this is fine as the perspective is not too pronounced (certainly not disappearing off into the horizon). Jake. On 03/07/07, Zeh Fernando [EMAIL PROTECTED] wrote: Thanks for the replies, I found the Sandy distortImage class to be the easiest to implement. http://sandy.media-box.net/blog/distortimage-20-the-fastest-way-to-freely-distort-image-with-flash-in-actionscript.html Yes, but again - be careful. Skewing/distortion is not perspective. If you do that with text you won't get the same result as a star-wars-like text, as the glyphs that are farther from the viewer won't be vertically scaled as they should. To explain it visually, http://hosted.zeh.com.br/misc/perspective.png Zeh ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Re: detecting whether an object is a class
Hi, hmm okay I give up, I'm just sticking with my previous implementation, and will add some special cases. Currently the result is: Running process: C:\Program Files\FlashDevelop\tools\fdbuild\fdbuild.exe D:\checkout_flash_library\sources\framework\examples\nl.trimm.reflect\ReflectionExample.fdp -cp Building ReflectionExample 1. getStyleCounter is property 2. __SVMouseWheelManager is object 3. org is object 4. origHeight is property 5. origWidth is property 6. skinRegistry is object 7. styles is object 8. cascadingStyles is property 9. style is object 10. mx is object 11. ReflectionExample is class 12. nl is object 13. TextSnapshot is class 14. PrintJob is class 15. MovieClipLoader is class 16. textRenderer is class 17. flash is object 18. System is object 19. Accessibility is object 20. Video is class 21. Stage is object 22. TextFormat is class 23. TextField is class 24. Button is class 25. Key is object 26. Mouse is object 27. Selection is object 28. LoadVars is class 29. XML is class 30. XMLNode is class 31. Sound is class 32. Math is object 33. Array is class 34. String is class 35. Date is class 36. Boolean is class 37. Number is class 38. o is property 39. showRedrawRegions is property 40. setTimeout is function 41. clearInterval is function 42. clearTimeout is function 43. setInterval is function 44. isFinite is function 45. isNaN is function 46. updateAfterEvent is function 47. trace is function 48. parseFloat is function 49. parseInt is function 50. unescape is function 51. escape is function 52. ASSetNativeAccessor is function 53. ASSetNative is function 54. ASSetPropFlags is function 55. RemoteLSOUsage is class 56. AsSetupError is class 57. Error is class 58. ContextMenu is class 59. ContextMenuItem is class 60. LocalConnection is class 61. SharedObject is class 62. Microphone is class 63. Camera is class 64. NetStream is class 65. NetConnection is class 66. Color is class 67. AsBroadcaster is class 68. XMLSocket is class 69. MovieClip is class 70. Infinity is property 71. NaN is property 72. Function is class 73. Object is class 74. ASconstructor is property 75. ASnative is property Not entirely correct but adding Stage, Mouse etc as a special case and filtering out _global properties that start with a lowercase character will do the trick :). If anyone is interested I'll post the new package when it's done. The old package (that I've been using in xflash) was ok too, but somewhat limited and it did not refresh it's class cache after an swf was loaded. greetz JC On 7/3/07, Hans Wichman [EMAIL PROTECTED] wrote: Hi list, I'm working on a new version of my reflection package and saw that my class check ( obj instanceof Function obj.constructor != null) isnt as foolproof as I thought :). For example this doesnt work for built in classes such as Stage. I tried a lot of different solutions, even looked in other reflection packages such as PixLib, but they suffer from the same problem. It's not that big of a deal, since these classes that dont comply are usually static only classes and not passed around to loggers etc anyway, but its.. well ... pretty darn annoying ! I'm looking for a simple check isClass(obj:Object):Boolean that works:) All the cases I came up with worked for some objects and not for others: testcase: isClass(_global.mx) = should be false isClass(_global.flash) = should be false isClass(Stage) = should be true isClass(MovieClip) = should be true isClass(_global.trace) = should be false. Anyone up to a puzzle?:) greetz JC ps a simple solution is just to put in a check for Stage, Mouse, etc but I'm trying to find a solution without such 'hacks' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Problems opening windows in Flash 8 w/Java Script...
so I've been working on a new flash project that opens new windows to display details of projects. well, I noticed that if I publish the swf as Flash 8, the java script won't work. is this a common problem? or am I just putting the wrong code in? this is what I'm using on the flash side:: on (release) { getURL(javascript:openWindow('http://www.dillingerkovach.com/ specdetail.html','newWindow','toolbar=0,menubar=0,scrollbars=0,resizable =0,width=450,height=250,left=120,top=180')); } is there another way to do it? it's not really a problem, because I'm not using anything in my swf that actually needs to be published as Flash 8 (filters or the like). but some day I might...any ideas? Jay ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Problems opening windows in Flash 8 w/Java Script...
Hello :) in flash8 you must use the ExternalInterface class :) if ( ExternalInterface.available ) { ExternalInterface.call( openWindow , params ) ; } EKA+ :) 2007/7/3, Jay Carlson [EMAIL PROTECTED]: so I've been working on a new flash project that opens new windows to display details of projects. well, I noticed that if I publish the swf as Flash 8, the java script won't work. is this a common problem? or am I just putting the wrong code in? this is what I'm using on the flash side:: on (release) { getURL(javascript:openWindow('http://www.dillingerkovach.com/ specdetail.html','newWindow','toolbar=0,menubar=0,scrollbars=0,resizable =0,width=450,height=250,left=120,top=180')); } is there another way to do it? it's not really a problem, because I'm not using anything in my swf that actually needs to be published as Flash 8 (filters or the like). but some day I might...any ideas? Jay ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Problems opening windows in Flash 8 w/Java Script...
sorry, Newb question probably...do I need to put the java in my HTML then? or is it different code there, too? Jay On Jul 3, 2007, at 10:14 AM, eka wrote: Hello :) in flash8 you must use the ExternalInterface class :) if ( ExternalInterface.available ) { ExternalInterface.call( openWindow , params ) ; } EKA+ :) 2007/7/3, Jay Carlson [EMAIL PROTECTED]: so I've been working on a new flash project that opens new windows to display details of projects. well, I noticed that if I publish the swf as Flash 8, the java script won't work. is this a common problem? or am I just putting the wrong code in? this is what I'm using on the flash side:: on (release) { getURL(javascript:openWindow('http://www.dillingerkovach.com/ specdetail.html','newWindow','toolbar=0,menubar=0,scrollbars=0,resiza ble =0,width=450,height=250,left=120,top=180')); } is there another way to do it? it's not really a problem, because I'm not using anything in my swf that actually needs to be published as Flash 8 (filters or the like). but some day I might...any ideas? Jay ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ...+. Jay Carlson Senior Web Designer Dillinger Kovach 817-719-3109 866-824-9790 Toll Free www.dillingerkovach.com [EMAIL PROTECTED] ...+. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] XML for course delivery
I just wanted to let you know that we have a course delivery application that we wrote about 4 years ago in Flash using XML to control the delivery of material. It uses a few XML files to control the flow. The first is a company file that controls skinning for different customers (logos, colours, etc.). It also controls administrative behaviour that is common to all courses for that company (logon required, format of usernames for validation, where to find the list of valid users-if required, administrator's e-mail for sending out test results, etc.) Each course is controlled by a chapter file that lists each chapter and tells the system where to find the chapter assets. This helps partition the course assets into manageable chunks. Our courses tend to be long with 2 to 5 chapters each with 30-80 slides(pages). Chapters may be created in parallel so it also helps keep the integrators from stepping on each other's toes. The main file (pages file) controls the delivery of content. Each slide (page) has a basic structure that is the same for all types of pages. Pages are identified as content, test - formative(immediate feedback) or summative (exam), control pages(dummy pages that signal something like chapter end). Simple pages look a bit like your proposed structure (except for duration - we get that from the sound file). For more interesting interaction, a page can call up a template which is run as a sub-function and accesses its own custom datastructure which is stored as a sub-node under the main page node. This is used to implement tests (multiple choice, matching, custom flash interactions, etc.) or slides with timed appearance of bullets and images. This allows us to make courses that look like custom timeline animations just by putting information in XML that says at 10 seconds into the narration show this picture(jpg or swf), and at 15 seconds display this text in 14 point Arial, green and bold and at 25 second replace the image with this one. The test templates can communicate their final test results back to the main flow which builds up a history that can be sent to the administrator at the end of the test. This returning XML structure includes the grade and the text that the test generated which typically describes what happened in a wrong answer. The main flow has no idea about the information, its only job is to save it and produce a final e-mail. The e-mail is sent through our server so that the person only needs HTTP access through their company firewall and does not even need e-mail on their PC - greatly simplifies administration; the student can work from work or home without .having to do any setup. We use XML internally to pass information around between objects. XML is easy to parse and whole sub-nodes can be easily extracted and sent to another object without knowing what is in it. This tends to make each object much simpler and less dependent on its friends. It has been used for all sorts of courses in French and English. We are selling an Explosives Technician's pre-course that we did for the RCMP. It is also used by Canadian Forces to train IEDD specialists. We have done a few technical courses in the petrochemical area including Pumps, Steam Traps, Work Permits and a ISO-14001 Awareness course. We have done a course on Public Participation for municipal managers and elected officials. It is very flexible in a wide variety of application areas. It has proven to be extremely robust in the field running over LAN, off of CD-ROM and over the Internet through an LMS. It can be run as a SCORM compliant content. I am not a big fan of SCORM but ??? We are thinking about making it open source, if there is some interest. We have also done another application involving a medium sized database stored in XML delivered on standalone CD-ROM which allowed first responders to quickly find information and photos about the Personal Protective Equipment used by all first responders in the city. (from gas masks to sun-screen). We have never had any problems with XML with any recent version of Flash so I think that you will be OK. Ron ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Problems opening windows in Flash 8 w/Java Script...
i know, i know this is wot i use on flash 8 on(release) { getURL(javascript:void window.open 'http://www.dillingerkovach.com/specdetail.html','newWin','width=606,height=445,left=0,top=0,toolbar=No,location=No, resizable=No,fullscreen=No')); } its important to define the result as void, if not u could end up with a blank page or error code, at the very same window your flash is contained. ch33r2 - Original Message - From: Jay Carlson [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, July 03, 2007 9:56 AM Subject: [Flashcoders] Problems opening windows in Flash 8 w/Java Script... so I've been working on a new flash project that opens new windows to display details of projects. well, I noticed that if I publish the swf as Flash 8, the java script won't work. is this a common problem? or am I just putting the wrong code in? this is what I'm using on the flash side:: on (release) { getURL(javascript:openWindow('http://www.dillingerkovach.com/ specdetail.html','newWindow','toolbar=0,menubar=0,scrollbars=0,resizable =0,width=450,height=250,left=120,top=180')); } is there another way to do it? it's not really a problem, because I'm not using anything in my swf that actually needs to be published as Flash 8 (filters or the like). but some day I might...any ideas? Jay ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] XML for course delivery
This was set-up a while ago: http://osflash.org/edumatic but has been silent for a while. Maybe your system could help inject some life back into it??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Wheeler Sent: 03 July 2007 16:34 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] XML for course delivery I just wanted to let you know that we have a course delivery application that we wrote about 4 years ago in Flash using XML to control the delivery of material. It uses a few XML files to control the flow. The first is a company file that controls skinning for different customers (logos, colours, etc.). It also controls administrative behaviour that is common to all courses for that company (logon required, format of usernames for validation, where to find the list of valid users-if required, administrator's e-mail for sending out test results, etc.) Each course is controlled by a chapter file that lists each chapter and tells the system where to find the chapter assets. This helps partition the course assets into manageable chunks. Our courses tend to be long with 2 to 5 chapters each with 30-80 slides(pages). Chapters may be created in parallel so it also helps keep the integrators from stepping on each other's toes. The main file (pages file) controls the delivery of content. Each slide (page) has a basic structure that is the same for all types of pages. Pages are identified as content, test - formative(immediate feedback) or summative (exam), control pages(dummy pages that signal something like chapter end). Simple pages look a bit like your proposed structure (except for duration - we get that from the sound file). For more interesting interaction, a page can call up a template which is run as a sub-function and accesses its own custom datastructure which is stored as a sub-node under the main page node. This is used to implement tests (multiple choice, matching, custom flash interactions, etc.) or slides with timed appearance of bullets and images. This allows us to make courses that look like custom timeline animations just by putting information in XML that says at 10 seconds into the narration show this picture(jpg or swf), and at 15 seconds display this text in 14 point Arial, green and bold and at 25 second replace the image with this one. The test templates can communicate their final test results back to the main flow which builds up a history that can be sent to the administrator at the end of the test. This returning XML structure includes the grade and the text that the test generated which typically describes what happened in a wrong answer. The main flow has no idea about the information, its only job is to save it and produce a final e-mail. The e-mail is sent through our server so that the person only needs HTTP access through their company firewall and does not even need e-mail on their PC - greatly simplifies administration; the student can work from work or home without .having to do any setup. We use XML internally to pass information around between objects. XML is easy to parse and whole sub-nodes can be easily extracted and sent to another object without knowing what is in it. This tends to make each object much simpler and less dependent on its friends. It has been used for all sorts of courses in French and English. We are selling an Explosives Technician's pre-course that we did for the RCMP. It is also used by Canadian Forces to train IEDD specialists. We have done a few technical courses in the petrochemical area including Pumps, Steam Traps, Work Permits and a ISO-14001 Awareness course. We have done a course on Public Participation for municipal managers and elected officials. It is very flexible in a wide variety of application areas. It has proven to be extremely robust in the field running over LAN, off of CD-ROM and over the Internet through an LMS. It can be run as a SCORM compliant content. I am not a big fan of SCORM but ??? We are thinking about making it open source, if there is some interest. We have also done another application involving a medium sized database stored in XML delivered on standalone CD-ROM which allowed first responders to quickly find information and photos about the Personal Protective Equipment used by all first responders in the city. (from gas masks to sun-screen). We have never had any problems with XML with any recent version of Flash so I think that you will be OK. Ron ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription
[Flashcoders] Flash 8 Accessibility Panel Bug?
Not sure if this is new, or if I'm just doing something stupid so I'm asking the experts: If you include a Name or Description property in the Accessibility Panel that includes quotes ( ), the _accProps Object for that MovieClip is not created. Has anyone else seen this? Am I just late to the party on it? I ran into this when creating a class that would create key listeners for any MovieClip that had an onRelease method and had it's _accProps.shortcut set to a keyboard shortcut (parsing the ctrl+, shift+, etc). I've been beating my head against the wall all day, and finally figured out the only difference between the MovieClips that were working as planned and those that failed were that the name or description had quotes. My Mistake or Flash's mistake? Anyone know if it's been reported (not that I expect a fix, it's Flash 8, Does CS3 do this?) I built a little test case to confirm, and if anyone's interested in pointing out my mistake or just checking my work, feel free. Steps to re-create: 1: Create a movie with one MovieClip on Stage (contents are unimportant) named test_mc 2: Open the Accessibility panel and set the properties for this movie as follows: a) Make Object Accessible checked b) Make child objects accessible *unchecked* c) Set the name value to be: This is a dummy test Movie d) Set the description value to be: Description goes here e) Set the shortcut field to be: A f) Set the Tab index field to be 1 3) Place the following code on frame 1 this.onLoad = function() { this.onEnterFrame = init ; } function init() { this.onEnterFrame = null ; delete this.onEnterFrame ; trace(test_mc._accProps.name) trace(test_mc._accProps.description) trace(test_mc._accProps.silent) trace(test_mc._accProps.forceSimple) trace(test_mc._accProps.shortcut) ; } The output of this is: undefined undefined undefined undefined undefined Remove the quotes and the output is: This is a dummy test Movie Description goes here undefined true A ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] limit of nodes of XML file that can be parsed?
Hi Danny, I'll definitely look into that, if not for this project, it'll come in very handy for later ones. So far I heard of SCORM, but never looked into it really in depth. Isn't it for web based learning only? My current project is going onto a DVD (through a Zinc exe) Nik On 7/3/07, Danny Kodicek [EMAIL PROTECTED] wrote: Hi Ron, That seems very re-assuring. The problem I am having really is that I find it very difficult to find out more about using XML in Flash on a more advanced but still small scale level. I can parse attributes, and nodes, but most examples deal with 1-2 attributes, that can be easily be pushed into a small one dimensional array, or node level depths of 1 or 2. I am developing a course with 20 odd modules, and e3ach one has 5 or so sections with content in it, and I am packing the module titles into one XML so this can be changed globally for all sections (which works fine), but I am having a difficult time creating a proper structure for the content XML, that holds the section content links (PDFs, audio files, etc) Have you looked at SCORM? If you're making XML like this, it might be worth your while to use the SCORM framework to store your data. It's bloated as hell, but will mean that your courses can be easily imported into Learning Platforms. If you use it from the outset, you may save yourself some work later should you choose to use it. Danny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Nik C ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] XML for course delivery
Ron, This could definitely be of interest to me and my client. Do you have a site on-line that is using this for some touch and feel experience? Nik On 7/3/07, Giles Taylor [EMAIL PROTECTED] wrote: This was set-up a while ago: http://osflash.org/edumatic but has been silent for a while. Maybe your system could help inject some life back into it??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Wheeler Sent: 03 July 2007 16:34 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] XML for course delivery I just wanted to let you know that we have a course delivery application that we wrote about 4 years ago in Flash using XML to control the delivery of material. It uses a few XML files to control the flow. The first is a company file that controls skinning for different customers (logos, colours, etc.). It also controls administrative behaviour that is common to all courses for that company (logon required, format of usernames for validation, where to find the list of valid users-if required, administrator's e-mail for sending out test results, etc.) Each course is controlled by a chapter file that lists each chapter and tells the system where to find the chapter assets. This helps partition the course assets into manageable chunks. Our courses tend to be long with 2 to 5 chapters each with 30-80 slides(pages). Chapters may be created in parallel so it also helps keep the integrators from stepping on each other's toes. The main file (pages file) controls the delivery of content. Each slide (page) has a basic structure that is the same for all types of pages. Pages are identified as content, test - formative(immediate feedback) or summative (exam), control pages(dummy pages that signal something like chapter end). Simple pages look a bit like your proposed structure (except for duration - we get that from the sound file). For more interesting interaction, a page can call up a template which is run as a sub-function and accesses its own custom datastructure which is stored as a sub-node under the main page node. This is used to implement tests (multiple choice, matching, custom flash interactions, etc.) or slides with timed appearance of bullets and images. This allows us to make courses that look like custom timeline animations just by putting information in XML that says at 10 seconds into the narration show this picture(jpg or swf), and at 15 seconds display this text in 14 point Arial, green and bold and at 25 second replace the image with this one. The test templates can communicate their final test results back to the main flow which builds up a history that can be sent to the administrator at the end of the test. This returning XML structure includes the grade and the text that the test generated which typically describes what happened in a wrong answer. The main flow has no idea about the information, its only job is to save it and produce a final e-mail. The e-mail is sent through our server so that the person only needs HTTP access through their company firewall and does not even need e-mail on their PC - greatly simplifies administration; the student can work from work or home without .having to do any setup. We use XML internally to pass information around between objects. XML is easy to parse and whole sub-nodes can be easily extracted and sent to another object without knowing what is in it. This tends to make each object much simpler and less dependent on its friends. It has been used for all sorts of courses in French and English. We are selling an Explosives Technician's pre-course that we did for the RCMP. It is also used by Canadian Forces to train IEDD specialists. We have done a few technical courses in the petrochemical area including Pumps, Steam Traps, Work Permits and a ISO-14001 Awareness course. We have done a course on Public Participation for municipal managers and elected officials. It is very flexible in a wide variety of application areas. It has proven to be extremely robust in the field running over LAN, off of CD-ROM and over the Internet through an LMS. It can be run as a SCORM compliant content. I am not a big fan of SCORM but ??? We are thinking about making it open source, if there is some interest. We have also done another application involving a medium sized database stored in XML delivered on standalone CD-ROM which allowed first responders to quickly find information and photos about the Personal Protective Equipment used by all first responders in the city. (from gas masks to sun-screen). We have never had any problems with XML with any recent version of Flash so I think that you will be OK. Ron ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training
Re: [Flashcoders] XML for course delivery
There are 2 places that are under development so are open for anyone. These are both setup as SCORM courses which makes for a less than fun experience but it is a standard. The first is under revision so we are not as happy with the current contents. We did not do the instructional design and it was the first project for the person who did it (the subject matter expert). 1) www.iiggm.net with user default and password user. Click on eLearning and take the only course available. The material is pretty dry and some of the SCOs are too small. It is almost completely done with templates. There are no custom animations. 2) www.edu-solution.net with user djeckyll and password mrhyde. This is in French but you can try the course on purgeurs (steam traps). It has both timeline animations and templated animations. You can also see screenshots on our web site in the case study area. Coastal was a lot of fun and has lots of fun graphics and animations. Ron nik crosina wrote: Ron, This could definitely be of interest to me and my client. Do you have a site on-line that is using this for some touch and feel experience? Nik On 7/3/07, Giles Taylor [EMAIL PROTECTED] wrote: This was set-up a while ago: http://osflash.org/edumatic but has been silent for a while. Maybe your system could help inject some life back into it??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Wheeler Sent: 03 July 2007 16:34 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] XML for course delivery I just wanted to let you know that we have a course delivery application that we wrote about 4 years ago in Flash using XML to control the delivery of material. It uses a few XML files to control the flow. The first is a company file that controls skinning for different customers (logos, colours, etc.). It also controls administrative behaviour that is common to all courses for that company (logon required, format of usernames for validation, where to find the list of valid users-if required, administrator's e-mail for sending out test results, etc.) Each course is controlled by a chapter file that lists each chapter and tells the system where to find the chapter assets. This helps partition the course assets into manageable chunks. Our courses tend to be long with 2 to 5 chapters each with 30-80 slides(pages). Chapters may be created in parallel so it also helps keep the integrators from stepping on each other's toes. The main file (pages file) controls the delivery of content. Each slide (page) has a basic structure that is the same for all types of pages. Pages are identified as content, test - formative(immediate feedback) or summative (exam), control pages(dummy pages that signal something like chapter end). Simple pages look a bit like your proposed structure (except for duration - we get that from the sound file). For more interesting interaction, a page can call up a template which is run as a sub-function and accesses its own custom datastructure which is stored as a sub-node under the main page node. This is used to implement tests (multiple choice, matching, custom flash interactions, etc.) or slides with timed appearance of bullets and images. This allows us to make courses that look like custom timeline animations just by putting information in XML that says at 10 seconds into the narration show this picture(jpg or swf), and at 15 seconds display this text in 14 point Arial, green and bold and at 25 second replace the image with this one. The test templates can communicate their final test results back to the main flow which builds up a history that can be sent to the administrator at the end of the test. This returning XML structure includes the grade and the text that the test generated which typically describes what happened in a wrong answer. The main flow has no idea about the information, its only job is to save it and produce a final e-mail. The e-mail is sent through our server so that the person only needs HTTP access through their company firewall and does not even need e-mail on their PC - greatly simplifies administration; the student can work from work or home without .having to do any setup. We use XML internally to pass information around between objects. XML is easy to parse and whole sub-nodes can be easily extracted and sent to another object without knowing what is in it. This tends to make each object much simpler and less dependent on its friends. It has been used for all sorts of courses in French and English. We are selling an Explosives Technician's pre-course that we did for the RCMP. It is also used by Canadian Forces to train IEDD specialists. We have done a few technical courses in the petrochemical area including Pumps, Steam Traps, Work Permits and a ISO-14001 Awareness course. We have done a course on Public Participation for municipal managers and elected officials. It is very flexible in a wide variety of
Re: [Flashcoders] Watermarking FLV VIdeos
you can use ffmpeg to do this. It's *free* and open source. On 6/26/07, Tarjinder Kumar [EMAIL PROTECTED] wrote: Hi, I want to watermark flv videos using command line utility. Can any one suggest me some solution. Thanks Tarjinder Kumar ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Watermarking FLV VIdeos
After your question gets answered mike I am wondering if you can use this with a DB driven site using asp.net. Any one? Tony... - Original Message - From: Mike Duguid [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, July 03, 2007 7:58 PM Subject: Re: [Flashcoders] Watermarking FLV VIdeos you can use ffmpeg to do this. It's *free* and open source. On 6/26/07, Tarjinder Kumar [EMAIL PROTECTED] wrote: Hi, I want to watermark flv videos using command line utility. Can any one suggest me some solution. Thanks Tarjinder Kumar ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Bizarre: Movie not loaded... on local machine
For the last couple of weeks I have not been able to view any Flash files embedded in any pages on my local machine. I don't know why. If I right click where the flash movie should be displayed, I get a message that says Movie not laoded... I am running Apache 2 on a PowerBook G4 laptop with OSX and have tried both Flash Player 8 9. I also recently setup a Windows XP box with Apache2 and am having the same problem. I wish I had more information, but that seems to be all I can think of. This is an odd situation, but if I am having it on two computers, a Mac and PC, somebody else must have encountered it as well. Thanks, Aaron ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Watermarking FLV VIdeos
After your question gets answered mike I am wondering if you can use this with a DB driven site using asp.net. If it's a command-line tool, you can use it from ASP.NET or any other server scripting environment that lets you execute external programs. 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! This email has been processed by SmoothZap - www.smoothwall.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Desktop app that uploads files to server using binarydata
The reason why're you're not finding much info is probably because you more or less have to know what to look for ;-) Try looking for Base64Encoder http://tools.assembla.com/flexsdk/browser/mx/utils/Base64Encoder.as mx.utils.Base64Encoder class is an undocumented Flex 2 AS3 class, which will be documented in Flex 3. an example sending an image to server: http://djangonflex.wordpress.com/2007/06/30/sending-images-from-flex-to-a-server/ These might come in handy as well: - JPEGEncoder - PNGEncoder They're available in the as3corelib: http://code.google.com/p/as3corelib/ http://as3corelib.googlecode.com/svn/trunk/src/com/adobe/images/ So basically what you'll need to do when a file is dropped on your app is load that file as raw Binary data fileLoader = new URLLoader(); fileLoader.dataFormat = URLLoaderDataFormat.BINARY; Once the file is loaded, convert it to a binary string (using Base64Encoder) and then send it to your server script using HTTPService (not sure what the Flash CS3 equivalent is). By the way, you can use Flex with Zinc. regards, Muzak - Original Message - From: Paul Steven [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, July 03, 2007 3:24 PM Subject: [Flashcoders] Desktop app that uploads files to server using binarydata I am building a desktop app (mac and pc) and it has to upload a bunch of files - pdf's, word docs and images - to a server side script. This has to be done via HTTP and cannot be FTP. The problem arises because I do not want the user to have to select the file/s before uploading so I cannot use the flash 8 FileReference class. The user should be able to drag the required files onto the application. I believe it is possible to upload binary data using AS3 but I cannot find any examples of this and as I have not as yet looked at AS3, some examples or advice on where to start would be much appreciated. As far as I am aware I will need to use Zinc to package the application as this will provide additional functionality such as the ability to drag and drop files onto the application. Apollo / Air is out of the question as it is only in beta stage and also this application needs to be run from a flash drive without any preinstall on the users hard drive. Thanks in advance Paul ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Watermarking FLV VIdeos
Thanks Dave happy 4th by the way. Tony... - Original Message - From: Dave Watts [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, July 03, 2007 9:38 PM Subject: RE: [Flashcoders] Watermarking FLV VIdeos After your question gets answered mike I am wondering if you can use this with a DB driven site using asp.net. If it's a command-line tool, you can use it from ASP.NET or any other server scripting environment that lets you execute external programs. 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! This email has been processed by SmoothZap - www.smoothwall.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Bizarre: Movie not loaded... on local machine
Hi, by local machine you mean you are running the files locally ? Or is it possible the sysadmin blocked swf files on the firewall? greetz JC On 7/4/07, Aaron Roberson [EMAIL PROTECTED] wrote: For the last couple of weeks I have not been able to view any Flash files embedded in any pages on my local machine. I don't know why. If I right click where the flash movie should be displayed, I get a message that says Movie not laoded... I am running Apache 2 on a PowerBook G4 laptop with OSX and have tried both Flash Player 8 9. I also recently setup a Windows XP box with Apache2 and am having the same problem. I wish I had more information, but that seems to be all I can think of. This is an odd situation, but if I am having it on two computers, a Mac and PC, somebody else must have encountered it as well. Thanks, Aaron ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Flash 8 Accessibility Panel Bug?
Hi, If I am not wrong flash is taking as a special character. To use as a normal character use \ before . This will remove the special meaning of and will be used as a normal character. Eg: Set the .name property to: This is a \dummy\ test movie I have tested it with Jaws 7.0 and Jaws 8.0 Thanks Regards Vivek Gaikwad Flash Accessibility Developer www.n-syst.com -Original Message- From: Jer Brand [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 04, 2007 1:12 AM To: flashcoders@chattyfig.figleaf.com; Jer Subject: [Flashcoders] Flash 8 Accessibility Panel Bug? Not sure if this is new, or if I'm just doing something stupid so I'm asking the experts: If you include a Name or Description property in the Accessibility Panel that includes quotes ( ), the _accProps Object for that MovieClip is not created. Has anyone else seen this? Am I just late to the party on it? I ran into this when creating a class that would create key listeners for any MovieClip that had an onRelease method and had it's _accProps.shortcut set to a keyboard shortcut (parsing the ctrl+, shift+, etc). I've been beating my head against the wall all day, and finally figured out the only difference between the MovieClips that were working as planned and those that failed were that the name or description had quotes. My Mistake or Flash's mistake? Anyone know if it's been reported (not that I expect a fix, it's Flash 8, Does CS3 do this?) I built a little test case to confirm, and if anyone's interested in pointing out my mistake or just checking my work, feel free. Steps to re-create: 1: Create a movie with one MovieClip on Stage (contents are unimportant) named test_mc 2: Open the Accessibility panel and set the properties for this movie as follows: a) Make Object Accessible checked b) Make child objects accessible *unchecked* c) Set the name value to be: This is a dummy test Movie d) Set the description value to be: Description goes here e) Set the shortcut field to be: A f) Set the Tab index field to be 1 3) Place the following code on frame 1 this.onLoad = function() { this.onEnterFrame = init ; } function init() { this.onEnterFrame = null ; delete this.onEnterFrame ; trace(test_mc._accProps.name) trace(test_mc._accProps.description) trace(test_mc._accProps.silent) trace(test_mc._accProps.forceSimple) trace(test_mc._accProps.shortcut) ; } The output of this is: undefined undefined undefined undefined undefined Remove the quotes and the output is: This is a dummy test Movie Description goes here undefined true A ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com