Re: [Flashcoders] Software Patent Question
Thanks, for the opinions. I have to agree with Charles on this - the patent is bunk. I just wanted to hear it from someone else. Makes me want to make an open-source makeover engine. It might be something to do in all my free-time. Heh Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Software Patent Question
That's not a bad idea, provided that you have patent/copyright lawyers who will also handle your case pro-bono in their free time! ;p -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Mennenoh Sent: Friday, January 04, 2008 1:41 PM To: Flash Coders List Subject: Re: [Flashcoders] Software Patent Question Thanks, for the opinions. I have to agree with Charles on this - the patent is bunk. I just wanted to hear it from someone else. Makes me want to make an open-source makeover engine. It might be something to do in all my free-time. Heh ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Software Patent Question
Hi Dave, I have to wonder -- if you just wanted confirmation of your gut feeling, why did you write to a technical forum? Sorry, but it annoys me to have taken the time to provide objective information when all the poster wants is validation for a gut response. If your concern is truly to avoid legal liability, you should ignore your feeling of being pissed off and seek legally accurate information. From the US Patent and Trademark Office website (http://www.uspto.gov/go/pac/doc/general/#patenthttp://www.uspto.gov/go/pac/doc/general/#patent) : There are three types of patents: 1) Utility patents may be granted to anyone who invents or discovers any new and useful process, machine, article of manufacture, or composition of matter, or any new and useful improvement thereof; Obviously, more information is needed to establish whether the process in question qualifies for a patent, but just because it's a process (not a tangible product) does not disqualify it. Can we still be friends? Marc At 10:41 AM 1/4/2008, you wrote: Thanks, for the opinions. I have to agree with Charles on this - the patent is bunk. I just wanted to hear it from someone else. Makes me want to make an open-source makeover engine. It might be something to do in all my free-time. Heh Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] How do you tell if an Object is dynamic?
I ran into a particular situation where i had a function that took an Object as a parameter. I needed that Object to be an actual Object i.e. dynamic because the function was going to add properties to it. But since everything in ActionScript is an Object I had trouble enforcing this. Is there a way to check to see if an Object is dynamic? Or is there a way to enforce something as an Object rather than a subclass of in Object (which is everthing else)? Jamie ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Getting the project directory path in AIR
Ok it works, but sometimes it returns the path of the subfolders inside the application directory. Why? On Jan 3, 2008 12:00 PM, CrAzYcAlL [EMAIL PROTECTED] wrote: If you type this on the first frame of your application you will get an error , because the call to swithVideo will happens before the InvokeEvent. add a button to your app and label it btn for example and try this at frame 1: var appDir:File; NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE ,onInvoke) function onInvoke (invokeEvent:InvokeEvent):void{ appDir = invokeEvent.currentDirectory; } function switchVideo(st:String):void { trace(appDir.nativePath); } btn.addEventListener(MouseEvent.CLICK, clickVideo); function clickVideo (evt:MouseEvent):void{ switchVideo(Video); } so the problem was that you were calling switchVideo before onInvoke takes place, and the appDir variable was not populated yet. CrAzYcAlL Omar Fouad wrote: When I use: NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onInvoke) var AppDir; function onInvoke(e:InvokeEvent) { AppDir = e.currentDirectory; trace(AppDir.nativePath); // traces the path } function switchVideo(st:String) { var fileStream:FileStream = new FileStream(); fileStream.openAsync(AppDir.resolvePath(aA.txt), FileMode.WRITE); fileStream.writeUTFBytes(A); fileStream.close(); trace(AppDir.nativePath); // throws an Error } SwitchVideo(Video); Why AppData is not recognized only in the onInvoke() function dispached by the Invoke Event? On Jan 1, 2008 6:16 PM, Omar Fouad [EMAIL PROTECTED] wrote: Ok it wored just fine thanks for your Help :D Happy Feasts :D On Jan 1, 2008 6:15 PM, Omar Fouad [EMAIL PROTECTED] wrote: Well beside the code hint is not working, in the documentation there is definition for the Native Application. BTW I'll try what u sent and feedback... Copy that. On Jan 1, 2008 6:12 AM, CrAzYcAlL [EMAIL PROTECTED] wrote: Well that´s the way I use when doing Air projects with Flash CS3. Even the code hint is working in flash IDE. here is a .fla test: http://www.adrianosantangeli.com/FlashAir.fla CrAzYcAlL Omar Fouad wrote: Well I am using the Beta 3 but there is no NativeApplication Class. P.S. : Um using the flash CS3 Air Update. On Dec 31, 2007 3:24 AM, CrAzYcAlL [EMAIL PROTECTED] wrote: What version of Air ? flash.desktop.NativeApplication is for beta2 and beta3 if you're using an older version you need to use flash.System.Shell instead. CrAzYcAlL * *Omar Fouad wrote: flash.desktop.NativeApplication is not a Class in the AS3 library,,, On Dec 31, 2007 12:45 AM, CrAzYcAlL [EMAIL PROTECTED] wrote: use InvokeEvent : import flash.events.InvokeEvent; import flash.desktop.NativeApplication; import flash.filesystem.File; var appDir:File; NativeApplication.nativeApplication.addEventListener( InvokeEvent.INVOKE , onInvoke) function onInvoke (invokeEvent:InvokeEvent):void{ appDir = invokeEvent.currentDirectory; trace ( appDir.nativePath ); } CrAzYcAlL Omar Fouad wrote: Hey, Um doing some kiosk database driven Application in AIR, and I need to return the absolute directory path of the .fla file itself in order to be able to write files in the same application directory. I tried: var path:File.applicationStorageDirectory; trace(path.nativePath) // it returned some other directory inside documents and settings any Idea? ___ 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 -- Omar M. Fouad - Digital Emotions http://www.omarfouad.net This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. -- Omar M. Fouad - Digital Emotions http://www.omarfouad.net This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or
Re: [Flashcoders] How do you tell if an Object is dynamic?
Its pretty easy with AS3's reflection API; take a look at flash.utils.describeType. Jason // Sekati On Jan 4, 2008 8:51 PM, Jamie S [EMAIL PROTECTED] wrote: I ran into a particular situation where i had a function that took an Object as a parameter. I needed that Object to be an actual Object i.e. dynamic because the function was going to add properties to it. But since everything in ActionScript is an Object I had trouble enforcing this. Is there a way to check to see if an Object is dynamic? Or is there a way to enforce something as an Object rather than a subclass of in Object (which is everthing else)? Jamie ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ::: : jason m horwitz // sekati llc // nyc + mke : [EMAIL PROTECTED] | [EMAIL PROTECTED] : http://sekati.com | http://cv.sekati.com : +1.414.455.4406 | +1.646.662.3331 : aim/skype: n0kati ::: ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How do you tell if an Object is dynamic?
If you're using AS3, you might consider using a Dictionary object instead. If not, then you could make your own dynamic subclass of Object and use that (although that might break other code -- I'm not sure what your situation is). On Jan 4, 2008 5:51 PM, Jamie S [EMAIL PROTECTED] wrote: I ran into a particular situation where i had a function that took an Object as a parameter. I needed that Object to be an actual Object i.e. dynamic because the function was going to add properties to it. But since everything in ActionScript is an Object I had trouble enforcing this. Is there a way to check to see if an Object is dynamic? Or is there a way to enforce something as an Object rather than a subclass of in Object (which is everthing else)? Jamie ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- T. Michael Keesey Director of Technology Exopolis, Inc. 2894 Rowena Avenue Ste. B Los Angeles, California 90039 http://exopolis.com/ -- http://3lbmonkeybrain.blogspot.com/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders