Re: [Flashcoders] Rede social une usuários do m undo acadêmico
On 1 Jun 2010, at 13:42, Juan Pablo Califano wrote: > It's Alt + 0191 or a bit easier on a Mac: Option-? = ¿ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Detecting Stage width and height after refresh
On 22 Jul 2008, at 17:17, Helmut Granda wrote: FOr some odd reason when I refresh my movie the stage width and height render 0. Is there any specific reason why this usually happens? OSX FF I had similar problem a while back on a pure AS3 project, but it only manifested in IE 6 to my knowledge. Essentially you need to listen for and act upon resize events if the issue is the same as mine. I posted fix code to the comments... http://blog.creacog.co.uk/2007/12/02/strange-stage-size-problem-but-only-in-ie6/ -- Paul Evans http://www.creative-cognition.co.uk/ http://blog.creacog.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Performance on Data Passing
On 2 Jul 2008, at 19:03, Manuel Ponce de Leon wrote: Does anyone have any hints on how to better testthe performance of an SWF movie rendering XML data versus some other dataset type (JSON, key-value pairs using flashvars, etc)? take a look at BlazeBench and James Ward's post... http://www.jamesward.com/wordpress/2007/12/12/blazebench-why-you-want-amf-and-blazeds/ -- Paul Evans http://www.creative-cognition.co.uk/ http://blog.creacog.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] as3 class libraries
On 14 Jul 2008, at 21:41, Corban Baxter wrote: I am trying to put together a list of some of the best AS3 and Flex Libraries, Classes and Frameworks we have available If you decide to publish your list somewhere, perhaps add a column to highlight the licence type of each item, which read in conjunction with Grant Skinners article could be a real time saver! http://www.gskinner.com/blog/archives/2008/07/source_code_lic_1.html -- Paul Evans http://www.creative-cognition.co.uk/ http://blog.creacog.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] hiring
On 16 Jul 2008, at 13:29, Romuald Quantin wrote: I'll have to hire a flash/flex developer in London UK for a permanent job. http://tech.groups.yahoo.com/group/flexjobs/ it mostly carries US based jobs, but I'm in the UK and still scan it you could also join Flex London User Group, and post a message the the forum - someone else has just today... http://ria.meetup.com/7/ You could also sign up and come along to the next London Flash Platform User Group meeting on the 31st... http://www.lfpug.com/ Personally I don't think there is a problem posting notice of a job/ contract to lists such as this as long as it is clear in the subject line and ideally that the message directs the reader to a webpage for a full description and instructions. -- Paul Evans http://www.creative-cognition.co.uk/ http://blog.creacog.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] as2 - method losing scope when called from timeline.
untested suggestion?!... On 23 Jun 2008, at 10:20, paul cunningham wrote: If I have this on the flash timeline, (CS3 or Flash 8) import test.Test; var test:Test = new Test(this); *test.init( );* is test (the variable) being confused with test (the package) ? my next step would be to try this again using a different variable name. -- Paul Evans http://www.creative-cognition.co.uk/ http://blog.creacog.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 writing ByteArray hexadecimal data to a file (using Zinc)
On 5 Jan 2007, at 03:32, Sascha wrote: Obviously something is wrong with the way how I convert to hex data Additionally, I suspect your code is returning values less than 16 as a single digit of hex, whereas a byte should be represented by two hex digits - i.e. prefix a zero! Paul -- [ http://www.creative-cognition.co.uk/ ] [ http://creacog.wordpress.com/ ] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 writing ByteArray hexadecimal data to a file (using Zinc)
On 5 Jan 2007, at 03:32, Sascha wrote: I'm trying to encode binary data to hexadecimal values and then writing them to a file using mdm.FileSystem.saveFileHEX(). I could also use the pipe delimiter method but while it works correctly, it is very slow on larger files. The best place to pose Zinc wrapper questions is in the Zinc Forum. There are already a number of threads in there on or around this subject, and MDM personnel and developers contribute there. I've had similar issues with the Mac version. http://www.mdmforum.com/ Regards Paul -- [ http://www.creative-cognition.co.uk/ ] [ http://creacog.wordpress.com/ ] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] XML load within an object
Correction!... On 18 Jun 2006, at 20:05, Paul Evans wrote: In short it is the same as calling 'myWidgetInstance.init'. In short it is *not* the same as calling 'myWidgetInstance.init'. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] XML load within an object
On 18 Jun 2006, at 18:22, D_C wrote: the delegate class seems to be a hack to get around this - like "call back (aka delegate) an instance of the class i am handing you" why not just pass the method itself? It is a standard way of solving scoping problems such as yours. If you just pass the init method, init will be a new function called within the scope of xmlData - It will have access to the loaded xml and the XML object methods, but none of the properties or methods of MyWidget. In short it is the same as calling 'myWidgetInstance.init'. And could be written... xmlData.onLoad = function( bSuccess:Boolean ):Void { // I want to do layout stuff here // BUT I only have access to XML methods and properties!!! // even if you could, sending me the xml as another parameter is no help, // I already have that info at my fingertips // I cannot call MyWidget methods or properties }; By using Delegate as in my earlier message, init will run within the scope of the MyWidget instance, where it has access to all the methods and properties of MyWidget which xmlData from which you can extract what you need (assuming the boolean was true). Search the Flashcoders archives for Delegate - there are plenty of threads offering alternative explanations and examples. Also check it out in the manual. And here... http://www.adobe.com/devnet/flash/ articles/eventproxy.html Paul -- [ http://www.creative-cognition.co.uk/ ] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] XML load within an object
class MyWidget { function myWidget(xmlFile) { // constructor case problem in your code - myWidget needs to be MyWidget to be the constructor. is there another pattern for doing this? I'd declare xmlData as a property of the MyWidget class, so it will have scope throughout the class and use 'Delegate' to run init within your class scope rather than in the xmlData object scope. Then you will have access to it in your init function without having to somehow pass it in, in the way you are attempting. So adjusting your code as per my advice (Not tested)... class MyWidget { private var xmlData:XML; function MyWidget( xmlFile ) // constructor { xmlData = new XML(); xmlData.load( xmlFile ); xmlData.onLoad = mx.utils.Delegate.create( this, init ); } function init( bSuccess ):Void { if( bSuccess ) { // do layout stuff here // you have scope access to the loaded xmlData object // and scope of the rest of MyWidget } } } hth Paul -- [ http://www.creative-cognition.co.uk/ ] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] xml question
On 16 Jun 2006, at 22:28, Flash guru wrote: I'm restricted to asp, but I'm a php native that is blind to the ways of asp I'm trying to leave the way of ASP behind - the following notes might be useful to you... A good quick ASP reference :- http://www.devguru.com/ In ActionScript, when you create/build the XML object, don't bother setting the XMLObject.contentType as you would for PHP. The (unusual) default was intended for communicating with ASP. On the server, asp VBScript code I have used previously to process XML sent from flash... <% dim xmlObj Set xmlObj = Server.CreateObject( "Microsoft.XMLDOM" ) xmlObj.async = false xmlObj.load( Request.BinaryRead( Request.TotalBytes ) ) if xmlObj.parseError.errorCode <> 0 then 'there-was-a-parse-error else 'do-something end if %> In your case the do-something is probably to just a call to the xmlObj save method? e.g. xmlObj.save( "C:\path-to-target-file" ) http://www.devguru.com/technologies/xml_dom/15813.asp You may also find reading up on the VBScript "File System Object" if you have other file type things to such as testing to see if the file already exists... http://www.devguru.com/technologies/vbscript/14048.asp And finally you may need to use Server.MapPath to find the path to your site-root folder... http://www.devguru.com/technologies/asp/9170.asp hth Paul -- [ http://www.creative-cognition.co.uk/ ] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] getting Google Video wmode=transparent to work
On 15 Jun 2006, at 02:19, Barrett wrote: Flash stays on top of everything in a site, DHTML, Javascript, z- index layer order, everything, unless you set wmode to transparent, Unless you have a *visual* reason for wmode=transparent, you might try wmode=opaque. You should get the same logical control - but with less cpu overhead (hence better performance). As to why it is not working for you - you might wish to post a link to the affected page so others can see your code rather than taking guesses at what's wrong. Or you could compare what you are doing with this... http://www.communitymx.com/content/source/E5141/wmodeopaque.htm Paul -- [ http://www.creative-cognition.co.uk/ ] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Keeping flvs out of the browser cache
On 3 Jun 2006, at 00:00, Spurgeon, Chris wrote: We have a flash app that displays .flvs via progressive download (we don't have a streaming solution in place yet). Higher ups are worried about the possibility of users going into their browser's cache and saving the downloaded flv files. Is there some way to tell the browser to destroy those flvs after use? have a read of this thread... http://chattyfig.figleaf.com/pipermail/flashcoders/2004-November/ 125788.html but... would deleting the cached-file actually be a solution? - It strikes me that a user motivated enough to copy an flv file out of the cache would also be more than capable of finding the url of the flv, to then simply download it directly to file. Paul -- [ http://www.creative-cognition.co.uk/ ] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Help with safari
On 24 Mar 2006, at 16:15, Marcelo Wolfgang wrote: I've uploaded the playerinstall.swf to the server, can you retest with that config again please ? Ok - now it displays the Macromedia Flash Player Update dialogue... "This content requires Macromedia Flash Player 8. Would you like to install it now?" + Yes/No buttons. In my case, not wishing to install it, I chose no. It then left me with the black rectangle. I think a better behaviour would be to catch the no install decision if possible and redirect to some suitable page? (I haven't used the detection kit so can't really advise). I assume if I had hit yes, FP8 would be installed and your normal swf would load and run ok. Regards Paul ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Help with safari
On 23 Mar 2006, at 22:37, Marcelo Wolfgang wrote: I've developed a site and I'm having trouble with Mac users, they say that they don't see the site. Can you all there with mac's test it out to me ? I think the problem is with older versions of the plugin ( the site are all exported for flash 7 but .. ) I don't have time to diagnose, but can confirm the following... On MacOS X 10.4.5 with Safari 2.0.3 and player 8.0.24.0 the site displays fine but... On MacOS X 10.3.9 with safari 1.3.2 and player 7.0.24.0 I just get a black rectangle in place of the SWF. Safari's activity viewer reports the following file as "not found"... http://www2.uol.com.br/camparirock/playerinstall.swf hth Paul -- [ http://www.creative-cognition.co.uk/ ] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash / Flex / ActionScript Podcasts?
On 10 Mar 2006, at 03:32, JesterXL wrote: Anyone doing any of these? Macromedia Developer Relations started doing them, but seem to have stopped after three... http://weblogs.macromedia.com/podcast/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Final Class Question
On 21 Jan 2006, at 21:19, Nathan Derksen wrote: The variables that you are passing through the constructor actually obscure those two properties because they share the same variable name; ... Third, it's good to name private properties using a naming convention that allows you to easily identify in your code the fact that it is a class property. I prepend a "p" to the variable name, others like prepending a "_" character. Do whatever you want, just use it consistently. Not wishing to diminish Nathen's advise, it may be useful to know how to distinguish between parameters and properties sharing the same name in a class... class Example { private var theNum : Number; // class property function Example() {} public function changeNum( theNum : Number ):Void { // to set class property theNum to the value of method parameter theNum this.theNum = theNum; } } Paul -- [ http://www.creative-cognition.co.uk/ ] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Phantoming in List Component
On 13 Dec 2005, at 18:22, John Giotta wrote: Basically, an image will appear at the bottom of the List that I didn't add from the dataprovider. it this image one of your icons or something totally unrelated? if an icon, without having traced your code... You need to deal with setValue being given value in the case where there is no detail to be displayed in the cell, and set the renderer's child objects to whatever you want their empty state to be. My own approach use something like... public function setValue( sLabel:String, oItem:Object, sState:String ):Void { if( oItem.icon != undefined ) { // we have an item to display in this cell // load icon, set text etc. } else { // The cell should be empty // set child objects to their empty state, // i.e. remove the icon if one was rendered last time // and clear the text } } check this posting... http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2003-September/ 087908.html and particularly this quote... "Remember that cells are constantly recycled with new values. Every time setValue is called, be prepared to clear whatever might already be in the cell (from the last value put in it) and even handle being passed undefined values (for blank items)." hth Paul creative-cognition Ltd http://www.creative-cognition.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Attaching combobox inside of class
On 23 Nov 2005, at 22:11, Dan Wade wrote: It seems like the component is currupted in what way? If you are seeing the first item only, and it doesn't drop down, I'd suggest the problem may be that you are attempting to set the dataprovider before the combobox has initialised. (A 'setinterval' method of waiting for initialisation to complete is described in Chpt13 of Essential ActionScript 2.0 : Colin Moock) another pointer... http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2003-April/ 070222.html Having said that, I would have thought both your samples would fail. Paul -- [ http://www.creative-cognition.co.uk/ ] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] UI components: changing the color of a line
Hi Alfonso, First a side issue. Because you started your email as a reply to a message in the "[Flashcoders] Array Madness - test yourself" thread, a number of threaded email clients like mine have your question sorted into that thread rather than a new one of it's own. Best to send a *new* email to Flashcoders@chattyfig.figleaf.com when starting a new thread/subject. On 21 Nov 2005, at 09:33, Alfonso Florio wrote: is there a way to change the color of a single line of a list component? Yes i have to put into a list a userlist, and the color of each row have to define the status of the user. how? Should be possible using a cellrenderer. There is cellrenderer example in the 'help' documentation, and googling for "cellrenderer actionscript" brings up quite a few results. hth Paul creative-cognition Ltd http://www.creative-cognition.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] script running slowly .. um.. WHERE?
On 19 Nov 2005, at 07:16, Jayson K Hanes wrote: why the heck doesn't flash tell you WHERE A down-side to flash - but you can usually localise problems like this to using debug, or xray. Any insight, otherwise? If you can't localise the problem to a loop in the source code, one possibility (which has caught me out in the past): If using components, applying global styles after they have initialised will hold-up the player until the styles are applied to each instance. The player seems to do this via a tight-loop and even if there are relatively few instances, the player has to do lots of work and may issue a warning (with stop option) to the user... http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2005-April/ 136149.html http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/ common/html/wwhelp.htm?context=Flash_MX_2004&file=2029.html hth Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Vacancy: Senior Flash developer - Cambridge, UK
On 16 Nov 2005, at 17:16, Flash Developer wrote: We develop innovative multimedia and web-based products that help people learn. We are market leaders in adult literacy and numeracy, key skills and professional development for teachers. Yeah - but who are you? I certainly wouldn't trust an anonymous hotmail account with my CV, and I'm surprised a 'market-leader' would decide not to provide the company-domain based email address to respond to. I think you'd get a better response if you provided some basic identification for potential applicants to research if they are interested in you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders