RE: [Flashcoders] Need help from PHP coder
Thanx to everyone for the input. It was the $HTTP_RAW_POST_DATA item that I was unaware of. P. -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Chester McLaughlin Sent: Thursday, November 09, 2006 8:27 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Need help from PHP coder Here's a very simple example I got working 1) create php file called saveXML.php 2) create xml file called myxml.xml 3) make sure php can write to myxml.xml file // START ACTIONSCRIPT var null_xml:XML = new XML(); var my_xml:XML = new XML(nodechildchester/child/node); my_xml.contentType = text/xml; // Send to a specific HTML window (_blank, _self, _top, etc); //my_xml.send(saveXML.php,_self); // Send in the background my_xml.sendAndLoad(saveXML.php,null_xml); // END ACTIONSCRIPT ! -- START PHP -- ? $fp=fopen(myxml.xml,w); fwrite($fp,$HTTP_RAW_POST_DATA); fclose($fp); ? ! -- END PHP -- On Nov 9, 2006, at 2:49 PM, Pete Miller wrote: Learn PHP is still on my to-do list, and now I'm fumbling my way through a few simple PHP scripts. I simply want to send an XML object to a PHP script that will write it to the server. What PHP function will catch the end result of a XML.send() function? No need for too many details, I'll read up on it, but if someone could name the proper function? Thanx, P. ___ 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 This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Any other use, retention, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. Finally, the recipient should check this e-mail and any attachments for the presence of viruses. Lambesis accepts no liability for any damage caused by any virus transmitted by this email. ___ 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] TAMARIN!!
Wow What great newsit seems Adobe has seen the light. http://www.kaourantin.net/2006/11/spidermonkeys-relative-tamarin-joins.html http://www.moock.org/blog/archives/000202.html http://www.darronschall.com/weblog/ One of the most exciting aspects of this announcement is the new inititative to build an ECMAScript compiler, which means I asume the ability to compile Actionscript IN THE BROWSER! Imagine the possibilities! Open Source rules! Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ 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] Noob, basic questions on actionscript, withmethodology suggestions
Not to step on any toes, but only to add to the information: The XML object has a 'loaded' property inside of it which does exactly as described in the last part of this post. It returns True if the Xml is finished loading and ready to be referenced elsewhere. If (myXml.loaded) trace(myXml.firstChild); Else doTheLoadingThingieAgainOrWhatever(); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pete Miller Sent: donderdag 9 november 2006 23:33 To: Flashcoders mailing list Subject: RE: [Flashcoders] Noob, basic questions on actionscript,withmethodology suggestions You tripped, exactly the way I described earlier, by accessing external_xml right after calling Load(). Wait until onLoad() is called before doing anything with external_xml. You should trace the XML object inside the onLoad function: external_xml.onLoad = function(success:Boolean) { if (success) { trace(this); //Do something with the XML in here. } else { trace(xml failed to load.); } The result will probably be [Object object] or something equally obscure, as the Flash trace routine doesn't break down complex objects into viewable text. In general, you can put a flag inside the onLoad() routine that indicates that the XML object is safe to use. P. -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Scott Haneda Sent: Thursday, November 09, 2006 5:14 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Noob, basic questions on actionscript, withmethodology suggestions Hi, You will need to move external_xml.load call below the onLoad function because your file will probably be loaded before the handler is defined (locally). with trace(myXML) you have defined myXML inside the function - this means it is not in scope outside the function. Try: var external_xml:XML = new XML(); //trace if loaded, or not external_xml.onLoad = function(success:Boolean) { if (success) { trace(xml loaded successfully.); //Do something with the XML in here. } else { trace(xml failed to load.); } }; //variable loads external XML file afterwards external_xml.load(example1.xml); trace(external_xml); I get nothing at all on the final trace, not null, not undefined, just blank. -- - Scott HanedaTel: 415.898.2602 http://www.newgeo.com Novato, CA U.S.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 ___ 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] Fever FvAsWing update is available
Hi Romain, looks like an awesome piece of work. A few questions though, hope you can point me in the right direction: - when would i want to use just pixlib, and when should i use fever? - what extensions should i think of to the aswing framework? components? If i want to start using this framework, what would you recommend, start using pixlib only and then move onwards, or take on the whole thing at once:)? kind regards, JC On 10/26/06, Romain Ecarnot [EMAIL PROTECTED] wrote: Hi all ;) Don't know if you already know about Fever project ? For a quick summary... *Fever* is an OpenSource (MPL1.1) framework targeted for Flash Player version = 8. Project is composed in 2 parts : - The logic *Fever Framework* : which defines useful tools to create rich application or web site ( data validation, history managment, visual effect, keyboard managment, I/O and more ) - *FvAsWing extensions* framework : which gives extensions to existing AsWing http://www.aswing.org/display/AsWing/Home GUI Framework. *Fever* is fully compliant with MTASC http://www.mtasc.org/ Compiler. *Fever* profits from the power of the Pixlib http://www.osflash.org/pixlibFramework. A new big update is available now ! ( rev 90 ) Please, take a look at my blog ticket for detail : http://www.customactions.net/webblog/index.php/2006/10/26/55-fever-fvaswing-update-rev-90-big-update An english translation will be available in few dayssorry for delay ;) More info to come if you're interesting Bye. Romain Ecarnot. ___ 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] cairngorm 2
Hi list, i cant seem to figure out whether cairngorm is for flex only, or for flash as well. I find info about v0.95/0.99 saying its for flash as well, and version 2 for flex only? greetz JC ___ 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] TAMARIN
Wow What great newsit seems Adobe has seen the light. http://www.kaourantin.net/2006/11/spidermonkeys-relative-tamarin-joins.html http://www.moock.org/blog/archives/000202.html http://www.darronschall.com/weblog/ One of the most exciting aspects of this announcement is the new inititative to build an ECMAScript compiler, which means I asume the ability to compile Actionscript IN THE BROWSER! Imagine the possibilities! Open Source rules! Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ 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] List Component - Custom Display Settings
Hello, I'm developing an application that simulations an e-mail application, similar to Outlook. I'd like to use the List Component to hold all the e-mails and have unread e-mails bold, e-mails that need follow up in red, and completed e-mails as plain text. I have been reading through some docs, but can't seem to find anything on changing the font of individual items in the List Component. Is it possible to change the appearance of single items in a List Component? Thanks! -Dan This e-mail and its attachments are intended only for the use of the addressee(s) and may contain privileged, confidential or proprietary information. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, displaying, copying, or use of this information is strictly prohibited. If you have received this communication in error, please inform the sender immediately and delete and destroy any record of this message. Thank you. ___ 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] OO way to start RIA app
Hello, Recently had to re-jig the start-up sequence to an AS2 flash app - caused lots of unexpected side-effects Struck me that there must be an agreed OO way to start/finish an application. Does anyone have some useful advice on best practice for app start-up from an AS2 perpective? regards ___ 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] test
Just testing ... Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders@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] Mouse and ActionScript3
Hi list... Sorry for this so simple question... but I didn't find an easy way to replace onReleaseOutside event in ActionScript3. The MOUSE_UP event doesn't fire if the mouse is outside the displayObject... So I test the MOUSE_UP event of the root display object, and transfer the value to my object... but it's not a nice solution... Any idea ?? thanks David Buff ___ 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] Aaaaaaaaaaaaarrrrgh! All my Arabic assumptions are coming apart!
So I finally got round to plugging in an arabic keyboard today, and I've spent the entire day watching the entire structure of what I thought was true about Flash and Arabic unravelling before my eyes. Specifically: I can type right-to-left Arabic into a Flash input field in a swf The text displays correctly with the characters changing form appropriately according to their position in the word The text continues to display correctly whether or not the field has focus Now I don't know what to think. Can I assume that all the work I've been doing over the past few weeks is pointless and as long as they have their OS set to Arabic, my end-users will be able to type just fine into Flash? 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
[Flashcoders] Weird Executable Publishing
If I publish a Win executable then publish another in quick succession, I most times get an error about a locked file/Flash installation problem. An get an .exe of 0 bytes. If I wait a few minutes and try again, it normally works. Has anyone run into this? Win2000 F8 IDE. - e. ___ 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] Is it possible to expand work area in flash?
Thank you for all your answers! Nick I don't need a bigger stage area to work on, I just need a bigger work area. Any tips for me? JC, Thanks! I'm going to try that. But I still have a hard time learning that there is such a silly limitation in flash. Is there really no way to just make the work area bigger? Rock on! Best regards André Hedetoft Geek Movie Director Join my Fan Club so that I get to make my next movie over at http://www.andrehedetoft.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] Noob, basic questions on actionscript, book suggestion
I bought that book too. It is the worst computer book I have ever read. At their talk they gave on the subject at MAX a couple of years ago (it could have been flash forward), Joey Lott kept having to correct them from the audience. He was so nice about it, but it was pretty obvious they didn't know what they were talking about. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Thursday, November 09, 2006 4:21 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Noob, basic questions on actionscript,book suggestion This is not the same book as some older friendsofed books on XML and Flash (using A.S. 1.0/older versions of Flash) which were terrible. LOL. Another XML and Flash book to avoid is Flash and XML: A Developer's Guide by Dov Jacobsen and Jesse Jacobsen. Very pretty, but filled full of off-topic stuff and hardly anthing you can make much use of, let alone understand. Not only that, filled full of Flash worst-practices. I wasted a good $35 on that one a few years back. Should have plopped into one of those cushy chairs at Borders and skimmed for a good while instead of making a quick impulse buy. Anyway, just have to get that off my chest =:) Jason Merrill Bank of America Learning Organizational Effectiveness ___ 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] TAMARIN!!
You're kind of late mate, tons of posts has been already made regarding this :) Nice news though! On 11/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Wow What great newsit seems Adobe has seen the light. http://www.kaourantin.net/2006/11/spidermonkeys-relative-tamarin-joins.html http://www.moock.org/blog/archives/000202.html http://www.darronschall.com/weblog/ One of the most exciting aspects of this announcement is the new inititative to build an ECMAScript compiler, which means I asume the ability to compile Actionscript IN THE BROWSER! Imagine the possibilities! Open Source rules! Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ 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] Noob, basic questions on actionscript, withmethodology suggestions
That is one way to do it and keep poling for the var in your code, but I find that to be a lot of trouble. The other way is to use events and listeners to notify the other parts of your code when the data is ready. But the way I find most useful is to use a method sequencer. There are some out there that people have written, but the one I uses is Fuse. Most people use it to sequence scripted animation, but I use it to sequence method calls as well. I realize that it is another thing to learn, but it is well documented. There is a fuse property called command that allows you to pause the fuse sequence and wait to be resumed. Then in your function you call resume and it goes on to the next item. It is a great tool to sequence your code and allows you to keep it all in one place so it is easier to read. Fuse: http://www.mosessupposes.com/Fuse/ Fuse Docs: (look at fuse fuse constructor command property) http://www.mosessupposes.com/Fuse/fuse2.1docs/ Here is an example: // start the loading sequence drawLoadManager(); function drawLoadManager(){ trace(); trace(Draw Load Manager Called); trace(); var lm = this.loadManager = new Fuse(); lm.scope = this; lm.push({ func:loadXml}); lm.push({ command:pause}); lm.push({ func:doSomethingWithMyXml}); lm.push({ command:pause}); lm.push({ func:doSomethingElse}); lm.start(); } function loadXml(){ // do all of your data loading // then in your onload handler resume the fuse external_xml._parent = this; external_xml.onLoad = function(success:Boolean) { if (success) { trace(this); // resume the fuse sequence. this._parent.loadManager.resume(); } else { trace(xml failed to load.); } } } function doSomethingWithMyXml(){ // do something with your xml // code goes here // now resume the fuse and move on to the next part this.loadManager.resume(); } function doSomethingElse(){ // do the next thing } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Haneda Sent: Thursday, November 09, 2006 4:10 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Noob, basic questions on actionscript,withmethodology suggestions You tripped, exactly the way I described earlier, by accessing external_xml right after calling Load(). Wait until onLoad() is called before doing anything with external_xml. You should trace the XML object inside the onLoad function: external_xml.onLoad = function(success:Boolean) { if (success) { trace(this); //Do something with the XML in here. } else { trace(xml failed to load.); } The result will probably be [Object object] or something equally obscure, as the Flash trace routine doesn't break down complex objects into viewable text. In general, you can put a flag inside the onLoad() routine that indicates that the XML object is safe to use. And lets say I put a flag in there, so something like var safe = true; Then I go on, and need to use my XML later on in my code, if I just test for a basic condition of the safe variable, it may or may not be done loading. So, how do know when it is done and you can move on, do I shove all my future code in a repeat while safe != true or something? Stumped Thanks again -- - Scott HanedaTel: 415.898.2602 http://www.newgeo.com Novato, CA U.S.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
Re: [Flashcoders] TAMARIN!!
Make sure to read this before getting any wild ideas :-) http://www.mozilla.org/projects/tamarin/faq.html regards, Muzak - Original Message - From: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Friday, November 10, 2006 2:12 PM Subject: [Flashcoders] TAMARIN!! Wow What great newsit seems Adobe has seen the light. http://www.kaourantin.net/2006/11/spidermonkeys-relative-tamarin-joins.html http://www.moock.org/blog/archives/000202.html http://www.darronschall.com/weblog/ One of the most exciting aspects of this announcement is the new inititative to build an ECMAScript compiler, which means I asume the ability to compile Actionscript IN THE BROWSER! Imagine the possibilities! Open Source rules! Jim Bachalo ___ 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] List Component - Custom Display Settings
HDC Is it possible to change the appearance of single items in a List Component? Look up for the CellRenderer API in the docs. Attila ___ 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] Zinc throws errors on CD
Hi all, I haven't heard anything from MDM's support, but I have an app I created with Zinc that runs fine on my hard drive. Now however, the same app throws the following error, when run from a CD: 'Access violation at address 40540. Read of Address 4054.' Has anyone else ever seen this? Thanks, : : ) Scott ___ 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] launching an exe?
Is there any way to launch an exe with any version of Flash? I basically want to download my installer using Flash and then automatically launch it, basically bypassing the browser's download and launch cycle to make things easier on the user. I know very little actionscript/mxml, but I'm just curious if something like this is possible. Would I have to set something in a policy file somewhere? Thanks so much. -Adam ___ 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] Video Controller Component
Hello all, I am in search of a Video Controller Component usage w/ dynamic video loading anyone know of one? I use php for all my sites also. I have found some references to one in the archives but could not find a link anywhere. Thanks in advance, Eric -- To view more about The Artwork of Eric Walton 9 / Edub9 please go to the following address: www.hollywoodfineart.com www.myspace.com/ericwalton9_edub9 ___ 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: launching an exe?
Looks like maybe I can use the socket classes from Flash 9 along with FSCommand? Will that work from an swf within a web page (as opposed to a standalone player that might have fewer security restrictions)? Seamless install is vital for my application, so this would make a tremendous difference. Thanks. -Adam On 11/9/06, Adam Fisk [EMAIL PROTECTED] wrote: Is there any way to launch an exe with any version of Flash? I basically want to download my installer using Flash and then automatically launch it, basically bypassing the browser's download and launch cycle to make things easier on the user. I know very little actionscript/mxml, but I'm just curious if something like this is possible. Would I have to set something in a policy file somewhere? Thanks so much. -Adam ___ 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] Q; Increase Saturation and/or Contrast using setTransform method
Anyone have ideas on how to change the contrast and/or saturation using the new setTransform method in Flash 8? Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ 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] Weird Executable Publishing
Hi, are you running turtoise svn by any chance? greetz JC On 11/10/06, eric dolecki [EMAIL PROTECTED] wrote: If I publish a Win executable then publish another in quick succession, I most times get an error about a locked file/Flash installation problem. An get an .exe of 0 bytes. If I wait a few minutes and try again, it normally works. Has anyone run into this? Win2000 F8 IDE. - e. ___ 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] Noob, basic questions on actionscript, book suggestion
I looked at that XML book in the bookstore and dicovered its ghastliness in time. The very worst Flash book I ever bought was one of the first Actionscript 2.0 books: Object-Oriented Programming with ActionScript 2.0 by Tapper, Talbot, Haffner (New Riders, usually an ok press). I read it and thought one would have to write about 10,000 lines of very cryptic code to make a component or even a subclass of MovieClip. Early on, I bought loads of early friendsofed books that were really, really bad, in the Flash 5 days when they were almost the only press to cover advanced Flash programming. But several of their more recent books are actually good. Aside from the XML one, Flash 8 Essentials actually covers the new Actionscript (along with IDE stuff) in a serious way in a short book, and the new Object Oriented Actionscript (Elst/Yard) is also good and uses design patterns. Millie Niss [EMAIL PROTECTED] http://www.sporkworld.org - Original Message - From: Ryan Potter [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, November 10, 2006 11:51 AM Subject: RE: [Flashcoders] Noob, basic questions on actionscript,book suggestion I bought that book too. It is the worst computer book I have ever read. At their talk they gave on the subject at MAX a couple of years ago (it could have been flash forward), Joey Lott kept having to correct them from the audience. He was so nice about it, but it was pretty obvious they didn't know what they were talking about. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Thursday, November 09, 2006 4:21 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Noob, basic questions on actionscript,book suggestion This is not the same book as some older friendsofed books on XML and Flash (using A.S. 1.0/older versions of Flash) which were terrible. LOL. Another XML and Flash book to avoid is Flash and XML: A Developer's Guide by Dov Jacobsen and Jesse Jacobsen. Very pretty, but filled full of off-topic stuff and hardly anthing you can make much use of, let alone understand. Not only that, filled full of Flash worst-practices. I wasted a good $35 on that one a few years back. Should have plopped into one of those cushy chairs at Borders and skimmed for a good while instead of making a quick impulse buy. Anyway, just have to get that off my chest =:) Jason Merrill Bank of America Learning Organizational Effectiveness ___ 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] Faking 3D perspective of a 2D map in Flash 8..?
Hello. I'm trying to take a vector map of North America and produce the sense of 'flying over' it. I want to have the flat map tipped along the X axis, so that the bottom (Florida, Texas, etc.) appear closer and the top (Nunuvut, Greenland, etc.) appear farther away. Then I want to be able to pan the map left and right, up and down, and 'zoom' in by scaling it.. scaling it a little faster vertically so that it seems to flatten out a bit as you get closer to the ground. So far I've only been able to achieve that in Illustrator and then saving the perspectively squished vectors as a .swf What I'd love to do is to get that perspective squish done within Flash 8 using script. I know about 3D program extensions for Flash like Sandy, but I find them cryptic (at best) and over kill for my simple needs. Any suggestions..? Thanks. :) - - - - - - - - - -[andrew murphy]- flash developer [EMAIL PROTECTED] delvinia interactive inc. 214 king street west, suite 214 toronto canada M5H 3S6 voice 416.364.1455 ext. 232 cell 416.820.8723 fax 416.364.9830 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. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.1/527 - Release Date: 09/11/2006 6:00 PM ___ 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] launching an exe?
Only if the flash movie is hosted in an exe. Flash does not have system permissions to launch apps, on it's own. Scott On 11/9/06, Adam Fisk [EMAIL PROTECTED] wrote: Is there any way to launch an exe with any version of Flash? I basically want to download my installer using Flash and then automatically launch it, basically bypassing the browser's download and launch cycle to make things easier on the user. I know very little actionscript/mxml, but I'm just curious if something like this is possible. Would I have to set something in a policy file somewhere? Thanks so much. -Adam ___ 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 -- : : ) Scott ___ 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] Faking 3D perspective of a 2D map in Flash 8..?
This site will hopefully help you on your way http://www.kirupa.com/developer/actionscript/3dindex.htm -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Murphy Sent: 10 November 2006 18:32 To: Flash Coders Subject: [Flashcoders] Faking 3D perspective of a 2D map in Flash 8..? Hello. I'm trying to take a vector map of North America and produce the sense of 'flying over' it. I want to have the flat map tipped along the X axis, so that the bottom (Florida, Texas, etc.) appear closer and the top (Nunuvut, Greenland, etc.) appear farther away. Then I want to be able to pan the map left and right, up and down, and 'zoom' in by scaling it.. scaling it a little faster vertically so that it seems to flatten out a bit as you get closer to the ground. So far I've only been able to achieve that in Illustrator and then saving the perspectively squished vectors as a .swf What I'd love to do is to get that perspective squish done within Flash 8 using script. I know about 3D program extensions for Flash like Sandy, but I find them cryptic (at best) and over kill for my simple needs. Any suggestions..? Thanks. :) - - - - - - - - - -[andrew murphy]- flash developer [EMAIL PROTECTED] delvinia interactive inc. 214 king street west, suite 214 toronto canada M5H 3S6 voice 416.364.1455 ext. 232 cell 416.820.8723 fax 416.364.9830 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. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.1/527 - Release Date: 09/11/2006 6:00 PM ___ 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] launching an exe?
AF Is there any way to launch an exe with any version of Flash? I basically AF want to download my installer using Flash and then automatically launch it, AF basically bypassing the browser's download and launch cycle to make things AF easier on the user. AF AF I know very little actionscript/mxml, but I'm just curious if something like AF this is possible. Would I have to set something in a policy file somewhere? No, it is not possible by default due to obvious security reasons. Just imagine a website, which can install softwares (even harmful ones) to the user's computer without his/her permission. You can do such things with signed ActiveX or Java applet, but this requires the user's prior permission, too (not at downloading your installer, but at installing the ActiveX/applet). Attila ___ 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] Aaaaaaaaaaaaarrrrgh! All my Arabic assumptions are coming apart!
You can't assume, if you want to be sure the character morphing is correct, have someone who reads Arabic test it. In Flash dynamic textfields, Arabic characters seem to swap index positions when doing String concatenation and morphing with the wrong character. But in the output window, the trace shows the concatenation different. -- Keith H -- Danny Kodicek wrote: So I finally got round to plugging in an arabic keyboard today, and I've spent the entire day watching the entire structure of what I thought was true about Flash and Arabic unravelling before my eyes. Specifically: I can type right-to-left Arabic into a Flash input field in a swf The text displays correctly with the characters changing form appropriately according to their position in the word The text continues to display correctly whether or not the field has focus Now I don't know what to think. Can I assume that all the work I've been doing over the past few weeks is pointless and as long as they have their OS set to Arabic, my end-users will be able to type just fine into Flash? 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 ___ 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] List Component - Custom Display Settings
HDC I'm developing an application that simulations an e-mail HDC application, similar to Outlook. I'd like to use the List HDC Component to hold all the e-mails and have unread e-mails bold, HDC e-mails that need follow up in red, and completed e-mails as HDC plain text. I have been reading through some docs, but can't seem HDC to find anything on changing the font of individual items in the HDC List Component. HDC Is it possible to change the appearance of single items in a List HDC Component? Look up for the CellRenderer API in the docs. Attila ___ 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] Video Controller Component
Eric, The video player component that ships with Flash 8 Pro can be loaded dynamically. Please don't cross-post to Flashcoders and Flashnewbie. It causes confusion as to which posts have been responded to, and many members find it annoying. Thanks, Marc At 09:42 AM 11/10/2006, you wrote: Hello all, I am in search of a Video Controller Component usage w/ dynamic video loading anyone know of one? I use php for all my sites also. I have found some references to one in the archives but could not find a link anywhere. Thanks in advance, Eric ___ 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] Re: launching an exe?
I'm sorry, did you mean that you want to initiate a download from Flash? I believe that you can do that by simply peforming getURL() on your web asset (AS2). Scott On 11/9/06, Adam Fisk [EMAIL PROTECTED] wrote: Looks like maybe I can use the socket classes from Flash 9 along with FSCommand? Will that work from an swf within a web page (as opposed to a standalone player that might have fewer security restrictions)? Seamless install is vital for my application, so this would make a tremendous difference. Thanks. -Adam On 11/9/06, Adam Fisk [EMAIL PROTECTED] wrote: Is there any way to launch an exe with any version of Flash? I basically want to download my installer using Flash and then automatically launch it, basically bypassing the browser's download and launch cycle to make things easier on the user. I know very little actionscript/mxml, but I'm just curious if something like this is possible. Would I have to set something in a policy file somewhere? Thanks so much. -Adam ___ 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 -- : : ) Scott ___ 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] launching an exe?
Hi Adam, I think this is one of the rare opportunities to actually say definitely not possible. If you could do this it would be a major security flaw as the .exe could, say, wipe out a hard drive instead of doing something beneficial. If somehow you find any way to do this, please notify Adobe as we are all in grave trouble. Glad to be able to say that ! :D -Cort On 11/9/06, Adam Fisk [EMAIL PROTECTED] wrote: Is there any way to launch an exe with any version of Flash? I basically want to download my installer using Flash and then automatically launch it, basically bypassing the browser's download and launch cycle to make things easier on the user. I know very little actionscript/mxml, but I'm just curious if something like this is possible. Would I have to set something in a policy file somewhere? Thanks so much. -Adam ___ 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] Q; Increase Saturation and/or Contrast using setTransform method
Hello :) you can try the class of Lalex : XColor http://blog.lalex.com/post/2005/09/20/SuperColor-devient-XColor-pour-Flash-8 EKA+ :) 2006/11/10, [EMAIL PROTECTED] [EMAIL PROTECTED]: Anyone have ideas on how to change the contrast and/or saturation using the new setTransform method in Flash 8? Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ 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] functions outside a class
I have several classes that will use a function. for scope reasons i have placed the function in a different file but i would like to be able to access that file from within the classes. If the function has been declared outside the class, what is the best way to accces those functions? sample: utils.controls: classA classB utils/functions: functionA functionB main timeline: include functionA include functionB now I would like to access functionA or functionB within the class... TIA -- ...helmut ___ 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] Noob, basic questions on actionscript, book suggestion
I strongly suggest Application Design Solutions (FriendsOfED) which is a unique book about flash RIA development. Essential Actionscript 2 is also a good one. On 11/10/06, Millie Niss [EMAIL PROTECTED] wrote: I looked at that XML book in the bookstore and dicovered its ghastliness in time. The very worst Flash book I ever bought was one of the first Actionscript 2.0 books: Object-Oriented Programming with ActionScript 2.0by Tapper, Talbot, Haffner (New Riders, usually an ok press). I read it and thought one would have to write about 10,000 lines of very cryptic code to make a component or even a subclass of MovieClip. Early on, I bought loads of early friendsofed books that were really, really bad, in the Flash 5 days when they were almost the only press to cover advanced Flash programming. But several of their more recent books are actually good. Aside from the XML one, Flash 8 Essentials actually covers the new Actionscript (along with IDE stuff) in a serious way in a short book, and the new Object Oriented Actionscript (Elst/Yard) is also good and uses design patterns. Millie Niss [EMAIL PROTECTED] http://www.sporkworld.org - Original Message - From: Ryan Potter [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, November 10, 2006 11:51 AM Subject: RE: [Flashcoders] Noob, basic questions on actionscript,book suggestion I bought that book too. It is the worst computer book I have ever read. At their talk they gave on the subject at MAX a couple of years ago (it could have been flash forward), Joey Lott kept having to correct them from the audience. He was so nice about it, but it was pretty obvious they didn't know what they were talking about. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Thursday, November 09, 2006 4:21 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Noob, basic questions on actionscript,book suggestion This is not the same book as some older friendsofed books on XML and Flash (using A.S. 1.0/older versions of Flash) which were terrible. LOL. Another XML and Flash book to avoid is Flash and XML: A Developer's Guide by Dov Jacobsen and Jesse Jacobsen. Very pretty, but filled full of off-topic stuff and hardly anthing you can make much use of, let alone understand. Not only that, filled full of Flash worst-practices. I wasted a good $35 on that one a few years back. Should have plopped into one of those cushy chairs at Borders and skimmed for a good while instead of making a quick impulse buy. Anyway, just have to get that off my chest =:) Jason Merrill Bank of America Learning Organizational Effectiveness ___ 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] Re: functions outside a class
ok, i figured it out. it works if i make reference to where the function is. this.function(); _parent.function(); if i just call the function: function(); it is where I was getting stuck, but it all works now. ... On 11/10/06, Helmut Granda [EMAIL PROTECTED] wrote: I have several classes that will use a function. for scope reasons i have placed the function in a different file but i would like to be able to access that file from within the classes. If the function has been declared outside the class, what is the best way to accces those functions? sample: utils.controls: classA classB utils/functions: functionA functionB main timeline: include functionA include functionB now I would like to access functionA or functionB within the class... TIA -- ...helmut -- ...helmut helmutgranda.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] Faking 3D perspective of a 2D map in Flash 8..?
So far I've only been able to achieve that in Illustrator and then saving the perspectively squished vectors as a .swf What I'd love to do is to get that perspective squish done within Flash 8 using script. I know about 3D program extensions for Flash like Sandy, but I find them cryptic (at best) and over kill for my simple needs. Using something like Sandy is the only choice you have. For example: http://sandy.media-box.net/blog/distortimage-20-the-fastest-way-to-freely-distort-image-with-flash-in-actionscript.html http://sandy.media-box.net/blog/distordimage-the-way-to-distord-bitmaps-by-code.html You need something like this. This is done by dividing an image in triangles and then projecting them. But you'd still have to be careful, as simple distortion ISN'T perspective. The above examples are simply distorting the image, but not accounting for proximity (it's just squishing the texture). If you get a side too thin, it'll just look thin, not far. This is an old example, but uses a similar approach but with correct calculation (each side of the box is made of 4 triangles): http://www.nkag.co.jp/ For something like that, you'd need to either build a complex plane with Sandy, using a bunch of squares (so it will do correct perspective, or close to it anyways), or build the whole calculation and projection yourself. Which can be done, but will probably take some time. If you have a VERY simple drawing, you could directly draw it using the drawing API. You'd need to encode all your points and redraw based on 3d positions. This would be the best choice quality wise, but again depends on how your 'image' is, and could be quite slow. 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