RE: [Flashcoders] setInterval and IE ...
Nope, using them all the time, but no problems whatsoever. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Ford Sent: donderdag 30 november 2006 10:00 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] setInterval and IE ... Has anyone ever experienced any problems with using setIntervals in IE, both with window mode of transparent and without any window mode (normal) ? Thanks, Stephen.___ 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] Clickable v2 component
Not having used the v2 components many times before, I mightbe asking the obvious question, but I can't seem to find any answer. I have a Loader component on-stage. Which is fed by url's to jpeg images. Showing this all works fine. The problem is, I would like to let the user be able to click the image to see a preview of it. The problem is not the showing of the preview, but more in the fact that I have no idea how to catch the 'click' events of people clicking on the Loader. The docs tell me the Loader component does not fire such an event. Is there a workaround for this? Or another v2 component which does have a click event and can show images in clean look and feel? Cheers, Ben ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Q:JSON vs XML advantages
JSON Speed? I haven't used it before so can only judge it by what I read on the web :) http://blogs.adobe.com/mikepotter/2006/07/php_and_flex_js.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eka Sent: donderdag 23 november 2006 15:10 To: Flashcoders mailing list Subject: Re: [Flashcoders] Q:JSON vs XML advantages Hello :) JSON is speed !! the xml parser is slow ! With JSON your objects are typed.. in XML all properties, attributes, are String values only. You can try to compare 2 big files in XML and JSON to see the difference :) For me JSON is good but EDEN is better ;) Eden is like JSON but you can instanciate your customs objects, securize the datas etc You can compare JSON and EDEN in my openSource framework : http://vegas.riaforge.org/ 1 - dowload with the zip or the SVN my framework 2 - install the src folder in flash in your ActionScript preference list. 3 - Try the example in VEGAS and this extension ASGard : (JSON) http://vegas.riaforge.org/index.cfm?event=page.svnbrowsepath=%2FAS2%2Ft runk%2Fbin%2Ftest%2Fvegas/string (EDEN) http://vegas.riaforge.org/index.cfm?event=page.svnbrowsepath=%2FAS2%2Ft runk%2Fbin%2Ftest%2Fasgard/net (Config tool with EDEN or JSON loader) http://vegas.riaforge.org/index.cfm?event=page.svnbrowsepath=%2FAS2%2Ft runk%2Fbin%2Ftest%2Fasgard/config (Localization tool with Eden or JSON loader) http://vegas.riaforge.org/index.cfm?event=page.svnbrowsepath=%2FAS2%2Ft runk%2Fbin%2Ftest%2Fasgard/system PS : all examples are in the AS2/trunk/bin/test/ directory EKA+ :) 2006/11/23, [EMAIL PROTECTED] [EMAIL PROTECTED]: I know one of the advantages of the JSON format is easier to maintain code, ie your config files can be essentially actionscript. But are there any oither advantages over XML? What about performance? Does it 'parse' faster? Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Q;Pass an array as event object?
How are you adding the listeners? A.k.a, what is the rest of the code? I believe this should work but can't tell for sure without context. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: woensdag 22 november 2006 16:18 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Q;Pass an array as event object? Anyone know why this doesn't work? a_presets1=[5,6,1,6,4,8,5,6]; this.dispatchEvent({target:this, type:Presets, o_presets:a_presets1}); //my listener function: function Presets(evtob){ var a_presets=evtob.o_presets; trace(a_presets); //a_presets traces out undefined } [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Job Opportunity at Gaia Interactive (San Jose, CA)
I Liked the 'Test' :) Would be some nice discussion material for on this list too :P -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Grden Sent: donderdag 16 november 2006 4:21 To: Flashcoders mailing list Subject: Re: [Flashcoders] Job Opportunity at Gaia Interactive (San Jose, CA) every recruiter please take note: THIS is a decent looking Job description!! FINALLY. On 11/15/06, David Andersen [EMAIL PROTECTED] wrote: Hello - I'm handling all the recruiting for Gaia Interactive. They are searching for Flash Developers in their San Jose, CA offices. Please read carefully through the job description written below. If you are interested, please complete and send me the results of the flash test at the end of this email. Are you interested in arranging for an interview? If so, please let me know as soon as possible. Here is what I need from you: * An MS Word version of your current resume * Clarification about when you are available for a phone interview * A list of any questions that you have about the position, prior to the interview Regards, Dave David Andersen ChiefPeople, Inc. - [EMAIL PROTECTED] 510.364.4246 | cell PS - If you are not available for this position, but know of someone who is a good fit, please refer them to me. Thanks! _ Position: World Class Flash Developer Gaia Online is the first and largest virtual world for teens. In three years, Gaia has grown to over 4 million registered users and over 2 billion page views a month - all through word of mouth, with not a penny spent on marketing or PR. The company is profitable. Recently, Benchmark Capital (eBay) and Redpoint Ventures (MySpace) joined the board to help the founders accelerate product development and Gaia's growth. Gaia is looking for a developer who takes pride in their work and enjoys pushing their creativity in game development! You'll be responsible for creating top quality flash based online games and integrating them to our site. Qualifications: - Experienced with online game programming using Flash (Actionscript) and/or Director (Lingo). Experience with multi-user game is a plus. - Advanced level action scripting skills; animation skills a plus - Ability to work well with others and with minimal supervision. - Must be very detail oriented and able to work in a fast-paced and friendly environment - Creativity in game designs a plus. - Applicant is required to submit at least 2 sample games or sample work that demonstrates skills. - Avid gamer is a plus Salary/Benefits: Salary based on experience Annual reviews Stock options Full Benefits, health, dental, vision, chiro, 401k Free lunch, drink, and junk food If interested, please contact David Andersen via the contact info below. [EMAIL PROTECTED] David Andersen ChiefPeople, Inc. - 510.364.4246 | office FLASH TEST How do you code to secure Flash movies? Where would you go if you need help on a Flash problem? There's a couple of ways to attach Actionscript 2.0 classes. Name those ways and tell me what the benefits in them are. What are the advantages of using bitmap and vector graphics? What are some ways to optimize Flash movies? What are some ways to optimize Flash performance? Can you give me some valid points of using _global verses _root? ___ 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 -- [ JPG ] ___ 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] Job Opportunity at Gaia Interactive (San Jose, CA)
There used to be some hex editor tricks you were used to be able to use. It made some of the decryptors crash. Never used it though. Just try to code in a way that it never matters if people can read your source code. (Although I can imagine there must be some situations where it would be very helpfull). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: donderdag 16 november 2006 15:36 To: Flashcoders mailing list Subject: Re: [Flashcoders] Job Opportunity at Gaia Interactive (San Jose, CA) Well, there's tricks you can pull to ensure that the movie only works if run from the server it's supposed to be run from. A different sort of security, I know. Ian On 11/16/06, Weyert de Boer [EMAIL PROTECTED] wrote: Yeah, securing code in Flash Movie. Anyone know a good one for that beside of obfuscating it? I don't you think you got a lot of choices, right? ___ 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] Faking 3D perspective of a 2D map in Flash 8..?
Oe, I'm liking this one very much. More background would be greatly appreciated :D -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Seb L Sent: maandag 13 november 2006 11:33 To: Flashcoders mailing list Subject: Re: [Flashcoders] Faking 3D perspective of a 2D map in Flash 8..? We did this at FlashCodersBrighton : http://www.flashcodersbrighton.org/wordpress/?cat=1 We used a mode7 style technique. It was actually a bit complicated, but maybe I'll post a blog about it if enough people are interested? cheers! Seb Lee-Delisle http://sebleedelisle.com On 10/11/06, Andrew Murphy [EMAIL PROTECTED] wrote: Hello. I'm trying to take a vector map of North America and produce the sense of 'flying over' it. I want to have the flat map tipped along the X axis, so that the bottom (Florida, Texas, etc.) appear closer and the top (Nunuvut, Greenland, etc.) appear farther away. Then I want to be able to pan the map left and right, up and down, and 'zoom' in by scaling it.. scaling it a little faster vertically so that it seems to flatten out a bit as you get closer to the ground. So far I've only been able to achieve that in Illustrator and then saving the perspectively squished vectors as a .swf What I'd love to do is to get that perspective squish done within Flash 8 using script. I know about 3D program extensions for Flash like Sandy, but I find them cryptic (at best) and over kill for my simple needs. Any suggestions..? Thanks. :) - - - - - - - - - -[andrew murphy]- flash developer [EMAIL PROTECTED] delvinia interactive inc. 214 king street west, suite 214 toronto canada M5H 3S6 voice 416.364.1455 ext. 232 cell 416.820.8723 fax 416.364.9830 www.delvinia.com CONFIDENTIALITY NOTICE This email message may contain privileged or confidential information. If you are not the intended recipient or received this communication by error, please notify the sender and delete the message without copying or disclosing it. AVIS DE CONFIDENTIALITÉ Ce message peut contenir de l'information légalement privilégiée ou confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.1/527 - Release Date: 09/11/2006 6:00 PM ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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] Text Field Manipulation/Effect ...
Might be getting you wrong, but I think you are almost there already? Instead of using the clip to manipulate the scale of the text, how about trying to manipulate the TextFormat.letterSpacing? I haven't tested it, but I think it should do the trick? Cheers, Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Ford Sent: dinsdag 14 november 2006 0:33 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Text Field Manipulation/Effect ... Hello, I'm working on a small interactive with a text manipulation/effect. There is a clip on stage that the user drags from right to left, and as they drag, a text field appears on screen (by scaling from a width of 0 to 100% - effectively stretching out to full width) following the dragging clip. Here is a link http://www.yourfilehost.com/media.php?cat=swffile=728x90.swf So what I now need to do is have all the letters at full scale and piled on top of each other to begin with, then just drag them out into a full sentence (not just having the whole sentence as one clip that scales according to the position of the drag clip - as it currently does). Anyone seen any source that does a similar thing to this. 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@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Noob, basic questions on actionscript, withmethodology suggestions
Not to step on any toes, but only to add to the information: The XML object has a 'loaded' property inside of it which does exactly as described in the last part of this post. It returns True if the Xml is finished loading and ready to be referenced elsewhere. If (myXml.loaded) trace(myXml.firstChild); Else doTheLoadingThingieAgainOrWhatever(); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pete Miller Sent: donderdag 9 november 2006 23:33 To: Flashcoders mailing list Subject: RE: [Flashcoders] Noob, basic questions on actionscript,withmethodology suggestions You tripped, exactly the way I described earlier, by accessing external_xml right after calling Load(). Wait until onLoad() is called before doing anything with external_xml. You should trace the XML object inside the onLoad function: external_xml.onLoad = function(success:Boolean) { if (success) { trace(this); //Do something with the XML in here. } else { trace(xml failed to load.); } The result will probably be [Object object] or something equally obscure, as the Flash trace routine doesn't break down complex objects into viewable text. In general, you can put a flag inside the onLoad() routine that indicates that the XML object is safe to use. P. -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Scott Haneda Sent: Thursday, November 09, 2006 5:14 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Noob, basic questions on actionscript, withmethodology suggestions Hi, You will need to move external_xml.load call below the onLoad function because your file will probably be loaded before the handler is defined (locally). with trace(myXML) you have defined myXML inside the function - this means it is not in scope outside the function. Try: var external_xml:XML = new XML(); //trace if loaded, or not external_xml.onLoad = function(success:Boolean) { if (success) { trace(xml loaded successfully.); //Do something with the XML in here. } else { trace(xml failed to load.); } }; //variable loads external XML file afterwards external_xml.load(example1.xml); trace(external_xml); I get nothing at all on the final trace, not null, not undefined, just blank. -- - Scott HanedaTel: 415.898.2602 http://www.newgeo.com Novato, CA U.S.A. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Completely stumped about MovieClipLoader not working
.Fla - Publish settings - Flash - Local playback security is set to Access network only right? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Chuan Sent: donderdag 9 november 2006 5:44 To: Flashcoders mailing list Subject: Re: [Flashcoders] Completely stumped about MovieClipLoader not working Hi, assuming that you use a relative path to the swf, then you can just use one substring: var baseurl:String = _root._url; baseurl = baseurl.substr(0, baseurl.lastIndexOf(/)+1); mcl.loadClip(baseurl+ar07ui.swf); On 11/9/06, Hans Wichman [EMAIL PROTECTED] wrote: ps that can be made way more efficient, its still under construction :) On 11/8/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi, instead of using your path directly try something like this: class App { public static function getPath (parent:MovieClip, path:String):String { var parUrl:String = parent._url; parUrl = parUrl.split(\\).join(/); var pathUrl:String = path.split(\\).join(/); var parArr:Array = parUrl.split(/); parArr.pop(); parUrl = parArr.join(/)+/; return parUrl+pathUrl; } } And in your code: mcl.loadClip(App.getPath(_root, ar07ui.swf), ui); greetz JC On 11/8/06, Éric Thibault [EMAIL PROTECTED] wrote: I've redone the test on my webserver with the externalinterface and all is functionning normaly if all (HTML and SWF) are in the same folder! If the HTML page is not in the same folder, the external SWF must be called relative to the HTML, not to the loader SWF. Maybe your bug is there! A+ Mendelsohn, Michael a écrit : Thanks for trying. The External Interface is the only thing there that works for me. I get the alerts from the html page, but that's it. It never finds the other swf. Could it be some kind of security issue? ___ 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 -- Cheers, Ray Chuan ___ 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] Datagrid keeps 1 empty row visible
Hi all, Small problem with using the v2 datagrid component (which I try to avoid as much as I can). I have added a couple of rows which use CellRenderers to show per row a button with which the user can delete a specific row. This all seems to work fine, but the problem is that after deleting the last row, 1 row keeps existing in the datagrid. It doesn't seem this row contains any data (the label is cleared), but the components which existed in each row still exist. How can I clear that row too? Or at least tell the components in the cellrenderers that after a row is deleted and no other rows exist, they should be invisible? Fenks. Ben ___ 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] Datagrid keeps 1 empty row visible
Banging head against wall. Sorry guys, I managed to find a little line of code addItem('no items in list'); Which did the damage. Nothing wrong with the DataGrid :) Cheers, Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Smeets Sent: dinsdag 7 november 2006 10:46 To: Flashcoders mailing list Subject: [Flashcoders] Datagrid keeps 1 empty row visible Hi all, Small problem with using the v2 datagrid component (which I try to avoid as much as I can). I have added a couple of rows which use CellRenderers to show per row a button with which the user can delete a specific row. This all seems to work fine, but the problem is that after deleting the last row, 1 row keeps existing in the datagrid. It doesn't seem this row contains any data (the label is cleared), but the components which existed in each row still exist. How can I clear that row too? Or at least tell the components in the cellrenderers that after a row is deleted and no other rows exist, they should be invisible? Fenks. Ben ___ 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] Where to add eventListners in UIComponent classes?
I might be getting it wrong but the following might help: In working with components and using placed onscreen in editor components, I always find myself needing to wait 1 frame before adding the component event listeners. It seems the v2 components need 1 enterframe to fully initialize themselves. The way I do it (very crude code, in no sense useable in a copy paste sense) Private function onEnterFrame() { // Create this handler, which if all goes well // will be called only once, but we know 100% sure // we had at least 1 frame interval. addHandlers(); } Private function addHandlers() { // Clean up the onEnterFrame delete this.onEnterFrame; // Add all listeners here myComponent.addEventListener(click, this); } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wade Arnold Sent: dinsdag 7 november 2006 3:31 To: 'Flashcoders mailing list' Subject: [Flashcoders] Where to add eventListners in UIComponent classes? I have a component that has a couple Macromedia UI components used inside of it. I have found that if I add my event listeners inside of createChildren after I have added the UI components the events are not added. I have also tried to add the events inside of the draw method. In order to get the events to work properly I have to add them into my onLoad() method. However this makes it so when I load the component I do not get an accurate onLoad event from the component as the event handlers have yet to be registered. Is there someplace that I am missing that I should be placing all of my event registration in anything that extends UIComponent? Thanks; Wade Arnold ___ 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] IE 7 Speed
Hi all, Just downloaded and installed IE7 Is it me or is flash content much faster then it was in IE6? I have some movies generating hundreds of movieclips through AS, smeems to go much more fluent then before. Anyone else experiencing the same? Ben ___ 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] Image Loading causes Flash slowness and high cpuutilization
The type of behaviour reminds me of when you load images and create multiple (10+) movieclips on top of eachother, the player gets stuck. In case you get any use out of it, Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Raymond Sent: dinsdag 1 augustus 2006 1:15 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Image Loading causes Flash slowness and high cpuutilization We have a Flex application which loads many copies of an image on the fly. In some situations the image loading seems to cause Flash to slow down (and use more CPU). The slowdown stays with Flash beyond the loading of the image. We can wait a hour and the load is still high. And each time this happens the player gets a little bit slower and never improves until the browser is restarted. This does not appear to be a memory utilization issue. One hypothesis is that there is some type of background element (a layer on the timeline) which is responsible for loading the image, and somehow this gets hung up and doesn't get cleaned up. Get enough of these and the load goes up. Does this ring a bell with anyone. Is this a known problem? It may be related to other events happening at the same time (e.g., moving the image before it is loaded, or loading a new image before the old one is loaded). The longer it takes to load the image (e.g., local web server versus remote), the more likely the problem. This is with Flex 1.5. This affects all versions of flash on all platforms we have tested. ___ 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] Converting stage elements into code
I remember one of the Development kits released by macromedia contained an action which would take a stage drawn object and convert that to actionscript. Not exactly what you need, but might be a good place to start. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: dinsdag 25 juli 2006 14:39 To: Flashcoders mailing list Subject: Re: [Flashcoders] Converting stage elements into code Hi Danny, I don't, but it sounds like something that wouldn't be *insanely* hard to do with JSFL. Hmm, JSFL time to read more about that. I suppose their will be a PDF about it. I can't see how the above would help with this, though. Well, this would save myself time, because I won't be needed to dig up all the magic settings for anti aliasing :) Yours, Weyert de Boer ___ 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] ActionScript Application Framework
Looking at the amount of reactions and my own personal questions, I think this is a very wanted subject by developers. The funny thing is, that I think there are already lots of different os frameworks which are useable in projects and a developers life easier. It seems they are just not well known enough or lack in documentation on how it can help people. I also think that there are lot's of projects that help in separate subjects. E.g. ARP/ASWING/ACTIONSTEP etc. It might help if people can see how these frameworks can work together. My 2 cents. Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ujjwal Kabra Sent: donderdag 20 juli 2006 22:02 To: Flashcoders mailing list Subject: Re: [Flashcoders] ActionScript Application Framework After nearly two years of working in ActionScript, my company decided that Flash development was too painful and just not worth the effort. This happened just about the time that I was actually getting the hang of things. In any case, I was the last Flash(AS2) Developer left here... I'm in full support for building an app-development framework around Flash/AS2 and/or AS3, which would make life easier for AS2 devs like me, and make the decision to chose Flash as a development platform easier for a mid-sized team than it currently is. While I have little(none actually) idea about Ruby and Rails, I'll read up soon... I would love to get started before my Flash skills actually get rusted away. - Ujjwal PS: Is there a troll feature on mailing lists? On 7/21/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: James, Rails and Flex work very well together. Maybe you should consider following that career path - a Flex/Rails developer. Jesse Warden has gone that way and loves it. http://www.recentrambles.com/pragmatic/view/31 BLITZ | Steven Sacks - 310-551-0200 x209 ___ 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] Back from html to specific point in flash
Try the way http://incomplet.gskinner.com/ does it. They use js for it so people can send normal links to each other for a specific point in the site. The SharedObject way is possible, but I think it's better to find a solution where you can get more out of. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Sánchez Sent: vrijdag 21 juli 2006 9:56 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Back from html to specific point in flash Hi, I need to know if this is possible and if it is some guidelines on how to accomplish it. I have a flash application running in a full browser window. At a certain moment the user may click in some link to a html page. We were thinking in open it in a new window but there's the problem of the pop-up blocker if the link comes from flash (any work around that?) So our second option is open the link in the same window but giving the user the chance to hit the back button of the browser (once in the html) and go back to the specific situation where he was on the flash. Is this possible? Does my english make sense? 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@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] ActionScript Application Framework
Correct me if I'm not getting this correctly. But for the sake of argument; I do not believe ARP and or Cairngorm are the same as Ruby in regards to PHP. ARP + Cairngorm give you some handles on how to architect your application, but nothing more than that. Ruby on rails gives the developer (I think) the tools to build a complete webapp in a fast and simple manner. That's why I think the simmilarities between Flex and Ruby on rails are much bigger then let's say Ruby and ARP. Correct me if I'm wrong plz :) Grt, Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Weekes Sent: woensdag 19 juli 2006 10:21 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] ActionScript Application Framework no problemo. In case nobody has posted the links: http://www.osflash.org/arp And http://labs.adobe.com/wiki/index.php/Cairngorm Cheers, Nick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Deakin Sent: 19 July 2006 09:13 To: Flashcoders mailing list Subject: Re: [Flashcoders] ActionScript Application Framework Sorry Nick I was simply unaware of them. Now that I am I will be trying them out. On 7/19/06, Nick Weekes [EMAIL PROTECTED] wrote: There still hasn't been a decent reason in this thread why the existing frameworks (such as arp + cairngorm) are not suitable? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Smeets Sent: 19 July 2006 08:43 To: Flashcoders mailing list Subject: RE: [Flashcoders] ActionScript Application Framework I like the idea, and think a lot of people are trying it with you. But wouldn't this result in something like...Flex? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Deakin Sent: dinsdag 18 juli 2006 18:49 To: Flashcoders@chattyfig.figleaf.com; flexcoders@yahoogroups.com Subject: [Flashcoders] ActionScript Application Framework Dear List (I should say lists this going to Flash and Flex coders), I am a very and I mean very experienced ActionScript coder. I have been writng code and storing it for re-use for 7 years. I have just installed Rails an application frame work for a language named Ruby which enabled me to create a whole aplication in the space of a few hours. Cant we follow the example and create a framework to make our lives easier as these guys have for Ruby programmers. I would be willing to contribute. What do you reckon would it work. Could we as a comunity of developers do this? James Deakin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] ActionScript Application Framework
Ok I c, but does the Rails framework on one hand and e.g. ARP framework on the other hand handle both the same parts of an application? I thought Rails also makes it easy to implement UI elements or am I wrong? That's why I was thinking about Flex sooner then something like ARP. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keith Salisbury Sent: woensdag 19 juli 2006 13:41 To: Flashcoders mailing list Subject: Re: [Flashcoders] ActionScript Application Framework Ruby, is a (slick) programming language Rails is an application framework... Cake is the same framework for PHP ARP and Cairngorn are also frameworks Ruby on Rails has a number of scripts which will construct the empty application shell for you some similar work has been done in ARP using C#, i dont know about Cairngorm. hope that clears it up for you. On 7/19/06, Ben Smeets [EMAIL PROTECTED] wrote: Correct me if I'm not getting this correctly. But for the sake of argument; I do not believe ARP and or Cairngorm are the same as Ruby in regards to PHP. ARP + Cairngorm give you some handles on how to architect your application, but nothing more than that. Ruby on rails gives the developer (I think) the tools to build a complete webapp in a fast and simple manner. That's why I think the simmilarities between Flex and Ruby on rails are much bigger then let's say Ruby and ARP. Correct me if I'm wrong plz :) Grt, Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Weekes Sent: woensdag 19 juli 2006 10:21 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] ActionScript Application Framework no problemo. In case nobody has posted the links: http://www.osflash.org/arp And http://labs.adobe.com/wiki/index.php/Cairngorm Cheers, Nick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Deakin Sent: 19 July 2006 09:13 To: Flashcoders mailing list Subject: Re: [Flashcoders] ActionScript Application Framework Sorry Nick I was simply unaware of them. Now that I am I will be trying them out. On 7/19/06, Nick Weekes [EMAIL PROTECTED] wrote: There still hasn't been a decent reason in this thread why the existing frameworks (such as arp + cairngorm) are not suitable? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Smeets Sent: 19 July 2006 08:43 To: Flashcoders mailing list Subject: RE: [Flashcoders] ActionScript Application Framework I like the idea, and think a lot of people are trying it with you. But wouldn't this result in something like...Flex? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Deakin Sent: dinsdag 18 juli 2006 18:49 To: Flashcoders@chattyfig.figleaf.com; flexcoders@yahoogroups.com Subject: [Flashcoders] ActionScript Application Framework Dear List (I should say lists this going to Flash and Flex coders), I am a very and I mean very experienced ActionScript coder. I have been writng code and storing it for re-use for 7 years. I have just installed Rails an application frame work for a language named Ruby which enabled me to create a whole aplication in the space of a few hours. Cant we follow the example and create a framework to make our lives easier as these guys have for Ruby programmers. I would be willing to contribute. What do you reckon would it work. Could we as a comunity of developers do this? James Deakin ___ 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
RE: [Flashcoders] FileReference.upload - onHTTPError: 302 on Mac OS X
Might be totally off topic, but we never know. I remember having problems with Uploads in firefox e.g. What it did was (per upload) send 2 requests to the server instead of 1. The first one is an empty one and all it does is try to predict weither the upload will fail or succeed. Maybe the script is trying to act on this first (empty) request and therefore trying to move an non-existing file? (thus, the 302?). Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Buchanan Sent: woensdag 19 juli 2006 16:07 To: Flashcoders mailing list Subject: [Flashcoders] FileReference.upload - onHTTPError: 302 on Mac OS X Hey all, Does any know know why this might be happening? The 302 error seems to trigger when I move the uploaded file, so is it happening too soon? Thx! Aaron RE:http://chattyfig.figleaf.com/pipermail/flashcoders/2006-March/162075. html Hello everybody, How is it going??? Don t want to take too much of your time. I have a backend in Flash 8 which uploads a file using the FileReference class and a PHP serverscript. Everything is fine with a windows client. Strangely with a Mac OS X client (Firefox, safari, IE) the file is well uploaded but I get an onHTTPError event with an error of 302 (URI problem). I found a workaround: knowing that the file is well uploaded my onHTTPError event executes the same code than the onComplete one but I would like to understand why I get this problem. Thanks Take care. Nicolas ___ 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] AMF .net
Tx, good to hear it. I tried Fluorine also today and although it is a bit more work to set it up at first, it does indeed seem to have more functionality (custom classes) and a larger user base. Tnx for the info, Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lee McColl-Sylvester Sent: maandag 19 juni 2006 10:45 To: Flashcoders mailing list Subject: RE: [Flashcoders] AMF .net AMF.NET seems quite young atm when compared to Fluorine. Personally, I've had nothing but great results from Fluorine and would recommend it to anyone. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Sent: 18 June 2006 14:23 To: 'Flashcoders mailing list' Subject: [Flashcoders] AMF .net Hi All, Is anybody using the ( http://amfnet.openmymind.net/ http://amfnet.openmymind.net/) amf solution in .net? I was wondering how well it is working in the field and how it compares to fluorine ( http://fluorine.thesilentgroup.com/fluorine/ http://fluorine.thesilentgroup.com/fluorine/). Anyone any recommendations in this field? Cheers, Ben ___ 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] Security popup
Hi all, I'm having some problem finding the right info for tweaking the security settings of my swf. Hope anybody can give me some pointers. The situation will be: - intranet - 1 SmartFox xml socket server, avaliable through http://192bla - 5 clients - The clients are being run locally on each client - The clients will never be connected to the internet (ever :) ) When I run now, I get the security popup on each client, telling me it is trying to communicate with the xml server. Is there a way to prevent this from happening? Or if not, how to manually adjust some sort of settings to allow it. The swf's are all player 8 exported. Tx in advance. Ben ___ 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] FDT weirdness
Yeah I like FlashDevelop too. If it would have a VSS plugin (like Eclipse has) I would drop all other tools asap :D -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tyler Wright Sent: vrijdag 5 mei 2006 15:39 To: Flashcoders mailing list Subject: Re: [Flashcoders] FDT weirdness FlashDevelop won't give you any trouble. ;) I have tried most of the major editors and FDT and FlashDevelop are my favorite. FlashDevelop just happens to be free, though I haven't yet seen it do real-time error checking yet. Tyler On 5/5/06, Seb L [EMAIL PROTECTED] wrote: Ah that'll be the one! doh! Thanks Michael. On 05/05/06, Michael Klishin [EMAIL PROTECTED] wrote: Seb L wrote: FDT has suddenly stopped doing its code parsing for new classes... anyone else had this? It's still parsing and checking on the pre-existing classes. Weird! Check if your classes name starts with uppercase letter. FDT parser ignores it otherwise. -- Michael Antares Klishin, Blog: http://www.novemberain.com/blog/ Email: [EMAIL PROTECTED] Non progredi est regredi ___ 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] SourceSafe??? Recommendations needed.
Hi Loren I Use sourcesafe for (amongst others) Flash files (.bmp/.jpg/.as/.fla/.swf/.etc) and experience not problems at all. I use eclipse with the sourcesafe plugin when developing flash. Although it is not free and the free alternatives are at least just as good as sourcesafe, if you *have* to use sourcesafe because it is the only version controller in your environment, you shouldn't expect any problems. Grt, Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Loren R. Elks Sent: vrijdag 21 april 2006 16:18 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] SourceSafe??? Recommendations needed. Hi: We are slowing building our eLearning group in our company. We are finding that we really need a system like SourceSafe. The question is, does anyone know if SourceSafe (or some other system handles): FLA, SWF files BMP, GIF, PNG, JPG files WAV files DOC files PDF files FM files (Framemaker) files PSD files Corel files We are looking for one system running on a server that would be able to house all of these file types (maybe more) and provide versioning, check in / check out, etc. Also, it would be nice if the system could do comparisons. (Although this may be asking for too much). For example, it could compare 2 docs and tell what the differences are. However, this is a nicety, NOT a requirement. I appreciate any advice. Sincerely, Loren Elks ___ 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] External swf / attachMovie
Hi all, I know this question is coming along every now and then, but the solution still couldn't be found by myself. Quick introduction: I want to be able to have A.swf, with a lot of simple mc's to be loaded into B.swf. In A.swf I would set all kinds of linkageIDs to my shapes, which I would like to use in B.swf with attachMovie. This simple task seems to be a major issue :) Only thing I could find about it was a bunch of can't be done google hits and a might-be workaround in the archives at http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2003-December/098 173.html. I was wondering if someobody in the meantime has found a better solution for this problem? Like just being able to load an external swf, and call attachMovie in your main swf to linked library items in that loaded swf. Without restrictions... Anybody? :) Cheers, Ben ___ 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] External swf / attachMovie
To add more to the confusion, these kind of 'hacks' still seem to work, but all require some sort of compile time tricks to make it work. I'm looking for genuine loadClip() goodies. http://www.flashkit.com/tutorials/Tips_And_Techniques/How_to_u-FreshLau- 1000/more2.php -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Smeets Sent: maandag 10 april 2006 22:08 To: Flashcoders mailing list Subject: [Flashcoders] External swf / attachMovie Hi all, I know this question is coming along every now and then, but the solution still couldn't be found by myself. Quick introduction: I want to be able to have A.swf, with a lot of simple mc's to be loaded into B.swf. In A.swf I would set all kinds of linkageIDs to my shapes, which I would like to use in B.swf with attachMovie. This simple task seems to be a major issue :) Only thing I could find about it was a bunch of can't be done google hits and a might-be workaround in the archives at http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2003-December/098 173.html. I was wondering if someobody in the meantime has found a better solution for this problem? Like just being able to load an external swf, and call attachMovie in your main swf to linked library items in that loaded swf. Without restrictions... Anybody? :) Cheers, Ben ___ 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 updated XML
Lot's of issues possible here, I believe some code might be needed to pinpoint the exact problem? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sibrand Hoekstra Sent: woensdag 5 april 2006 9:38 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] loading updated XML Hello list, First off, hi all. I subscribed to this list yesterday and ive seen alot of good posts already, so there's little doubt that anyone can help me out ;) A little introduction: Since a few weeks i'm hired at an Internet Development company in town, and my job is primarily xhtml/css development. Yet, the very first project I am doing requires a jpg-viewer flash app. Last week ive been studying books, and code of friends to build what i am building right now, and one of the final steps has got me stuck. so, here we are: [actionscript is in the bottom of this email] I am making a flash movie that loads 10 jpeg files from a xml feed, generated by a phpfile. Its purpose is to act as a carrousel that loops the jpegs over the screen. The feed shows the last 10 uploaded jpegs if no parameters are set. If you pass it a parameter called PictureID, it'll give you the jpeg with the given ID plus the 9 jpegs uploaded prior to that. (ie. feed.php?PictureID=20) i am having php echo the given PictureID to html as in this: params name=flashvars value=PictureID=20 in the actionscript i am retrieving that with _root.PictureID. Next step is to load the 10 jpegs that come before(10-1) the curently(20-11) loaded jpegs. And here i am having trouble, please checkout the function attached to the button, in the bottom of the script. First i'm emptying the arrays and unloading currently loaded jpegs. I then want to reset the PictureID to 10 lower than the current value and 'start all over again' with the new range of jpegs. Except, at 'loadXML' nothing happens. So can anyone please help me, or give any insights on how this should be solved? [p.s. i could also do a getURL() to the page itself and pass the feed.php a new parameter, but we dont want to make it look smooth.. ] Many thanks in advance, Sibrand Hoekstra var speed:Number = 1.5; var picSpace:Number = 120; var xmlfeed:String = 'feed.php'; var picturePath:String = 'path/to/picturefolders/; var picHeight = 90; var picWidth = 108; if(_root.PictureID){ xmlfeed = xmlfeed + '?PictureID=' + _root.PictureID; } var currentPic = -1; var xml:XML = new XML(); var pictures:Array = new Array(); var picFileNames:Array = new Array(); var picIds:Array = new Array(); function pictureScroll() { for (i in pictures) { pictures[i]._x += speed; if (pictures[i]._x-1((pictures.length-1)*picSpace)) { pictures[i]._x -= ((pictures.length)*picSpace); } if (pictures[i]._x 260 and pictures[i]._x 360 and currentPic!=i) { currentPic = i; var listener:Object = new Object(); var mcLoader = new MovieClipLoader(); listener.onLoadInit = middlePicLoaded; mcLoader.addListener(listener); mcLoader.loadClip(picFileNames[i], _root.middlePicture_mc.middlePic_mc); } } } function loadXML() { xml.load(xmlfeed); xmlObj.ignoreWhite = true; xml.onLoad = xmlLoaded; } function picLoaded(mc) { mc._width = picWidth; mc._height = picHeight; } function middlePicLoaded(mc) { mc._width = 196; mc._height = 153; } function xmlLoaded(success:Boolean) { import mx.xpath.XPathAPI; if (success) { nodes = XPathAPI.selectNodeList(xml.lastChild, 'feed/picture/file/*'); ids = XPathAPI.selectNodeList(xml.lastChild, 'feed/picture/id/*'); for (i in nodes) { var listener:Object = new Object(); listener.onLoadInit = picLoaded; var mcLoader = new MovieClipLoader(); mcLoader.addListener(listener); newPic = pictureScrollContainer.picture_mc.duplicateMovieClip('node'+i, pictureScrollContainer.getNextHighestDepth()); mcLoader.loadClip(picturePath + nodes[i].toString(), newPic); newPic._alpha = 100; id = pictures.push(newPic); picFileNames.push(picturePath + nodes[i].toString()); newPic._x = id * picSpace; } _root.onEnterFrame = pictureScroll; } } pictureScrollContainer.picture_mc._alpha = 0; loadXML(); _root.prev_btn.onRelease = function(){ _level0.pictureScrollContainer.unloadMovie(); _level0.middlePicture_mc.unloadMovie(); for(i in pictures){ pictures.shift(); picFileNames.shift(); } trace(_root.PictureID); set(_root.PictureID, (_root.PictureID - 10)); trace(_root.PictureID); loadXML();
RE: [Flashcoders] loading updated XML
It's probably the onLoad handler that is missing some sort of context. Make sure everything you reference in the onLoad handler isn't undefined (check by tracing). Without seeing code, this is all I can think of. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sibrand Hoekstra | Buyways B.V. Sent: woensdag 5 april 2006 11:29 To: Flashcoders mailing list Subject: Re: [Flashcoders] loading updated XML no, its not about the cache.. the point is that i want the movie to load the feed again, except this time with the parameter ?PictureID=XX [where XX is a number] so the feed will provide a list of 10 older jpegs, so eventually I can scroll trough the whole set of jpgs uploaded by users. Just like it does initially with loading the feed... However, when i invoke loadXML when hitting the button, nothing happens, not even loading the 'existing' xml. the movie does trace the message that is after the loadXML() statement. i had thought it would work this way, as the movie first consults the php file for the list of 10 latest jpegs. var xmlfeed:String = 'feed.php'; then, when the button is pressed, i want to alter the variable xmlfeed, so the movie would have to look for something like var xmlfeed:String = 'feed.php' + '?PictureID=' + PictureID; I hope i am making this clear ;) Siep Ben Smeets schreef: Lot's of issues possible here, I believe some code might be needed to pinpoint the exact problem? ___ 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] Game Develop in Flash 8
Hi Samuel, Try www.gotoandplay.it . It's a site dedicated to game dev in flash. G'luck, Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Samuel Santos Sent: donderdag 2 maart 2006 14:22 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Game Develop in Flash 8 Hi guys! I have a certain knowledge in 3D Game Development using C++ and OpenGL. But I like Flash to much and I think it's less complicated to do game in it (please, confirm that?) I would like tips for where I should begin to study to using flash to develop games and if it possible to do 3D with it. I would like to build games in Third Person Adventures Games. Thanks for all and sorry for my poor english. See ya Samuel ___ 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] FlashDevelop and scope
Just a quicky, I believe this is the way it should do completion. this is always the class, not the flash quirks. Might be different though :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning Sent: woensdag 1 maart 2006 13:20 To: Flashcoders mailing list Subject: [Flashcoders] FlashDevelop and scope A quick example class class MyClass{ var socket:XMLSocket; function parse(data:String):Void{ } function MyClass(){ socket = new XMLSocket(); //interesting bit socket[creator]=this; socket.onData = function(data){ this.creator.parse(data); } } } I know this isn't the best way to do it (hello delegate), but still. One of the big things in FlashDevelop for me is the dynamic code completion, and when i type this. in the onData handler, it gives me a list of methods for MyClass, when it should give me methods for socket. Or am i wrong? The scope of handlers confuses me. - Andreas ___ 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] textfiled + inline image
http://www.osflash.org/fosforo ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tarjinder Kumar Sent: woensdag 22 februari 2006 11:41 To: Flashcoders mailing list Subject: [Flashcoders] textfiled + inline image Hi, I want to enter an image in line with other text. How can i achieve this. I am using textfiled.htmlText = cxcxcxc img src='image.jpg'/imgfdfdfdfdfdfdfdsfsdfsdmf dfsdfdsfds fsdfdsfsdf The image appears but not in line of textfield. I want the same effect as we insert smily in the text. Thanks Tarjinder Kumar ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] dispatching events at creation time?
Just a quicky, but why would you want to know when an object is created? If you don't give anything back (like throwing an exception) you van assume the contructing worked can't you? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luca Candela Sent: donderdag 16 februari 2006 16:01 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] dispatching events at creation time? -- class tryOut { public var addEventListener:Function; public var removeEventListener:Function; private var dispatchEvent:Function; function tryOut() { mx.events.EventDispatcher.initialize(this); trace(I am Here 1); dispatchEvent({type:created, target:this}); } public function callMe():Void { dispatchEvent({type:created, target:this}); } } -- when I instantiate this class everything works except the dispatchEvent in the constructor of the class. Why and how can I do to force an object to call me back when he is created? ___ 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] need : multiple sine waves animating - via drawing api
http://www.gotoandplay.it/_articles/2005/06/pathClass.php Something like that? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of artur Sent: donderdag 16 februari 2006 17:47 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] need : multiple sine waves animating - via drawing api does some have code for this? i looked everywhere.. no luck. just want 3 waves ( lines ) to ebb and flow organically. thanks in advance -artur ___ 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] asp + flash
This might be a sandbox / security issue. Try to check (by logging something or sending a mail to yourself if logging is not an option) to see if your asp actually gets called by the swf in the browser (my guess is not). Adding a crossdomain.xml might work? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mayur Bais Sent: woensdag 15 februari 2006 9:00 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] asp + flash I having the following Problem ..i would be really thankful if some one here can help me with this. the asp for me is just not working... i have this code in my flash file var result_lv:LoadVars = new LoadVars(); var send_lv:LoadVars = new LoadVars(); login.clickHandler = function(evt:Object) { result_lv.onLoad = function(success:Boolean) { if (success) { result_ta.text = success } else { result_ta.text = Error connecting to server.; } }; send_lv.sendAndLoad(http://localhost/timeSheet/mayur.asp;, result_lv, POST); }; and just a reponse.write(dONE ) in asp .. when i run asp alone in browser it works.. when i publish the flash file in the flash IDE just by ctrl+enter I can suceess in the text box..its just not owrking when i open the swf in browser . Please help .. ___ 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] switch - case
This might be totally wrong what I am saying, so bare with me... :) Isn't this sufficient? Switch(instanceOf(bla)) { case DivideSentenceStep2: Log(true); } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: woensdag 15 februari 2006 12:09 To: flashcoders@chattyfig.figleaf.com; osflash@osflash.org; [EMAIL PROTECTED] Subject: [Flashcoders] switch - case Hey to ya all, I'm trying to do following, which obviously won't work, but is there another way without having to use if else if else if else... var model:Observable = Observable(this._content.divideSentenceSteps.getById(indexCurrentAttempt +2)); switch(model){ case (instanceof DivideSentenceStep2) : logger.debug(DivideSenteceStep2); break; default : logger.debug(Not Known); break; } } thx Met vriendelijke groeten, Lieven Cardoen MULTIMEDIALOFT | POINT X Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97 // communicatie bij voorkeur op [EMAIL PROTECTED] mailto:[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] Background transparent ? is it possible
For Firefox browsers too?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: vrijdag 10 februari 2006 19:01 To: Flashcoders mailing list Subject: Re: [Flashcoders] Background transparent ? is it possible it is, just set wnmode to transparent. I use http://blog.deconcept.com/flashobject/ or am i missing something? it's incredibly easy... Hey all, Just wondering if it is possible to make your background transparent. Or do have you have to do an elaborate fake out, ninja style? thanks in advance ___ 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] How are these ads done?
As far as I know, they are just transparent flash movies over the html. They only work in IE though, since firefox does not support the transparent background for flash movies. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: vrijdag 10 februari 2006 16:12 To: Flashcoders mailing list Subject: [Flashcoders] How are these ads done? I am curious as to how these sorts of ads are done http://demo.eyeblaster.com/Demos/alien_planet/launch.htm (wait a few seconds to see the effect) http://demo.eyeblaster.com/Europe/OfflineDemo/showcase405/UIP_La-Interpr ete_ videoStrip/la_interprete-VideoStrip.htm (rollover video clip) I would appreciate any insight Thanks Paul ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] image manipulation
Theoretically I guess this should be possible. You would lose the jpg format though, so the server should have something there to re-create the image for the pixel data and accept the performance loss when recompressing to jpg. Performance would probably suck too :) But doable I think. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kamyar Nazeri Sent: vrijdag 10 februari 2006 16:55 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] image manipulation Ok, it is possible to manipulate an image using new BitmapData class in the client-side, but I wonder how it is possible to send the manipulated image back to the server? Do I need to browse the whole image pixels and send a complete Array of ARGB pixel values to a web-service to create an image again? Any ideas? - Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail. ___ 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] 32bit gradient mask performances
Just a small hand here, the performance actually is quite ok on my pc? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Giordano Sent: donderdag 9 februari 2006 10:23 To: flashcoders Subject: [Flashcoders] 32bit gradient mask performances Hi guys, I recently wrote a class to handle this kind of effects in animation context, so applied to movieclips NOT bitmaps, but when the masks I handle start to be bigger the performance sucks. It's obvious but I'm just wondering if there is a better way that the one I'm using. Here my procedure: - draw with draw api a gradient fill in a movieclip (mask_mc), 0x00ff to 0x - create a new BitmapData (mask_bd) to copy the content of the gradient mask - draw mask_mc in mask_bd - create a new BitmapData (image_bd) to contain the movieclip to be masked - draw the movieclip in image_bd - create a new BitmapData (picture_bd) to contain the final result - copy image_bd to picture_bd using mask_bd as mask Of course doing this operation every frame with large images sucks, is there a way to skip some steps? Here the actual result: http://nuthinking.com/f8/gradient_mask.html thanks a lot, chr -- ___ { Christian Giordano's site and blog @ http://cgws.nuthinking.com } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] 32bit gradient mask performances
Yeah but more in the sense of The performance is fine here, so are you sure you are having a problem? :D But get your point though. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Giordano Sent: donderdag 9 februari 2006 11:45 To: Flashcoders mailing list Subject: Re: [Flashcoders] 32bit gradient mask performances Just a small hand here, the performance actually is quite ok on my pc? it's a question? :) btw, since I'd like to make a more scalable as possible method, it would be nice having better performances. best, chr -- ___ { Christian Giordano's site and blog @ http://cgws.nuthinking.com } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] suddenly v2 Button not drawing any border or bg
Did you compile it on exactly the same pc/environment? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Stuhr Sent: dinsdag 7 februari 2006 11:05 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] suddenly v2 Button not drawing any border or bg i just tested a fairly large project which i compiled nice yesterday, but today, all v2 Buttons lost their complete background and border. only the label and the icon are still visible. has anybody seen such a strange behaviour before ? micha ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] suddenly v2 Button not drawing any border or bg
Another one of those v2 headaches :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Stuhr Sent: dinsdag 7 februari 2006 16:11 To: Flashcoders mailing list Subject: Re: [Flashcoders] suddenly v2 Button not drawing any border or bg Ben Smeets schrieb: Did you compile it on exactly the same pc/environment? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Stuhr Sent: dinsdag 7 februari 2006 11:05 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] suddenly v2 Button not drawing any border or bg i just tested a fairly large project which i compiled nice yesterday, but today, all v2 Buttons lost their complete background and border. only the label and the icon are still visible. has anybody seen such a strange behaviour before ? micha ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders yupp ... seems like the styles are gone, since its only the button-component. but i got a simple solution: copy all the frames needed into a new Fla. put a brand new Button-component in there. then copy your library - leaving out the Button-component of course - to the new Fla. bingo. took some time for me :) btw: simple overwriting of the Button-component in the original fla didn#t work. seems like the fla's corrupted! micha ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] checking combinations
What he said :) Without kidding, using the binary type of variable values and checking what the resulting value is, is the way we do it. Don't ask me how it works, but it does :) (just to help pointing in the right direction) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Wood Sent: woensdag 25 januari 2006 20:05 To: Flashcoders mailing list Subject: Re: [Flashcoders] checking combinations i've got to go out now so cant give the full answer i have in my head, but one way of tackling it is to make each state variable's value a power of 2 a = 1 b = 2 c = 4 d = 8 then you know that any combination of them has a unique value. (its basically a 4 bit number) then to handle the dispatch depending on the state combination you can build a function table. functionTable = new Array(); // create a handler for the combination a + b functionTable[a + b] = Delegate.create(this,combinationAB); and when you check the variables just call the function directly from the table : // a,b,c,d are just passed as boolean flags here function handleUpdate(a:boolean,b:boolean,c:boolean,d:boolean) { // taking advantage of a true being 1 in flash // and ideally you would setup these numbers // as static class variables var state = a + (b * 2) + (c * 4) + (d * 8); // call the defined function functionTable[state](); } of course you could do a check first to see if the function is defined and do something like log a warning or whatever is appropriate for your situation. hope that makes sense. martin eric dolecki wrote: I have 4 variables I need to check the states of routinely... and combinations thereof. I am assuming that if I have a counter, and interogate and += them values, I can then check the value of the counter to determine the combinations. psudeo-code: var counter:Number = 0; if ( a ){ counter += 2; } if ( b ){ counter += 3; } if ( c ){ counter += 6; } if ( d ){ counter += 12;} if ( counter == 2 ){ // only a was true } else if ( counter == 3 ){ // only b was true } ... Which is fine, but thats gonna be one honkin' if else statement to catch all the combinations. Is there a better way of doing this that will catch all the possible combinations in an elegant way? - edolecki ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Martin Wood http://relivethefuture.com/choronzon ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Flash Ant build for Flash IDE?
Eh, cool. If it is this simple I will go and sit ashamed in the corner :D Any way to get a jsfl file to accept parameters? For which file to publish e.g. (jsfl noob). Tx. Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: donderdag 5 januari 2006 21:32 To: Flashcoders mailing list Subject: Re: [Flashcoders] Flash Ant build for Flash IDE? just execute a jsfl file from the ant script and in the jsfl file publish the movie On 1/5/06, Ben Smeets [EMAIL PROTECTED] wrote: Hi all, Been trying to get a build.xml rolling with the flash 8 IDE in combination with coding in eclipse. Did anybody have succes with the setup coding in eclipse and using a build.xml that calls the flash 8 IDE to publish? I only get examples for mtasc, but I don't (can't) want to use that for the time being. The few build examples that do seem to be written for the flash IDE, only work in flash MX 2004 :( Any help is appreciated. Cheers, Ben ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- j:pn ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash Ant build for Flash IDE?
Hi all, Been trying to get a build.xml rolling with the flash 8 IDE in combination with coding in eclipse. Did anybody have succes with the setup coding in eclipse and using a build.xml that calls the flash 8 IDE to publish? I only get examples for mtasc, but I don't (can't) want to use that for the time being. The few build examples that do seem to be written for the flash IDE, only work in flash MX 2004 :( Any help is appreciated. Cheers, Ben ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] jumpy horizontal motion
updateAfterEvent might help. Also keep in mind that moving of large items on screen (be it graphic or not), costs a lot of redraw power of the playing pc. So sometimes there is nothing you can do about it. Using the FP8 features (and therefore play in FP8) helps very much. So try if that makes a difference too. In my experience, the things which always make your processor usage go through the roof, is the actual animation redrawing. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: woensdag 21 december 2005 23:27 To: Flashcoders mailing list Subject: Re: [Flashcoders] jumpy horizontal motion Remove the anti-aliased text, and then re-publish; how does she work then? - Original Message - From: dontsave [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, December 21, 2005 5:18 PM Subject: [Flashcoders] jumpy horizontal motion check out http://www.chowderinc.com/new_site/ i have some clips set up moving horizontally. my framerate is 60fps.. and it seems to be running fine.. but notice that all of the graphics and even the text appears jumpy or choppy or jittery.. difficult to read when the camera is moving quickly to the left or right.. why is this? has anyone else encountered this? is it a refresh issue? should i be using updateAfterEvent? the motion is called from onEnterFrame().. should i try setInterval? DK ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Adjusting standard v2 components
Sorry if this has been handled before. But I was wondering how to adjust (not 'create own') the v2 components CODE wise? I figured out how to adjust the looks etc. But what if I wanted to tweak some code inside e.g. Button Class? I lokked around and found like 4 places where the component classes are stored on my machine. None of them seem to have any effect on my used components :) Is it possible to adjust the base component class? If so, any pointers where to do it :) Tx in advance, Ben ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Adjusting standard v2 components
Great tx, i will check out how far i can go with the cellrenderer. Cheers, Ben From: [EMAIL PROTECTED] on behalf of Devendran I Sent: Thu 12/15/2005 5:04 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Adjusting standard v2 components HI you can acheive this through component.setStyle() and Component.cellRenderer(). U can do anything with these Two combination. For more help refer Macromedia Help. Regards Devendran.I Ben Smeets [EMAIL PROTECTED] wrote: Sorry if this has been handled before. But I was wondering how to adjust (not 'create own') the v2 components CODE wise? I figured out how to adjust the looks etc. But what if I wanted to tweak some code inside e.g. Button Class? I lokked around and found like 4 places where the component classes are stored on my machine. None of them seem to have any effect on my used components :) Is it possible to adjust the base component class? If so, any pointers where to do it :) Tx in advance, Ben ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders - Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Firefox bug?
The FireFox browser does not default see the body of an html page at 100% height of the browser window in later html standards. Getting rid of the doctype helps, because you force the browser into quirks mode where the body IS 100% height. Another solution is also to set the height of the body to 100% in css. Body { height:100%; } In ie it will be higher then 100% though when this is turned on though :) Good luck. Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: woensdag 14 december 2005 15:51 To: Flashcoders mailing list Subject: Re: [Flashcoders] Firefox bug? Howdy... An easy fix would be getting rid of the DOCTYPE line from your HTML file... CyanBlue - Original Message - From: MetaArt [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, December 14, 2005 9:42 AM Subject: [Flashcoders] Firefox bug? I have dev a Flash movie, showed inside an Html page. The stage width of movie is 1000 px, the width of all on stage is 2048 px. If seen in IE, it works fine, if seen in FireFox, it is showed in a very strange way. If the publish settings is to showAll, in FireFox the movie appear very very little, about the half of the screen; if the publish settings is to noBorder, in FireFox the movie appear right in width, but... (very strange behavior!) just the top part of it is visible. The height of movie is 750 px, but if you try to right click just under visible Flash, you discover html context menu, not Flash menu, like if movie height is too less than 750!... You can see it at this URL: http://www.magmart.it/index2.htm. Try to open in IE and FF (now, is settings to showAll). Any idea about? Enrico Tomaselli + web designer + [EMAIL PROTECTED] http://www.metatad.it ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] can't remove a clip attached to root???
Hi Jason, The solution is like others already mentioned. The problem is the getNextHighestDepth and removeMovieclip unable to remove mc's in too high or too low levels. How i solve this is to first swapDepths and after that remove. 1. attach at getnexthighestdepth 2. mc.swapDepths(9); (i use this level always for only this purpose) 3. mc.removeMovieClip Shuold work like a charm. And no it's not you who iswrong, it's the code :) Greets, Ben From: [EMAIL PROTECTED] on behalf of Jason Rayles Sent: Wed 12/14/2005 10:27 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] can't remove a clip attached to root??? Is there a reason that a movie clip attached to _root cannot be removed using removeMovieClip? if I do _root.attachMovie(square, s, _root.getNextHighestDepth()); then _root.s.removeMovieClip(); does not remove the clip. However if I do mc.attachMovie(square, s, mc.getNextHighestDepth()); and mc.s.removeMovieClip(); works like a champ. Flash 8, as 2.0. I am thoroughly stumped. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Custom Comboboxes
Anybody know if the kind of comboboxes used in this productselector MM thingie: http://www.macromedia.com/cfusion/store/index.cfm?store=OLS-EUview=ols_ prodcategory=/Software/Server/StandAlones/FlashRemoting#loc=en_xeurang eUpper=6%2C0%2C65%2C0HTMLVerRedirect=truereturnURL=%2Fcfusion%2Fstore% 2Fhtml%2Findex%2Ecfm%3Fstore%3DOLS%2DEU%26event%3DdisplayProduct%26categ oryPath%3D%2FSoftware%2FServer%2FStandAlones%2FFlashRemotingstore=OLS-E Uview=ols_prodcategory=/Software/Server/StandAlones/FlashRemotingview Name=Macromedia%20Products%20Store%20%2D%20EuropepageNotFound=0 (wow what a url...) are creatable with v2 components in the flash 8 ide? Or are these kind of comboboxes only present with flex builds? Any examples to styled comboboxes would also be appreciated. Tx in advance :) Ben ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Custom Comboboxes
Wow, indeed a great idea :) Funny stuff :D -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Wood Sent: maandag 12 december 2005 16:27 To: Flashcoders mailing list Subject: Re: [Flashcoders] Custom Comboboxes oh, not quite, it didnt like the line breaks, anyway it ended up at the same page :) Martin Wood wrote: you might like tinyurl.com :) it turned that into this : http://tinyurl.com/athba Ben Smeets wrote: Anybody know if the kind of comboboxes used in this productselector MM thingie: http://www.macromedia.com/cfusion/store/index.cfm?store=OLS-EUview=o ls_ prodcategory=/Software/Server/StandAlones/FlashRemoting#loc=en_xeur ang eUpper=6%2C0%2C65%2C0HTMLVerRedirect=truereturnURL=%2Fcfusion%2Fsto re% 2Fhtml%2Findex%2Ecfm%3Fstore%3DOLS%2DEU%26event%3DdisplayProduct%26ca teg oryPath%3D%2FSoftware%2FServer%2FStandAlones%2FFlashRemotingstore=OL S-E Uview=ols_prodcategory=/Software/Server/StandAlones/FlashRemotingv iew Name=Macromedia%20Products%20Store%20%2D%20EuropepageNotFound=0 (wow what a url...) are creatable with v2 components in the flash 8 ide? Or are these kind of comboboxes only present with flex builds? Any examples to styled comboboxes would also be appreciated. Tx in advance :) Ben ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Martin Wood http://relivethefuture.com/choronzon ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] JERKY Animations
Hi, Without knowing if it could be the allready mentioned subpixel thingie, Did you try increasing the framerate to something like 100, just to see if that makes any difference? 25-30 isn't that high in my opinion. My 2 cents. Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of flo_web Sent: donderdag 1 december 2005 11:43 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] JERKY Animations Hi, we're trying to make smooth and slow animations on aircarft movment. But the result is JERKY and we couldn't reach a good result with smooth movment. All the tests was made in local so there is no bandwith and loading considerations. We tried lot of technics : - high frame rate (25-30) - guide - even an flv of the animation (aftereffect animation encoded in avi then in flv) is JERKY - translations in actionscript so PLEAAASE is there a good solution for that or can't we make a beautiful smooth slow animation ! Thanks. Florent. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders