Re: [Flashcoders] Re: swfdraw2jpg database table settings
You call this help??? What help exactly did you provide? You've left me waiting for a response for more than a day, and you STILL have not responded with a solution. I doubt you ever had one. Fucking retard. Continue on with this conman attitude and see how far you get in life. rafa On 3/18/06, Mick G <[EMAIL PROTECTED]> wrote: > > Raja - I was happy to help. I don't check my email every hour. If you're > going to be rude, look somewhere else for help. > > Bye > > On 3/18/06, Rafa <[EMAIL PROTECTED]> wrote: > > > > Mick, do you really know what you're talking about or are you just > making > > things up? If you wanted the code, you could have just said so without > > saying you could help. > > > > Don't say you can help when you can't. > > > > rafa > > > > > > On 3/18/06, Rafa <[EMAIL PROTECTED]> wrote: > > > > > > Mick, did you get your swfdraw2jpg working? I've tried what you > > suggested > > > and it's not working. > > > > > > Thx, rafa > > > > > > > > > On 3/17/06, Rafa < [EMAIL PROTECTED]> wrote: > > > > > > > > Hi Mick, it's connecting to the database ok, it can save and display > > the > > > > image, but the user data does not get inserted into the database. > > > > > > > > Did you get yours working? If yes, can you pls send me your sql > file, > > so > > > > that I can replicate it on my server. I need to see how you've set > > your > > > > table up. > > > > > > > > Thx, rafa > > > > > > > > > > > > > > > > On 3/17/06, Mick G < [EMAIL PROTECTED]> wrote: > > > > > > > > > > Are you sure you can connect to the database OK? ie. Have you set > up > > > > > your database in the config.php file? > > > > > > > > > > If you haven't done so already, it looks like the table needs > these > > > > > columns: > > > > > ID, username, comment, imageURL, timestamp (I don't think the > exact > > > > > name matters... the php file doesn't reference exact column names. > > > > > > > > > > -Mick > > > > > > > > > > > > > > > > > > > > On 3/17/06, Rafa <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Hi Mick, did you get my earlier message? rafa > > > > > > > > > > > > > > > > > > > > > > > > On 3/17/06, Rafael Benitez <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > Hi Mick, code attached. > > > > > > > > > > > > > > I've isolated the problem - I'm pretty sure it's something to > do > > > > > > > with the savedraw.php file. For some reason the MySQL insert > > > > > > > statement isn't working, data is not being put into the table. > > > > > > > > > > > > > > Thx for any help, rafa > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 3/17/06, Mick G < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > I can help you out if you like, but do you have the code > > there? > > > > > > > > > > > > > > > > I've been looking for swfdraw2jpg on the net and cannot find > > it. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 3/17/06, Rafael Benitez <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > Hi All, if you're familiar with the swfdraw2jpg > > application, > > > > > > > > hope you can > > > > > > > > advise on the following: > > > > > > > > - how do I set up the MySQL database table 'drawingstable'? > > What > > > > > > > > fields > > > > > > > > should be in this database? > > > > > > > > - I've tried creating a MySQL 'drawingstable' table with the > > > > > > > > following > > > > > > > > fields: id, user, comment, url > > > > > > > > - I've set the 'id' field to integer and as the primary key, > > > > > > > > with the other > > > > > > > > fields set as 'varchar' > > > > > > > > - But I keep getting the following error: Warning: > > > > > > > > mysql_fetch_array(): > > > > > > > > supplied argument is not a valid MySQL result resource in > > > > > > > > (url)index.php > > > > > > > > > > > > > > > > I can't figure it out what am I doing wrong? Can someone pls > > > > > > > > advise. > > > > > > > > > > > > > > > > Thanks, rafa > > > > > > > > ___ > > > > > > > > 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 sub
[Flashcoders] flash8 and cgi
Hi, anyone know how to connect a flash movie to a cgi script? I tried to use sendAndLoad but when i check with the onLoad function it gives me an unsuccess... Thanks,Riccardo ___ 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: swfdraw2jpg database table settings
Raja - I was happy to help. I don't check my email every hour. If you're going to be rude, look somewhere else for help. Bye On 3/18/06, Rafa <[EMAIL PROTECTED]> wrote: > > Mick, do you really know what you're talking about or are you just making > things up? If you wanted the code, you could have just said so without > saying you could help. > > Don't say you can help when you can't. > > rafa > > > On 3/18/06, Rafa <[EMAIL PROTECTED]> wrote: > > > > Mick, did you get your swfdraw2jpg working? I've tried what you > suggested > > and it's not working. > > > > Thx, rafa > > > > > > On 3/17/06, Rafa < [EMAIL PROTECTED]> wrote: > > > > > > Hi Mick, it's connecting to the database ok, it can save and display > the > > > image, but the user data does not get inserted into the database. > > > > > > Did you get yours working? If yes, can you pls send me your sql file, > so > > > that I can replicate it on my server. I need to see how you've set > your > > > table up. > > > > > > Thx, rafa > > > > > > > > > > > > On 3/17/06, Mick G < [EMAIL PROTECTED]> wrote: > > > > > > > > Are you sure you can connect to the database OK? ie. Have you set up > > > > your database in the config.php file? > > > > > > > > If you haven't done so already, it looks like the table needs these > > > > columns: > > > > ID, username, comment, imageURL, timestamp (I don't think the exact > > > > name matters... the php file doesn't reference exact column names. > > > > > > > > -Mick > > > > > > > > > > > > > > > > On 3/17/06, Rafa <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hi Mick, did you get my earlier message? rafa > > > > > > > > > > > > > > > > > > > > On 3/17/06, Rafael Benitez <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Hi Mick, code attached. > > > > > > > > > > > > I've isolated the problem - I'm pretty sure it's something to do > > > > > > with the savedraw.php file. For some reason the MySQL insert > > > > > > statement isn't working, data is not being put into the table. > > > > > > > > > > > > Thx for any help, rafa > > > > > > > > > > > > > > > > > > > > > > > > On 3/17/06, Mick G < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > I can help you out if you like, but do you have the code > there? > > > > > > > > > > > > > > I've been looking for swfdraw2jpg on the net and cannot find > it. > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 3/17/06, Rafael Benitez <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > Hi All, if you're familiar with the swfdraw2jpg > application, > > > > > > > hope you can > > > > > > > advise on the following: > > > > > > > - how do I set up the MySQL database table 'drawingstable'? > What > > > > > > > fields > > > > > > > should be in this database? > > > > > > > - I've tried creating a MySQL 'drawingstable' table with the > > > > > > > following > > > > > > > fields: id, user, comment, url > > > > > > > - I've set the 'id' field to integer and as the primary key, > > > > > > > with the other > > > > > > > fields set as 'varchar' > > > > > > > - But I keep getting the following error: Warning: > > > > > > > mysql_fetch_array(): > > > > > > > supplied argument is not a valid MySQL result resource in > > > > > > > (url)index.php > > > > > > > > > > > > > > I can't figure it out what am I doing wrong? Can someone pls > > > > > > > advise. > > > > > > > > > > > > > > Thanks, rafa > > > > > > > ___ > > > > > > > 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] loading XML as string via parseXml: how to avoid "undefined"? (onParseComplete??!
Hello Ken, As you don't LOAD anything, menu_xml.getBytesTotal() will return undefined - it's OK. You can either set interval or onEnterFrame function to check the ned of parsing and then delete/clear onEnterFrame/interval. Also, check spelling of mymenuxml (quotes, ";" etc) Also, I'd suggest to use just: //=== code mymenuxml = "your xml string"; menu_xml = new XML(mymenuxml); menu_xml.ignoreWhite = true; -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. >---"Ken Fine" wrote: > I'm attempting to manually load an XML object via a string. I appear to be > successfully completing this process: my XML is well-formed, and > myxmlobject.toString() returns a result, as do attempts to traverse the > attributes and nodes. > > > > What isn't working is the XML object itself when I attempt to use it to > build a kirupa.com-style XML menu, or when I attempt to run the > .getBytesTotal() method on the object. My menuing and code works just fine > when I load the same XML from an external file and set up an onLoad event, > but it breaks when I use the XML as a string and attempt parseXml. The code > copied below returns "undefined" on the trace. > > > > What I think I may be running into is Flash attempting to use the object > before it is parsed and loaded into memory, and I need the equivalent of > "onParseComplete". Or maybe it's something else. Can anyone help on this > puzzling problem? > > > > Thanks in advance for any assistance you can offer. > > > > menu_xml = new XML(); > > menu_xml.ignoreWhite = true; > > mymenuxml = (" >// ... truncrated > ") > > menu_xml.parseXML (mymenuxml); > > myxmlsize = menu_xml.getBytesTotal(); > > trace ("myXMLSize"+ myxmlsize); > > > > [code above returns "undefined"] ___ 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] Cannot stop loaded movie
What Marc said, plus use onLoadInit instead of onLoadComplete. From the help docs: "It's important to understand the difference between MovieClipLoader.onLoadComplete and MovieClipLoader.onLoadInit. The onLoadComplete event is called after the SWF, JPEG, GIF, or PNG file loads, but before the application is initialized. At this point, it is impossible to access the loaded movie clip's methods and properties, and therefore you cannot call a function, move to a specific frame, and so on. In most situations, it's better to use the onLoadInit event instead, which is called after the content is loaded and fully initialized." Helen -- http://flash-creations.com http://i-technica.com Marco Tabini wrote: Sorry, that was just a bad copy-and-paste job. Moving the listener to before the clip is loaded doesn't change anything. Good catch, though :) Marco Marc Hoffman wrote: Try adding the listener to ld before loading the clip. At 07:07 PM 3/17/2006, you wrote: To add to the weirdness: this problem only presents itself if I create the project in Flash 8, so I wonder whether I'm hitting my head against the new security model. Again, any help would be much appreciated. Marco Marco Tabini wrote: Hello-- I am trying to control a movie I load from a remote location. I've narrowed down my code to the smallest possible number of lines: ld = new MovieClipLoader(); ld.loadClip(url, mcClip); obj = new Object(); obj.onLoadComplete = function() { mcClip.gotoAndStop (10); } ld.addListener(obj) This code, placed in the actions panel of the root, works with the exception of the onLoadComplete function. The mcClip is simply an instance of a movie clip symbol (with no code) placed on the stage. The loaded movie is just a collection of frames, with no actions associated to it. The really bizarre thing is that this works just fine if I run the code from inside Flash: the movie loads and then it jumps to frame 10, where it stops. If I run the SWF inside the standalone player (or inside a browser plugin on Windows, but not on a Mac), the external movie loads but keeps looping and there seems to be no way to stop it. I cannot make sense of this. I've tried searching through the list, but either this is so obviously wrong that nobody ever had the problem, or I just don't know what to search for :) I'd appreciate any pointers! Thanks, Marco ___ 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 broken
Define reluctant. Is it crashing Flash, or freezing? Have you tried different FLA's? On Mar 17, 2006, at 10:56 PM, Weyert de Boer wrote: Since this afternoon my Flash 8 copy on my Mac is reluctant to export movies. Even restarting Flash 8 or the mac doesn't help! Anyone know how to fix this? -- Yours, Weyert de Boer ([EMAIL PROTECTED]) innerfuse* http://www.innerfuse.biz/ ___ 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] Cannot stop loaded movie
Sorry, that was just a bad copy-and-paste job. Moving the listener to before the clip is loaded doesn't change anything. Good catch, though :) Marco Marc Hoffman wrote: Try adding the listener to ld before loading the clip. At 07:07 PM 3/17/2006, you wrote: To add to the weirdness: this problem only presents itself if I create the project in Flash 8, so I wonder whether I'm hitting my head against the new security model. Again, any help would be much appreciated. Marco Marco Tabini wrote: Hello-- I am trying to control a movie I load from a remote location. I've narrowed down my code to the smallest possible number of lines: ld = new MovieClipLoader(); ld.loadClip(url, mcClip); obj = new Object(); obj.onLoadComplete = function() { mcClip.gotoAndStop (10); } ld.addListener(obj) This code, placed in the actions panel of the root, works with the exception of the onLoadComplete function. The mcClip is simply an instance of a movie clip symbol (with no code) placed on the stage. The loaded movie is just a collection of frames, with no actions associated to it. The really bizarre thing is that this works just fine if I run the code from inside Flash: the movie loads and then it jumps to frame 10, where it stops. If I run the SWF inside the standalone player (or inside a browser plugin on Windows, but not on a Mac), the external movie loads but keeps looping and there seems to be no way to stop it. I cannot make sense of this. I've tried searching through the list, but either this is so obviously wrong that nobody ever had the problem, or I just don't know what to search for :) I'd appreciate any pointers! Thanks, Marco ___ 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
Re: [Flashcoders] loading XML as string via parseXml: how to avoid"undefined"? (onParseComplete??!)
xml.parseXML is not an asynchronous event like xml.load, so like jesse said, you have no need of a loader, so, after you call parseXML, you can start using the xml object to read your data on the next line. On Mar 17, 2006, at 8:37 PM, JesterXL wrote: getBytesTotal is only used for tracking the downloading of a large amount of XML. You aren't downloading anything. You are building the XML object by hand in Flash. Therefore, since you never loaded anything, you never started a download. Since you never started a download, you'll never get a valid result from getBytesTotal/getBytesLoaded, nor do you need to. - Original Message - From: "Ken Fine" <[EMAIL PROTECTED]> To: Sent: Friday, March 17, 2006 7:44 PM Subject: [Flashcoders] loading XML as string via parseXml: how to avoid"undefined"? (onParseComplete??!) I'm attempting to manually load an XML object via a string. I appear to be successfully completing this process: my XML is well-formed, and myxmlobject.toString() returns a result, as do attempts to traverse the attributes and nodes. What isn't working is the XML object itself when I attempt to use it to build a kirupa.com-style XML menu, or when I attempt to run the .getBytesTotal() method on the object. My menuing and code works just fine when I load the same XML from an external file and set up an onLoad event, but it breaks when I use the XML as a string and attempt parseXml. The code copied below returns "undefined" on the trace. What I think I may be running into is Flash attempting to use the object before it is parsed and loaded into memory, and I need the equivalent of "onParseComplete". Or maybe it's something else. Can anyone help on this puzzling problem? Thanks in advance for any assistance you can offer. menu_xml = new XML(); menu_xml.ignoreWhite = true; mymenuxml = (" http://www.washington.edu/home/about.html\";> variables=\"http://www.washington.edu/home/about.html\"/ > name=\"Office of the President\" action=\"gotoURL\" variables=\"http://www.uwnews.org/Uwnews/sites/OOP/index.asp?sm=38\"/> http://www.washington.edu/home/about.html\"/> http://www.washington.edu/diversity/\"/> http://www.washington.edu/home/events.html\"/> http://www.washington.edu/home/about.html\"/> variables=\"http://www.washington.edu/home/about.html\"/ > name=\"Emergency Information\" action=\"gotoURL\" variables=\"http://www.washington.edu/admin/business/oem/\"/> http://www.washington.edu/home/departments/\";> variables=\"http://www.washington.edu/home/departments/ departments.html\"/> variables=\"http://www.washington.edu/research/\"/ > name=\"Office of Technology Transfer\" action=\"gotoURL\" variables=\"http://depts.washington.edu/techtran/\"/> http://www.lib.washington.edu/\"/> http://www.washington.edu/students/admissions.html\"; > http://www.washington.edu/students/admissions.html\"/> http://www.washington.edu/univrel/visitors/ctours.html\"/> http://www.tacoma.washington.edu/options/\"/> http://www.tacoma.washington.edu/transfer/\"/> http://www.bothell.washington.edu/\"/> variables=\"http://www.tacoma.washington.edu/\"/ > name=\"Continuing Education\" action=\"gotoURL\" variables=\"http://www.outreach.washington.edu/pc/uwhome/conted_fly/ \"/> \"gotoURL\" variables=\"http://www.uwmedicine.org/\";> variables=\"http://www.uwmedicine.org/PatientCare/ PatientCareOverview/\"/> http://www.uwmedicine.org/Education/EducationOverview/\"/> http://www.uwmedicine.org/Research/ResearchOverview/\"/> variables=\"http://healthlinks.washington.edu/index.cfm?id=09769476- d91b-4f8 5-8e0b-2e1261cfe493\"/> ") menu_xml.parseXML (mymenuxml); myxmlsize = menu_xml.getBytesTotal(); trace ("myXMLSize"+ myxmlsize); [code above returns "undefined"] ___ 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] Flash 8 broken
Since this afternoon my Flash 8 copy on my Mac is reluctant to export movies. Even restarting Flash 8 or the mac doesn't help! Anyone know how to fix this? -- Yours, Weyert de Boer ([EMAIL PROTECTED]) innerfuse* http://www.innerfuse.biz/ ___ 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] Cannot stop loaded movie
Try adding the listener to ld before loading the clip. At 07:07 PM 3/17/2006, you wrote: To add to the weirdness: this problem only presents itself if I create the project in Flash 8, so I wonder whether I'm hitting my head against the new security model. Again, any help would be much appreciated. Marco Marco Tabini wrote: Hello-- I am trying to control a movie I load from a remote location. I've narrowed down my code to the smallest possible number of lines: ld = new MovieClipLoader(); ld.loadClip(url, mcClip); obj = new Object(); obj.onLoadComplete = function() { mcClip.gotoAndStop (10); } ld.addListener(obj) This code, placed in the actions panel of the root, works with the exception of the onLoadComplete function. The mcClip is simply an instance of a movie clip symbol (with no code) placed on the stage. The loaded movie is just a collection of frames, with no actions associated to it. The really bizarre thing is that this works just fine if I run the code from inside Flash: the movie loads and then it jumps to frame 10, where it stops. If I run the SWF inside the standalone player (or inside a browser plugin on Windows, but not on a Mac), the external movie loads but keeps looping and there seems to be no way to stop it. I cannot make sense of this. I've tried searching through the list, but either this is so obviously wrong that nobody ever had the problem, or I just don't know what to search for :) I'd appreciate any pointers! Thanks, Marco ___ 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] Cannot stop loaded movie
To add to the weirdness: this problem only presents itself if I create the project in Flash 8, so I wonder whether I'm hitting my head against the new security model. Again, any help would be much appreciated. Marco Marco Tabini wrote: Hello-- I am trying to control a movie I load from a remote location. I've narrowed down my code to the smallest possible number of lines: ld = new MovieClipLoader(); ld.loadClip(url, mcClip); obj = new Object(); obj.onLoadComplete = function() { mcClip.gotoAndStop (10); } ld.addListener(obj) This code, placed in the actions panel of the root, works with the exception of the onLoadComplete function. The mcClip is simply an instance of a movie clip symbol (with no code) placed on the stage. The loaded movie is just a collection of frames, with no actions associated to it. The really bizarre thing is that this works just fine if I run the code from inside Flash: the movie loads and then it jumps to frame 10, where it stops. If I run the SWF inside the standalone player (or inside a browser plugin on Windows, but not on a Mac), the external movie loads but keeps looping and there seems to be no way to stop it. I cannot make sense of this. I've tried searching through the list, but either this is so obviously wrong that nobody ever had the problem, or I just don't know what to search for :) I'd appreciate any pointers! Thanks, Marco ___ 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] Cannot stop loaded movie
Hello-- I am trying to control a movie I load from a remote location. I've narrowed down my code to the smallest possible number of lines: ld = new MovieClipLoader(); ld.loadClip(url, mcClip); obj = new Object(); obj.onLoadComplete = function() { mcClip.gotoAndStop (10); } ld.addListener(obj) This code, placed in the actions panel of the root, works with the exception of the onLoadComplete function. The mcClip is simply an instance of a movie clip symbol (with no code) placed on the stage. The loaded movie is just a collection of frames, with no actions associated to it. The really bizarre thing is that this works just fine if I run the code from inside Flash: the movie loads and then it jumps to frame 10, where it stops. If I run the SWF inside the standalone player (or inside a browser plugin on Windows, but not on a Mac), the external movie loads but keeps looping and there seems to be no way to stop it. I cannot make sense of this. I've tried searching through the list, but either this is so obviously wrong that nobody ever had the problem, or I just don't know what to search for :) I'd appreciate any pointers! Thanks, Marco ___ 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] loading XML as string via parseXml: how to avoid"undefined"? (onParseComplete??!)
getBytesTotal is only used for tracking the downloading of a large amount of XML. You aren't downloading anything. You are building the XML object by hand in Flash. Therefore, since you never loaded anything, you never started a download. Since you never started a download, you'll never get a valid result from getBytesTotal/getBytesLoaded, nor do you need to. - Original Message - From: "Ken Fine" <[EMAIL PROTECTED]> To: Sent: Friday, March 17, 2006 7:44 PM Subject: [Flashcoders] loading XML as string via parseXml: how to avoid"undefined"? (onParseComplete??!) I'm attempting to manually load an XML object via a string. I appear to be successfully completing this process: my XML is well-formed, and myxmlobject.toString() returns a result, as do attempts to traverse the attributes and nodes. What isn't working is the XML object itself when I attempt to use it to build a kirupa.com-style XML menu, or when I attempt to run the .getBytesTotal() method on the object. My menuing and code works just fine when I load the same XML from an external file and set up an onLoad event, but it breaks when I use the XML as a string and attempt parseXml. The code copied below returns "undefined" on the trace. What I think I may be running into is Flash attempting to use the object before it is parsed and loaded into memory, and I need the equivalent of "onParseComplete". Or maybe it's something else. Can anyone help on this puzzling problem? Thanks in advance for any assistance you can offer. menu_xml = new XML(); menu_xml.ignoreWhite = true; mymenuxml = (" http://www.washington.edu/home/about.html\";> http://www.washington.edu/home/about.html\"/> http://www.uwnews.org/Uwnews/sites/OOP/index.asp?sm=38\"/> http://www.washington.edu/home/about.html\"/> http://www.washington.edu/diversity/\"/> http://www.washington.edu/home/events.html\"/> http://www.washington.edu/home/about.html\"/> http://www.washington.edu/home/about.html\"/> http://www.washington.edu/admin/business/oem/\"/> http://www.washington.edu/home/departments/\";> http://www.washington.edu/home/departments/departments.html\"/> http://www.washington.edu/research/\"/> http://depts.washington.edu/techtran/\"/> http://www.lib.washington.edu/\"/> http://www.washington.edu/students/admissions.html\"; > http://www.washington.edu/students/admissions.html\"/> http://www.washington.edu/univrel/visitors/ctours.html\"/> http://www.tacoma.washington.edu/options/\"/> http://www.tacoma.washington.edu/transfer/\"/> http://www.bothell.washington.edu/\"/> http://www.tacoma.washington.edu/\"/>http://www.outreach.washington.edu/pc/uwhome/conted_fly/\"/> http://www.uwmedicine.org/\";> http://www.uwmedicine.org/PatientCare/PatientCareOverview/\"/> http://www.uwmedicine.org/Education/EducationOverview/\"/> http://www.uwmedicine.org/Research/ResearchOverview/\"/> http://healthlinks.washington.edu/index.cfm?id=09769476-d91b-4f8 5-8e0b-2e1261cfe493\"/> ") menu_xml.parseXML (mymenuxml); myxmlsize = menu_xml.getBytesTotal(); trace ("myXMLSize"+ myxmlsize); [code above returns "undefined"] ___ 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] File Exists - a better way?
Ian: "There's no Flash native hack as far as I know." You can check (and cache while you're at it) any file by using LoadVars: var file:String = "anyFileType.exe"; var fileExists:LoadVars = new LoadVars(); fileExists.onLoad = mx.utils.Delegate.create(this, doCheck); fileExists.load(file); function doCheck(success:Boolean) { if (success) trace("File "+file+" exists."); else trace("File "+file+" does not exist."); } 2006/3/18, Isaac Rivera <[EMAIL PROTECTED]>: > I backtracked on this thread... > > I guess the questions are: > > 1) what are you trying to load? > > 2) what onLoad(success:Boolean) are you using? > > Are you using the XML or LoadVars? > > Assuming you are using the LoadVars, a more reasonable "timeout" > approach would be something like: > > // code -- > function fileExists() {} > function fileDoesNotExist() {} > > var timeout:Number = 1; // 10 seconds... > var app:MovieClip = this; > > var lv:LoadVars = new LoadVars(); > lv.onLoad = function(success:Boolean) { > clearInterval(app.interval); > if (!success) { > app.fileDoesNotExist(); > } else { > app.fileExists(); > } > }; > > var startTime:Number = getTimer() + timeout; > lv.load(url); > > var interval:Number = setInterval(function () { > var total:Number = app.lv.getBytesTotal(); > if (total > 4) { > clearInterval(app.interval); > app.fileExists(); > } else { > if (getTimer() >= app.startTime) { > clearInterval(app.interval); > app.fileDoesNotExist(); > } > } > }, 25); > > // code -- > > > On Mar 17, 2006, at 10:31 AM, Yotam Laufer wrote: > > > [Theres no "reasonable" amount of time on networked connections of > > unknown hardware specs...] > > > > And yet timeout times are set somehow... I think it's a subjective > > decision. > > I wouldn't do it like this, but if someone has to? > > > > Yotam. > > ___ > > 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] loading XML as string via parseXml: how to avoid "undefined"? (onParseComplete??!)
I'm attempting to manually load an XML object via a string. I appear to be successfully completing this process: my XML is well-formed, and myxmlobject.toString() returns a result, as do attempts to traverse the attributes and nodes. What isn't working is the XML object itself when I attempt to use it to build a kirupa.com-style XML menu, or when I attempt to run the .getBytesTotal() method on the object. My menuing and code works just fine when I load the same XML from an external file and set up an onLoad event, but it breaks when I use the XML as a string and attempt parseXml. The code copied below returns "undefined" on the trace. What I think I may be running into is Flash attempting to use the object before it is parsed and loaded into memory, and I need the equivalent of "onParseComplete". Or maybe it's something else. Can anyone help on this puzzling problem? Thanks in advance for any assistance you can offer. menu_xml = new XML(); menu_xml.ignoreWhite = true; mymenuxml = (" http://www.washington.edu/home/about.html\";> http://www.washington.edu/home/about.html\"/> http://www.uwnews.org/Uwnews/sites/OOP/index.asp?sm=38\"/> http://www.washington.edu/home/about.html\"/> http://www.washington.edu/diversity/\"/> http://www.washington.edu/home/events.html\"/> http://www.washington.edu/home/about.html\"/> http://www.washington.edu/home/about.html\"/> http://www.washington.edu/admin/business/oem/\"/> http://www.washington.edu/home/departments/\";> http://www.washington.edu/home/departments/departments.html\"/> http://www.washington.edu/research/\"/> http://depts.washington.edu/techtran/\"/> http://www.lib.washington.edu/\"/> http://www.washington.edu/students/admissions.html\"; > http://www.washington.edu/students/admissions.html\"/> http://www.washington.edu/univrel/visitors/ctours.html\"/> http://www.tacoma.washington.edu/options/\"/> http://www.tacoma.washington.edu/transfer/\"/> http://www.bothell.washington.edu/\"/> http://www.tacoma.washington.edu/\"/>http://www.outreach.washington.edu/pc/uwhome/conted_fly/\"/> http://www.uwmedicine.org/\";> http://www.uwmedicine.org/PatientCare/PatientCareOverview/\"/> http://www.uwmedicine.org/Education/EducationOverview/\"/> http://www.uwmedicine.org/Research/ResearchOverview/\"/> http://healthlinks.washington.edu/index.cfm?id=09769476-d91b-4f8 5-8e0b-2e1261cfe493\"/> ") menu_xml.parseXML (mymenuxml); myxmlsize = menu_xml.getBytesTotal(); trace ("myXMLSize"+ myxmlsize); [code above returns "undefined"] ___ 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] File Exists - a better way?
I backtracked on this thread... I guess the questions are: 1) what are you trying to load? 2) what onLoad(success:Boolean) are you using? Are you using the XML or LoadVars? Assuming you are using the LoadVars, a more reasonable "timeout" approach would be something like: // code -- function fileExists() {} function fileDoesNotExist() {} var timeout:Number = 1; // 10 seconds... var app:MovieClip = this; var lv:LoadVars = new LoadVars(); lv.onLoad = function(success:Boolean) { clearInterval(app.interval); if (!success) { app.fileDoesNotExist(); } else { app.fileExists(); } }; var startTime:Number = getTimer() + timeout; lv.load(url); var interval:Number = setInterval(function () { var total:Number = app.lv.getBytesTotal(); if (total > 4) { clearInterval(app.interval); app.fileExists(); } else { if (getTimer() >= app.startTime) { clearInterval(app.interval); app.fileDoesNotExist(); } } }, 25); // code -- On Mar 17, 2006, at 10:31 AM, Yotam Laufer wrote: [Theres no "reasonable" amount of time on networked connections of unknown hardware specs...] And yet timeout times are set somehow... I think it's a subjective decision. I wouldn't do it like this, but if someone has to? Yotam. ___ 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] Anyway to check if a file exists?
What about the MovieClipLoader Class? var loadListener:Object = new Object(); loadListener.onLoadError = function(target_mc:MovieClip, errorCode:String, httpStatus:Number) { trace(">> loadListener.onLoadError()"); trace(">> =="); trace(">> errorCode: " + errorCode); trace(">> httpStatus: " + httpStatus); } var mcLoader:MovieClipLoader = new MovieClipLoader(); mcLoader.addListener(loadListener); var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth()); mcLoader.loadClip("http://www.fakedomain.com/images/bad_hair_day.jpg";, mc); On 3/17/06, Judah <[EMAIL PROTECTED]> wrote: > I saw the thread a few threads ago but I'm really wanted to start my own. Is > there an error or event that loadMovie dispatches if it does not find a swf? > > > > > exteriorMenuBoard_mc.loadMovie(path + lang + "" + dtboarddesc + ".jpg"); > > > > Flash is tracing the famous "file not found message" in the output window > but that doesn't help me here. > > > > Judah > > ___ > 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] Remove cellPress Listener on DataGrid
Ok, thanks. It works!! On 3/17/06, Judah <[EMAIL PROTECTED]> wrote: > > Hi Phillipe, > > Try: > > datagrid.removeEventListener("cellPress", ListenerObj); > > Judah > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Felipe > Fernandez > Sent: Friday, March 17, 2006 2:53 AM > To: Flashcoders mailing list > Subject: [Flashcoders] Remove cellPress Listener on DataGrid > > Hi, is that possible? How could I do that? > > Thanks and 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@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] Anyway to check if a file exists?
I saw the thread a few threads ago but I'm really wanted to start my own. Is there an error or event that loadMovie dispatches if it does not find a swf? exteriorMenuBoard_mc.loadMovie(path + lang + "" + dtboarddesc + ".jpg"); Flash is tracing the famous "file not found message" in the output window but that doesn't help me here. Judah ___ 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] OT: maps of hyperlinks that change in font size?
Flashcoders, What are those maps of hyperlinks that change in font size according to relevance called? Thanks... ___ 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] Tool for Converting PPT to SWF
Hi All, I was wondering if anyone knows of any good tools to convert PPT to SWF. So far the best one I've found is Flash Printer. But I'd like to have the flexibility of converting each frame of the PPT movie to a swf. And it would be great if it would also maintain the animation. Thanks! Lori- ___ 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: swfdraw2jpg database table settings
Mick, do you really know what you're talking about or are you just making things up? If you wanted the code, you could have just said so without saying you could help. Don't say you can help when you can't. rafa On 3/18/06, Rafa <[EMAIL PROTECTED]> wrote: > > Mick, did you get your swfdraw2jpg working? I've tried what you suggested > and it's not working. > > Thx, rafa > > > On 3/17/06, Rafa < [EMAIL PROTECTED]> wrote: > > > > Hi Mick, it's connecting to the database ok, it can save and display the > > image, but the user data does not get inserted into the database. > > > > Did you get yours working? If yes, can you pls send me your sql file, so > > that I can replicate it on my server. I need to see how you've set your > > table up. > > > > Thx, rafa > > > > > > > > On 3/17/06, Mick G < [EMAIL PROTECTED]> wrote: > > > > > > Are you sure you can connect to the database OK? ie. Have you set up > > > your database in the config.php file? > > > > > > If you haven't done so already, it looks like the table needs these > > > columns: > > > ID, username, comment, imageURL, timestamp (I don't think the exact > > > name matters... the php file doesn't reference exact column names. > > > > > > -Mick > > > > > > > > > > > > On 3/17/06, Rafa <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi Mick, did you get my earlier message? rafa > > > > > > > > > > > > > > > > On 3/17/06, Rafael Benitez <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hi Mick, code attached. > > > > > > > > > > I've isolated the problem - I'm pretty sure it's something to do > > > > > with the savedraw.php file. For some reason the MySQL insert > > > > > statement isn't working, data is not being put into the table. > > > > > > > > > > Thx for any help, rafa > > > > > > > > > > > > > > > > > > > > On 3/17/06, Mick G < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > I can help you out if you like, but do you have the code there? > > > > > > > > > > > > I've been looking for swfdraw2jpg on the net and cannot find it. > > > > > > > > > > > > > > > > > > > > > > > > On 3/17/06, Rafael Benitez <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > Hi All, if you're familiar with the swfdraw2jpg application, > > > > > > hope you can > > > > > > advise on the following: > > > > > > - how do I set up the MySQL database table 'drawingstable'? What > > > > > > fields > > > > > > should be in this database? > > > > > > - I've tried creating a MySQL 'drawingstable' table with the > > > > > > following > > > > > > fields: id, user, comment, url > > > > > > - I've set the 'id' field to integer and as the primary key, > > > > > > with the other > > > > > > fields set as 'varchar' > > > > > > - But I keep getting the following error: Warning: > > > > > > mysql_fetch_array(): > > > > > > supplied argument is not a valid MySQL result resource in > > > > > > (url)index.php > > > > > > > > > > > > I can't figure it out what am I doing wrong? Can someone pls > > > > > > advise. > > > > > > > > > > > > Thanks, rafa > > > > > > ___ > > > > > > 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] Issue with Masks in externally loaded SWFs?
I'm using mask inside loaded SWF but I have to be carefull of the dimention of those loaded SWF because everything inside (and outside it's root level) is visible on the loading SWF! One thing I'm doing now is to mask my loader within my parent SWF and load into that external SWF with their own mask. One of our graphist always do external SWF the same size as the parent SWF... thus avoiding the masked content to spill out onto the parent SWF. A+ Matt Muller wrote: yeah there are issues with this, bit of a nightmare, i ha some animations running under and i could see masks etc sticking out the mask, weird. Also this totally screwed my align class, so i had to recode a new one that used reference points. MaTT On 3/17/06, Jeff Fox <[EMAIL PROTECTED]> wrote: Is there any known issue with loading external SWFs that have animations that require masks? We just tried loading an external SWF that has it's main area blocked out by a mask, but when the movie loads and plays, there is no mask apparent and all the pieces of images that animate are clearly visible. Is there any known issue with this? -Jeff -- Jeff Fox [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@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] Issue with Masks in externally loaded SWFs?
yeah there are issues with this, bit of a nightmare, i ha some animations running under and i could see masks etc sticking out the mask, weird. Also this totally screwed my align class, so i had to recode a new one that used reference points. MaTT On 3/17/06, Jeff Fox <[EMAIL PROTECTED]> wrote: > > Is there any known issue with loading external SWFs that have animations > that require masks? We just tried loading an external SWF that has it's > main > area blocked out by a mask, but when the movie loads and plays, there is > no > mask apparent and all the pieces of images that animate are clearly > visible. > Is there any known issue with this? > > -Jeff > > -- > Jeff Fox > [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@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] Issue with Masks in externally loaded SWFs?
Are all the paths relative inside the loaded SWF or is there a reference to the _root? Just a quick idea... A+ Jeff Fox wrote: Is there any known issue with loading external SWFs that have animations that require masks? We just tried loading an external SWF that has it's main area blocked out by a mask, but when the movie loads and plays, there is no mask apparent and all the pieces of images that animate are clearly visible. Is there any known issue with this? -Jeff -- Jeff Fox [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@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] Issue with Masks in externally loaded SWFs?
Is there any known issue with loading external SWFs that have animations that require masks? We just tried loading an external SWF that has it's main area blocked out by a mask, but when the movie loads and plays, there is no mask apparent and all the pieces of images that animate are clearly visible. Is there any known issue with this? -Jeff -- Jeff Fox [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
Re: [Flashcoders] best 360VR panorama
On 3/16/06, Michael Bedar <[EMAIL PROTECTED]> wrote: > > Following one of those links, i got to this page.. > > http://nodename.com/lab/dispmapPano/ > > anyone have source to these examples? I've been playing with > distortion maps, but this effect is alluding me:( I'm sure _someone_ has source to these ;-) You could study the tutorial at http://nodename.com/blog/2006/01/16/psyarks-displacementmapfilter-tutorial/ which covers the orthographic projection example on that page. Then you could generalize the method by plugging in equations from the source provided on the Java World Map Projections page referenced in the original article at http://nodename.com/blog/2006/01/11/prospects-for-immersive-panoramas-in-flash/ Just a suggestion... -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] compile problem
Thanks Ron. As to yesterdays compile question, apparently I needed to clear Flash cache. See: http://www.macromedia.com/devnet/flash/articles/migrating_fl8_07.html and more background at: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19045 ___ 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] OT: full-time actionscript job in DFW
If you know a good director/flash developer - there is an opening building Computer Based Training in Hurst TX. Search on CareerBuilder.com for "tecfilms" or email me offline for more details/contact information. Thanks, Mike Gralish [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
Re: [Flashcoders] Re: swfdraw2jpg database table settings
Mick, did you get your swfdraw2jpg working? I've tried what you suggested and it's not working. Thx, rafa On 3/17/06, Rafa <[EMAIL PROTECTED]> wrote: > > Hi Mick, it's connecting to the database ok, it can save and display the > image, but the user data does not get inserted into the database. > > Did you get yours working? If yes, can you pls send me your sql file, so > that I can replicate it on my server. I need to see how you've set your > table up. > > Thx, rafa > > > > On 3/17/06, Mick G <[EMAIL PROTECTED]> wrote: > > > > Are you sure you can connect to the database OK? ie. Have you set up > > your database in the config.php file? > > > > If you haven't done so already, it looks like the table needs these > > columns: > > ID, username, comment, imageURL, timestamp (I don't think the exact > > name matters... the php file doesn't reference exact column names. > > > > -Mick > > > > > > > > On 3/17/06, Rafa <[EMAIL PROTECTED]> wrote: > > > > > > Hi Mick, did you get my earlier message? rafa > > > > > > > > > > > > On 3/17/06, Rafael Benitez <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi Mick, code attached. > > > > > > > > I've isolated the problem - I'm pretty sure it's something to do > > > > with the savedraw.php file. For some reason the MySQL insert > > > > statement isn't working, data is not being put into the table. > > > > > > > > Thx for any help, rafa > > > > > > > > > > > > > > > > On 3/17/06, Mick G < [EMAIL PROTECTED]> wrote: > > > > > > > > > > I can help you out if you like, but do you have the code there? > > > > > > > > > > I've been looking for swfdraw2jpg on the net and cannot find it. > > > > > > > > > > > > > > > > > > > > On 3/17/06, Rafael Benitez <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > Hi All, if you're familiar with the swfdraw2jpg application, > > > > > hope you can > > > > > advise on the following: > > > > > - how do I set up the MySQL database table 'drawingstable'? What > > > > > fields > > > > > should be in this database? > > > > > - I've tried creating a MySQL 'drawingstable' table with the > > > > > following > > > > > fields: id, user, comment, url > > > > > - I've set the 'id' field to integer and as the primary key, with > > > > > the other > > > > > fields set as 'varchar' > > > > > - But I keep getting the following error: Warning: > > > > > mysql_fetch_array(): > > > > > supplied argument is not a valid MySQL result resource in > > > > > (url)index.php > > > > > > > > > > I can't figure it out what am I doing wrong? Can someone pls > > > > > advise. > > > > > > > > > > Thanks, rafa > > > > > ___ > > > > > 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] OT: Great bit of Director work, FPS with bots, network play etc.
We looked at it here with a gyroscope visor. Simply incredible. - MM -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Marsden Sent: Friday, March 17, 2006 9:33 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] OT: Great bit of Director work, FPS with bots,network play etc. that is inspiring!! Great work. Nick Weekes wrote: >That is a stunning piece of work...didnt realise director could interface >with DirectX. ___ 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: amazon web service
What goes in here: (???) callback1 = wsConn.ItemSearch( ??? ); callback1.onResult = function(result){ trace( result ); } - trying to do a search on an artist, and get back a URL to an album cover... the wsdl needs my accesskeyid and also other params for the search... On 3/17/06, Kevin Newman <[EMAIL PROTECTED]> wrote: > > I think you might be looking for the *mx.services.WebService class > instead of the WebServiceConnector class. > > > http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=2998.html > > > > import mx.services.WebService; > import mx.services.PendingCall; > > // set up connection > var wsConn:WebService = new > WebService(' > http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl' > ); > wsConn.onLoad = function(wsdlDocument) { >trace('WebService Loaded Successfully.'); > }; > wsConn.onFault = ErrorFunc; // not defined in this example > > // call ws method (you don't have to wait for the service to load first, > this will queue automatically) > var wePendingCall:PendingCall = wsConn.CallMethod('Vars Passed In'); // > the actaul call > wsPendingCall.onResult = function (result) { > trace(result); // the actual result > } > wsPendingCall.onFault = ErrorFunc; > > > Kevin N. > > PS My apologies for the double post, it's my first time, and I missed > changing the subject line.. > > > On 3/17/06, eric dolecki <[EMAIL PROTECTED]> wrote: > > Does anyone have sample code of doing a search for album art using the > > Amazon web service? You can leave your key out of it... > > > > import mx.data.components.WebServiceConnector; > > > > var res:Function = function (evt:Object) { > > trace( evt.target.results ); > > }; > > > > var wsConn:WebServiceConnector = new WebServiceConnector(); > > wsConn.addEventListener( "result", res ); > > wsConn.WSDLURL = " > > > http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl > "; > > > > // params ... > > > > ___ > 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: amazon web service
I think you might be looking for the *mx.services.WebService class instead of the WebServiceConnector class. http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=2998.html import mx.services.WebService; import mx.services.PendingCall; // set up connection var wsConn:WebService = new WebService('http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl'); wsConn.onLoad = function(wsdlDocument) { trace('WebService Loaded Successfully.'); }; wsConn.onFault = ErrorFunc; // not defined in this example // call ws method (you don't have to wait for the service to load first, this will queue automatically) var wePendingCall:PendingCall = wsConn.CallMethod('Vars Passed In'); // the actaul call wsPendingCall.onResult = function (result) { trace(result); // the actual result } wsPendingCall.onFault = ErrorFunc; Kevin N. PS My apologies for the double post, it's my first time, and I missed changing the subject line.. On 3/17/06, eric dolecki <[EMAIL PROTECTED]> wrote: Does anyone have sample code of doing a search for album art using the Amazon web service? You can leave your key out of it... import mx.data.components.WebServiceConnector; var res:Function = function (evt:Object) { trace( evt.target.results ); }; var wsConn:WebServiceConnector = new WebServiceConnector(); wsConn.addEventListener( "result", res ); wsConn.WSDLURL = " http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl";; // params ... ___ 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: Flashcoders Digest, Vol 14, Issue 57
I think you might be looking for the *mx.services.WebService class instead of the WebServiceConnector class. http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=2998.html Kevin N. * On 3/17/06, eric dolecki <[EMAIL PROTECTED]> wrote: Does anyone have sample code of doing a search for album art using the Amazon web service? You can leave your key out of it... import mx.data.components.WebServiceConnector; var res:Function = function (evt:Object) { trace( evt.target.results ); }; var wsConn:WebServiceConnector = new WebServiceConnector(); wsConn.addEventListener( "result", res ); wsConn.WSDLURL = " http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl";; // params ... ___ 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] Remove cellPress Listener on DataGrid
Hi Phillipe, Try: datagrid.removeEventListener("cellPress", ListenerObj); Judah -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felipe Fernandez Sent: Friday, March 17, 2006 2:53 AM To: Flashcoders mailing list Subject: [Flashcoders] Remove cellPress Listener on DataGrid Hi, is that possible? How could I do that? Thanks and 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@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] amazon web service
no problems - kind of figured that'd be the case... On 3/17/06, eric dolecki <[EMAIL PROTECTED]> wrote: > I have the REST method down - but I'd prefer to use wsdl... just not sure > how to contruct the parameters (yet). thanks though :) > > On 3/17/06, Paul BH <[EMAIL PROTECTED]> wrote: > > > > doubt its any use to you, but I ended up using their REST endpoints > > rather than wsdl... > > > > code is at home and can send over the weekend if you dont get a good > > wsdl answer... > > > > On 3/17/06, eric dolecki <[EMAIL PROTECTED]> wrote: > > > Does anyone have sample code of doing a search for album art using the > > > Amazon web service? You can leave your key out of it... > > > > > > import mx.data.components.WebServiceConnector; > > > > > > var res:Function = function (evt:Object) { > > >trace( evt.target.results ); > > > }; > > > > > > var wsConn:WebServiceConnector = new WebServiceConnector(); > > > wsConn.addEventListener( "result", res ); > > > wsConn.WSDLURL = " > > > > > http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl > > "; > > > > > > // params ... > > > ___ > > > 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
Re: [Flashcoders] amazon web service
I have the REST method down - but I'd prefer to use wsdl... just not sure how to contruct the parameters (yet). thanks though :) On 3/17/06, Paul BH <[EMAIL PROTECTED]> wrote: > > doubt its any use to you, but I ended up using their REST endpoints > rather than wsdl... > > code is at home and can send over the weekend if you dont get a good > wsdl answer... > > On 3/17/06, eric dolecki <[EMAIL PROTECTED]> wrote: > > Does anyone have sample code of doing a search for album art using the > > Amazon web service? You can leave your key out of it... > > > > import mx.data.components.WebServiceConnector; > > > > var res:Function = function (evt:Object) { > >trace( evt.target.results ); > > }; > > > > var wsConn:WebServiceConnector = new WebServiceConnector(); > > wsConn.addEventListener( "result", res ); > > wsConn.WSDLURL = " > > > http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl > "; > > > > // params ... > > ___ > > 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] amazon web service
doubt its any use to you, but I ended up using their REST endpoints rather than wsdl... code is at home and can send over the weekend if you dont get a good wsdl answer... On 3/17/06, eric dolecki <[EMAIL PROTECTED]> wrote: > Does anyone have sample code of doing a search for album art using the > Amazon web service? You can leave your key out of it... > > import mx.data.components.WebServiceConnector; > > var res:Function = function (evt:Object) { >trace( evt.target.results ); > }; > > var wsConn:WebServiceConnector = new WebServiceConnector(); > wsConn.addEventListener( "result", res ); > wsConn.WSDLURL = " > http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl";; > > // params ... > ___ > 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] File Exists - a better way?
[Theres no "reasonable" amount of time on networked connections of unknown hardware specs...] And yet timeout times are set somehow... I think it's a subjective decision. I wouldn't do it like this, but if someone has to? Yotam. ___ 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] File Exists - a better way?
Theres no "reasonable" amount of time on networked connections of unknown hardware specs... Have you looked into onData instead? I believe it will allow you to know if the file exists bases on the first packet of the response. Isaac Rivera Senior Flash Developer Audience Programming, America Online On Mar 17, 2006, at 9:14 AM, Yotam Laufer wrote: If onload fires immediately with success==false then you know that there's no file, so why don't you wait for a reasonable interval and then if it's not fired than assume the file exists. not the best of solutions but should work. Yotam ___ 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] File Exists - a better way?
_mc.onLoad = function (success) { if (success) { trace ("file loaded"); } else { _global.fileExists = false; } }; _gloabl.fileExists = true; _mc.loadMovie (url); // wait 250 ms and see whether the file has failed var intId = setInterval (function () { if (_global.fileExists) { trace ("file exists"); } else { trace ("no file"); } clearInterval (intId); }, 250); This is not tested, but should work. The only penalty is the the time you have to wait to be sure. Yotam. ___ 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] File Exists - a better way?
I think because if the file exists, you will have to wait till the file has loaded completely before you know about it. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andreas Rønning Sent: 17 March 2006 15:04 To: Flashcoders mailing list Subject: Re: [Flashcoders] File Exists - a better way? It stands to reason that if onLoad fires with success==false no file was loaded anyway, so i don't see why you'd need a separate handler for wether success is false NOW or success is false a little later. onLoad(success){ if(success){ //handle file load }else{ //handle error } } I don't see the downside to this approach. Then again, i'm tired and angry, so i might miss something. - A Yotam Laufer wrote: > If onload fires immediately with success==false then you know that there's > no file, so why don't you wait for a reasonable interval and then if it's > not fired than assume the file exists. not the best of solutions but should > work. > > Yotam ___ 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] File Exists - a better way?
It stands to reason that if onLoad fires with success==false no file was loaded anyway, so i don't see why you'd need a separate handler for wether success is false NOW or success is false a little later. onLoad(success){ if(success){ //handle file load }else{ //handle error } } I don't see the downside to this approach. Then again, i'm tired and angry, so i might miss something. - A Yotam Laufer wrote: If onload fires immediately with success==false then you know that there's no file, so why don't you wait for a reasonable interval and then if it's not fired than assume the file exists. not the best of solutions but should work. Yotam ___ 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 -- - Andreas Rønning --- Flash guy Rayon Visual Concepts, Oslo, Norway --- ___ 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] Compile using an "older" version of a given class
If you have a compiled swf that imported a version of the class and it gets loaded before your swf with the new version, the new version will be ignored. Also delete your Flash cache Ron Wendy Richardson wrote: I came across this problem yesterday: I have some flash code with lots of external .as scripts. I also save old copies of the scripts so I can go back easily. Yesterday I dropped an older (by date) version of an external .as file into my directory (path), but on compile, the final swf was not using the version in the path. (I could tell by certain trace statements). Upon finally figuring this out, all it took was opening and editing the .as file (added a space somewhere) and the next compile used the correct .as Now, I've tried this first deleting the last compiled swf file first, and got the same behavior. The "newer" version of the .as file was removed, destroyed, and font by font put back into the etherland, so I am sure it wasn't somehow "finding" that file instead. Anyone know what's up? How flash decides what to compile? Where it may store prior compiled code if it does? And finally, is there some preference or ini setting that can make each compilation only use files currently in the path? Or recompile completely? This seemed like pretty unusual behavior, and had me scratching my head. I still am. Thanks for any info. Wendy ___ 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] File Exists - a better way?
There's no Flash native hack as far as I know. The only obvious solution I can think of is to call a server script - for example in PHP something like: Then use LoadVars to call the script, passing in the parameter 'file' - which is a filename relative to the PHP script. Once LoadVars returns, if the 'exists' parameter is false, the file doesn't exist - and so on. HTH, Ian On 3/17/06, Wendy Richardson <[EMAIL PROTECTED]> wrote: > I know I can find if a file I want to load exists by using "onload" with > "success", but there must be something more immediate. Using onload, I > can'd determine success answer untill the file is completely loaded > which is too long for my purposes. Anyone have a hack for determining > if a file exists? > > Thanks > > Wendy ___ 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] Position objects evenly around ellipse
Great info. Thanks. Jason Merrill | E-Learning Solutions | icfconsulting.com >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Danny Kodicek >>Sent: Friday, March 17, 2006 9:01 AM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] Position objects evenly around ellipse >> >> >> >I think by evenly spaced I mean equal arc lengths around the ellipse. >>Thanks for the idea. >> >>You might find that quite tricky to achieve accurately: arc length of an >>ellipse involves some rather unpleasant calculus. Elliptic integrals are >>decribed here: >>http://mathworld.wolfram.com/EllipticIntegraloftheSecondKind.html >> >>If your ellipse isn't very eccentric, you'll probably find my method works >>well enough for your purposes. >> >>Best >>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 NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ 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] Compile using an "older" version of a given class
I came across this problem yesterday: I have some flash code with lots of external .as scripts. I also save old copies of the scripts so I can go back easily. Yesterday I dropped an older (by date) version of an external .as file into my directory (path), but on compile, the final swf was not using the version in the path. (I could tell by certain trace statements). Upon finally figuring this out, all it took was opening and editing the .as file (added a space somewhere) and the next compile used the correct .as Now, I've tried this first deleting the last compiled swf file first, and got the same behavior. The "newer" version of the .as file was removed, destroyed, and font by font put back into the etherland, so I am sure it wasn't somehow "finding" that file instead. Anyone know what's up? How flash decides what to compile? Where it may store prior compiled code if it does? And finally, is there some preference or ini setting that can make each compilation only use files currently in the path? Or recompile completely? This seemed like pretty unusual behavior, and had me scratching my head. I still am. Thanks for any info. Wendy ___ 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] File Exists - a better way?
If onload fires immediately with success==false then you know that there's no file, so why don't you wait for a reasonable interval and then if it's not fired than assume the file exists. not the best of solutions but should work. Yotam ___ 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] File Exists - a better way?
Do you have access to a scripting language on the server where the file resides? If you do, get that to do the check for if the file exists and interrogate that instead. Maybe. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Wendy Richardson Sent: 17 March 2006 14:06 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] File Exists - a better way? I know I can find if a file I want to load exists by using "onload" with "success", but there must be something more immediate. Using onload, I can'd determine success answer untill the file is completely loaded which is too long for my purposes. Anyone have a hack for determining if a file exists? Thanks Wendy ___ 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] RIA - Crystal Reports
Hi there, Does anyone know any Flash apps similar to Crystal Reports? Thanks, IuliuB ___ 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] File Exists - a better way?
I know I can find if a file I want to load exists by using "onload" with "success", but there must be something more immediate. Using onload, I can'd determine success answer untill the file is completely loaded which is too long for my purposes. Anyone have a hack for determining if a file exists? Thanks Wendy ___ 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] Position objects evenly around ellipse
>I think by evenly spaced I mean equal arc lengths around the ellipse. Thanks for the idea. You might find that quite tricky to achieve accurately: arc length of an ellipse involves some rather unpleasant calculus. Elliptic integrals are decribed here: http://mathworld.wolfram.com/EllipticIntegraloftheSecondKind.html If your ellipse isn't very eccentric, you'll probably find my method works well enough for your purposes. Best 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] amazon web service
Does anyone have sample code of doing a search for album art using the Amazon web service? You can leave your key out of it... import mx.data.components.WebServiceConnector; var res:Function = function (evt:Object) { trace( evt.target.results ); }; var wsConn:WebServiceConnector = new WebServiceConnector(); wsConn.addEventListener( "result", res ); wsConn.WSDLURL = " http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl";; // params ... ___ 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] Position objects evenly around ellipse
I think by evenly spaced I mean equal arc lengths around the ellipse. Thanks for the idea. Jason Merrill | E-Learning Solutions | icfconsulting.com >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Danny Kodicek >>Sent: Friday, March 17, 2006 4:01 AM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] Position objects evenly around ellipse >> >>>Would anyone have a function, class, formula, idea whatever that would >>allow me to calculate X and Y values to place an "n" number of movie >>clips evenly spaced around an ellipse/oval shape? The number of clips >>can vary based on external data. The ellipse would also have to be >>calculated I suppose, but not actually drawn - the representation of it >>would be a separate graphic. >> >>'evenly spaced' is a slightly ambiguous phrase. It could either mean that >>they are spaced with even angles (meaning that physically the clips at the >>'pointy end' of the ellipse would be closer to each other) or that they are >>spaced with equal arc lengths, or various other metrics. >> >>I always find it easiest to think of an ellipse as a circle transformed by a >>stretch and rotate. So I'd do it something like this: >> >>for an ellipse with short radius (semiminor axis) a and long radius >>(semimajor axis) b, centred on c, pointed along the unit vector v: >>first place your clips evenly spaced around a unit circle: if there are N >>clips then place clip i at (sin(i*2*pi/N), cos(i*2*pi/N)) >>then stretch the positions: multiply the x-axis by a and y-axis by b: >>(a*sin(i*2*pi/N), b*cos(i*2*pi/N)) >>then rotate: move to i[2]*v+i[1]*normal(v) >>then translate: add c to each point. >> >>HTH >>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 NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ 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] Question for XML Style Junkies
Thanks very much - that's exactly what I ended up doing. I didn't realize CDATA was a type of node before, though it should have been obvious to me. Thanks to everyone for your help. Jason Merrill | E-Learning Solutions | icfconsulting.com >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of GregoryN >>Sent: Friday, March 17, 2006 2:43 AM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] Question for XML Style Junkies >> >> >>Sorry for late response, Jason. >> >>I would use: >> >> >> >> >> >>As Jim noticed, CDATA is a type of node . >> >> >>-- >>Best regards, >> GregoryN >> >>http://GOusable.com >>Flash components development. >>Usability services. >> >>> --- "Merrill, Jason" wrote: >>> I am assuming the way I am using CDATA tags are throwing it off somehow. >>> For example, I have a CDATA tag inside an attribute value under the >>> Home/Panel/Panel[0]/Title attribute value and this is where it seems to >>> break. Is this bad form and/or causing Flash to choke? If not, what >>> could be causing this? If this is bad XML form, how would you >>> reorganize it to work in Flash? >> >> >>___ >>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 NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ 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] OT: Great bit of Director work, FPS with bots, network play etc.
that is inspiring!! Great work. Nick Weekes wrote: That is a stunning piece of work...didnt realise director could interface with DirectX. ___ 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] OT: Great bit of Director work, FPS with bots, network play etc.
That is a stunning piece of work...didnt realise director could interface with DirectX. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: 17 March 2006 12:28 To: Flashcoders mailing list Subject: RE: [Flashcoders] OT: Great bit of Director work, FPS with bots,network play etc. You can enable bots... or play over the network with someone else. I think it'll still be a while before we see anything like this in flash, AS3 or not... M > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Adrian > Lynch > Sent: 17 March 2006 12:19 > To: Flashcoders mailing list > Subject: RE: [Flashcoders] OT: Great bit of Director work, FPS with > bots,network play etc. > > But where the baddies at? > > All that fire power and no one to use it on! :OD ___ 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] OT: Great bit of Director work, FPS with bots, network play etc.
You can enable bots... or play over the network with someone else. I think it'll still be a while before we see anything like this in flash, AS3 or not... M > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Adrian Lynch > Sent: 17 March 2006 12:19 > To: Flashcoders mailing list > Subject: RE: [Flashcoders] OT: Great bit of Director work, > FPS with bots,network play etc. > > But where the baddies at? > > All that fire power and no one to use it on! :OD ___ 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] OT: Great bit of Director work, FPS with bots, network play etc.
But where the baddies at? All that fire power and no one to use it on! :OD -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike Mountain Sent: 17 March 2006 11:42 To: Flashcoders mailing list Subject: [Flashcoders] OT: Great bit of Director work, FPS with bots,network play etc. http://www.rasterwerks.com/game/phosphor/beta1.htm I had to share this. Cheers M ___ 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] OT: Great bit of Director work, FPS with bots, network play etc.
http://www.rasterwerks.com/game/phosphor/beta1.htm I had to share this. Cheers M ___ 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] Question for XML Style Junkies
You cant have cdata or any tags inside an attribute, you should put this in a child tag of its own. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 16 March 2006 17:09 To: Flashcoders mailing list Subject: [Flashcoders] Question for XML Style Junkies My XML file takes the following form: ...etc. ...etc. However, after I load it into Flash, it gets truncated to: I am assuming the way I am using CDATA tags are throwing it off somehow. For example, I have a CDATA tag inside an attribute value under the Home/Panel/Panel[0]/Title attribute value and this is where it seems to break. Is this bad form and/or causing Flash to choke? If not, what could be causing this? If this is bad XML form, how would you reorganize it to work in Flash? --- FYI - FWIW: I am loading the XML in a standard way: var xmlObject = new XML(); xmlObject.ignoreWhite = true; xmlObject.onLoad = Delegate.create(this, loadSuccess); xmlObject.load("home.xml") and the delegate function just moves the playhead once the file is loaded - when I get to the frame after it's loaded, I do a trace on the XML and see the truncation as described. -- Ideas? Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ 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] remove BitmapData
I didn't know that about dispose. I guess you are right. I changed my code and now I keep a reference of the bitmap, so I can execute dispose() whenever I want. Thanks guys, Dimitrios - Original Message - From: "elibol" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, March 15, 2006 11:16 PM Subject: Re: [FlashCoders] remove BitmapData There is no getDepth() method for bitmapData Objects. What's the problem with keeping a refrence to your bitmapData Objects? I would argue that it's better practice to refrence them anyways, and as of now, if you do not call dispose() and just remove MovieClips with bitmapData attached, the bitmapData, as I know it, will remain in memory. M. On 3/15/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: Thank you Johannes. But what if I need to remove bitmaps only at a certain depth? Because I really don't want to clear all BitmapData from the movieclip... Dimitrios - Original Message - From: "Johannes Nel" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, March 15, 2006 9:46 PM Subject: Re: [FlashCoders] remove BitmapData for (var e in clip) { if(clip[e] instanceof BitmapDAta) { clip[e].dispose(); } } i think that could work. On 3/15/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: > > "check if the object you are > encountering is an instance of bitmapdata and remove them" > > How exactly can you remove a bitmap data from a movieclip? > That's what I haven't figured out yet. > > Thanks, > Dimitrios > > > - Original Message - > From: "Johannes Nel" <[EMAIL PROTECTED]> > To: "Flashcoders mailing list" > Sent: Wednesday, March 15, 2006 9:19 PM > Subject: Re: [FlashCoders] remove BitmapData > > > you could loop through the movieclip, check if the object you are > encountering is an instance of bitmapdata and remove them. this could be > done in reomvemoveiclip so you know when you remove a movieclip it will be > sorted. > > On 3/15/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: > > > > So that means I have to keep a reference of the BitmapData obj. > > What if I have dozens of bitmaps I attach on a movieclip and I > > don't want to keep references for all of them. > > > > Isn't there just a simple way to *clear* the movieclip at a specific > > depth? > > > > Thank you, > > Dimitrios > > ___ > 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 > -- j:pn http://www.lennel.org ___ 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
Re: [Flashcoders] Position objects evenly around ellipse
Would anyone have a function, class, formula, idea whatever that would allow me to calculate X and Y values to place an "n" number of movie clips evenly spaced around an ellipse/oval shape? The number of clips can vary based on external data. The ellipse would also have to be calculated I suppose, but not actually drawn - the representation of it would be a separate graphic. 'evenly spaced' is a slightly ambiguous phrase. It could either mean that they are spaced with even angles (meaning that physically the clips at the 'pointy end' of the ellipse would be closer to each other) or that they are spaced with equal arc lengths, or various other metrics. I always find it easiest to think of an ellipse as a circle transformed by a stretch and rotate. So I'd do it something like this: for an ellipse with short radius (semiminor axis) a and long radius (semimajor axis) b, centred on c, pointed along the unit vector v: first place your clips evenly spaced around a unit circle: if there are N clips then place clip i at (sin(i*2*pi/N), cos(i*2*pi/N)) then stretch the positions: multiply the x-axis by a and y-axis by b: (a*sin(i*2*pi/N), b*cos(i*2*pi/N)) then rotate: move to i[2]*v+i[1]*normal(v) then translate: add c to each point. HTH 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] Remove cellPress Listener on DataGrid
Hi, is that possible? How could I do that? Thanks and 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