[Flashcoders] Flash9 Debug player for Intel Mac
As far as I know it only ships with Flex, perhaps in the SDK. Word is 9.0.28 debug plugin 'universal binary' will ship with Flex 2.0.1 Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Reuben Stanton Sent: Friday, 17 November 2006 2:09 PM To: Flashcoders mailing list Subject: [Flashcoders] Flash9 Debug player for Intel Mac Does anyone know if this exists? Or if it is on it's way soon? Alternatively, is there any way to get the non-intel version to run on an intel mac? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Job Opportunity - Melbourne, Australia
Hey Aerin, You might want to post this on 2 other lists. FlashAussie http://groups.google.com/group/flashaussie FlexAussie http://groups.yahoo.com/group/flexaussie Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Miles Thompson Sent: Thursday, 9 November 2006 11:08 AM To: flashcoders@chattyfig.figleaf.com Subject: Fwd: [Flashcoders] Job Opportunity - Melbourne, Australia Aerin, I know it's miles distant from Brisbane, but did you see this on Flashcoders? Miles We are looking for a Senior Flash Developer / Interaction Designer for our Melbourne Office. Join our expanding, vibrant and innovative team in creating award winning web solutions for Australia's leading brands and businesses. Our culture is positive and productive, with highly passionate and experienced strategists, developers and designers working together to create memorable, powerful and relevant web applications and user experiences. Responsibilities include leading the flash team in a technical and creative role, working closely alongside the design and tech teams to best utilize flash in all of DTDesign's projects. You will be working in a small team and with the opportunity to make a real contribution. Technical Requirements: - At least 2 years Flash Development experience in a commercial environment - Excellent ActionScript 2.0 / Flash 8 / OOP - Experience with XML data integration - Demonstrated ability to write clean, well documented code - Confidence in working with and extending code written by other developers - Experience in other aspects of web design and development (design/ HTML/CSS/JavaScript) Personal Requirements: - Confidence in taking a management and advisory role in the Flash and Creative teams - Ability to mentor one or more junior flash developers, and to liaise with and direct freelancers Only applicants who have the right to work in Australia and meet the selection criteria outlined above need apply. Please send a PDF resume and relevant links to [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 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.13.32/523 - Release Date: 11/7/2006 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Recommended encoding rates for FLV?
This man is an authority on the issue. http://flashvideo.progettosinergia.com/ Regards, Bjorn Schultheiss -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Reuben Stanton Sent: Friday, 3 November 2006 2:19 PM To: Flashcoders mailing list Subject: [Flashcoders] Recommended encoding rates for FLV? I'm after some recommendations for encoding FLV files - we'll be delivering for two connections speeds - 256k and 1mb, in a you-tube style interface. What would the list recommend as the ideal kbps, audio data rate, codec ect? I'm pretty new to flash video. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Looking for a good FlexCoders list
I'm sorry. My Rules in outlook moved the post into my flexcoders folder and i thought the post was sent to the Flexcoders mailing list. Go Flexcoders :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Monday, 30 October 2006 3:09 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] Looking for a good FlexCoders list Is he serious? Or are we misinterpreting the question? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Sunday, 29 October 2006 4:04 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Looking for a good FlexCoders list Erhm, FlexCoders maybe? ;-) http://tech.groups.yahoo.com/group/flexcoders/ flexcoders@yahoogroups.com regards, Muzak - Original Message - From: Troy Rollins [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Saturday, October 28, 2006 6:55 PM Subject: [Flashcoders] Looking for a good FlexCoders list Recommendations? URL for signup? TIA. -- Troy ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flash transparent on top of Windows Media Player
Is it possible to ditch the windows media player inplace of flash video?, Would make life easier. An answer to your question... I cant provide one :) Regards, Bjorn Schultheiss -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mick G Sent: Tuesday, 10 October 2006 10:27 AM To: Flashcoders mailing list Subject: [Flashcoders] Flash transparent on top of Windows Media Player Does anyone know if there is a way to embed flash transparent (wmode=transparent) on a layer above an embedded Windows Media Player active-x control? So it's like this... --Flash (wmode transparency) ---Windows Media play playing video -HTML page I've made a demo to achieve this and the Media Player itself is below the flash - the video playing is on top of the flash. Any ideas/workarounds? - Mick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Iterate over all movieclips in a timeline
Pillage through and get nested mc's function pillage(mc) { for (var a in mc) { if (mc[a] instanceof MovieClip) { trace(mc[a]._name); pillage(mc[a]); } } } pillage(_root) Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: Tuesday, 10 October 2006 11:38 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Iterate over all movieclips in a timeline this will only do the current frame, you cannot do the entire timeline (well you can in jsfl :) ) On 10/9/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: I feel a bit boneheaded asking this... is there any way of iterating over all movie clips in a timeline? for (var a in this) { if (this[a] instanceof MovieClip) { trace(this[a]._name); } } 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 -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] tinyurl swf loading
Hey, Is there a way that i can load a swf via its tinyurl? I think the issue that im having is that when the 'http://tinyurl.com/k23u4' resolves to 'http://blabla.com' the MovieClipLoader.loadClip() dies... Can i manually eval 'http://tinyurl.com/k23u4' somehow? Regards, Bjorn Schultheiss ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] tinyurl swf loading
Ajax magic :) a good idea but, thats difficult. I dont have access to the html page, impossible. I cant add js to the html.. Surely this shouldnt be a limitation of the player? Regards, Bjorn Schultheiss -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Claus Wahlers Sent: Saturday, 7 October 2006 10:48 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] tinyurl swf loading Is there a way that i can load a swf via its tinyurl? I think the issue that im having is that when the 'http://tinyurl.com/k23u4' resolves to 'http://blabla.com' the MovieClipLoader.loadClip() dies... TinyURL sends HTTP/1.x 301 Moved Permanently Location: blabla.com So it seems the Flash Player can't resolve 301's. Can i manually eval 'http://tinyurl.com/k23u4'somehow? Maybe you could hand it over to JavaScript via ExternalInterface, and then in JavaScript do some Ajax magic (send a HTTP HEAD request) and send the real URL back to Flash? Cheers, Claus. -- claus wahlers côdeazur brasil http://codeazur.com.br ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] tinyurl swf loading
Thanks Claus, I found an XML service i can call instead of the abbreviated url :) New Solution! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 Player Active X and Plugin ...
I think ActiveX is for IE and plugin is Mozilla, I think Regards, Bjorn Schultheiss -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Ford Sent: Thursday, 5 October 2006 4:07 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Flash Player Active X and Plugin ... Can someone explain (or point to a URL) the difference between Flash Player Installer Active X and Flash Player Installer Plugin ??? 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
[Flashcoders] Class Problem
Create a reference to this class instance and set the array to a public member. AS2 101. Try http://www.amazon.com/Essential-ActionScript-2-0-Colin-Moock/dp/0596006527/s r=8-1/qid=1160106358/ref=sr_1_1/104-8535662-7712736?ie=UTF8s=books Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Victor Gaudioso Sent: Friday, 6 October 2006 1:38 PM To: Flashcoders mailing list Subject: [Flashcoders] Class Problem Sorry about that last post; it was full of stupid typos and had the wrong subject line. Okay, my question is: In my Main Class I instantiated and filled up an Array. Can I read that Array from another Class? If so, how? 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
[Flashcoders] Flash Player 9 FullScreen Mode
There's got to be a few implications about this. Imagine the new generation of full screen banner ads, nasty. Regards, Bjorn Schultheiss -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of l u c h y x Sent: Thursday, 5 October 2006 11:47 AM To: The haXe compiler list; Flashcoders mailing list Subject: [Flashcoders] Flash Player 9 FullScreen Mode Yesss it here.! now available. Detailed example here http://www.riaevolution.com/blog/?p=44 -- l u c h y x r i a e v o l u t i o n (r) [EMAIL PROTECTED] http://www.riaevolution.com Phone: +54 (11) 4931-7006 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Flash Player 9 FullScreen Mode
There will have to be ?? I propose a test what happens when launching 20 banners ads all fighting for fullscreen, In windows are you able to alt+tab between fullscreen swf's? Regards, Bjorn Schultheiss -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of l u c h y x Sent: Thursday, 5 October 2006 12:13 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flash Player 9 FullScreen Mode Loll .. yes it's true. A trusted fullscreen site settings panel will help, I think. :P On 10/4/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote: There's got to be a few implications about this. Imagine the new generation of full screen banner ads, nasty. Regards, Bjorn Schultheiss -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of l u c h y x Sent: Thursday, 5 October 2006 11:47 AM To: The haXe compiler list; Flashcoders mailing list Subject: [Flashcoders] Flash Player 9 FullScreen Mode Yesss it here.! now available. Detailed example here http://www.riaevolution.com/blog/?p=44 -- l u c h y x r i a e v o l u t i o n (r) [EMAIL PROTECTED] http://www.riaevolution.com Phone: +54 (11) 4931-7006 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 -- l u c h y x r i a e v o l u t i o n (r) [EMAIL PROTECTED] http://www.riaevolution.com Phone: +54 (11) 4931-7006 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Selection class makes me want to kick someone in theface
You have to rework your logic to the way flash handles selections, Note, there can be a lag between new selections. Also some things you just wont be able to do :( 2. A button appears near the selected text 3. The user taps the button 4. The text field loses focus, launching Selection.onSetFocus, which checks if the current selection, now null, is an editable textfield. Naturally, null is not, so the button becomes hidden. Focus will go something like TextField, null, Button, If your listening for onSetFocus Here's what I used public function onTextFocusOut( event : Object ) : Void { clearInterval( this.searchTextForRuleInterval ); getNextSelectionCounter = 0; getNextSelectionInterval = setInterval( this, getNextSelection, 100 ); Key.removeListener( this ); Mouse.removeListener( this ); } private function getNextSelection() : Void { var sFocus : String = String( Selection.getFocus() ); var aIndex : Number = sFocus.indexOf( addRule_btn ); var bIndex : Number = sFocus.indexOf( displayText ); var cIndex : Number = sFocus.indexOf( Commit_btn ); if ( aIndex !== -1 || cIndex !== -1 ) { clearInterval( this.getNextSelectionInterval ); return; } else if ( sFocus == undefined || sFocus == null || sFocus == null ) { this.getNextSelectionCounter ++; if ( this.getNextSelectionCounter = 6) { clearInterval( this.getNextSelectionInterval ); return; } } else if ( bIndex == -1 sFocus !== undefined ) { if ( sFocus == undefined || sFocus == null || sFocus == null ) { return; } else { ds.currentManager.getActions().updateState(ActionStates.commonWizardNav); clearInterval( this.getNextSelectionInterval ); return; } } } Although the code is ugly atleast it helps you determine what really actually has focus! Hope I helped Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning Sent: Monday, 2 October 2006 9:13 PM To: Flashcoders mailing list Subject: [Flashcoders] Selection class makes me want to kick someone in theface ...which is, i gather, somewhat of a general consensus. I'm working on a tablet pc application that requires the user to be able to select text and transfer this text to other parts of the application. The ideal way is as such: 1. The user makes a selection from *any selectable text field* 2. A button appears near the selected text 3. The user taps the button 4. The selected text is copied to a buffer 5. The selection is cleared 6. An event is broadcast Now my problem is, this is what happens: 1. The user makes a selection 2. A button appears near the selected text 3. The user taps the button 4. The text field loses focus, launching Selection.onSetFocus, which checks if the current selection, now null, is an editable textfield. Naturally, null is not, so the button becomes hidden. 5. The user releases the now invisible button 6. Selection.onSetFocus gathers that the new selection is null, and uh, returns focus to the text field, which retains its selection. 7. Now that the textfield, which is valid in terms of this purpose, the button is shown again. Hmm.. Infinite cycle. Not cool. The big issue here is that Selection.onSetFocus is called prior to MovieClip.onPress. This basically means there's no way i can make changes to the current selection before onSetFocus is called. With this in mind: How the bloody hell is it possible to make changes to a selection with a button? The more i kick this horse around, the more contrived the AS looks, and it's becoming seriously demoralizing. Any input is appreciated. - 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
[Flashcoders] remoting alternatives?
VIVA LAS VEGAS Awesome work :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eka Sent: Wednesday, 27 September 2006 5:09 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] remoting alternatives? Hello :) You can use my framework OpenSource Vegas : http://osflash.org/vegas NB : you can find my project too in google code : http://code.google.com/p/vegas/ With this extension ASGard : http://osflash.org/asgard In ASGard you can find asgard.net.remoting package : AS2 version : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/src/asgard/net/remoting/ AS3 version : http://svn1.cvsdude.com/osflash/vegas/AS3/trunk/src/asgard/net/remoting/ SSAS version (FMS) : http://svn1.cvsdude.com/osflash/vegas/SSAS/trunk/src/src/asgard/net/remoting / You can find example to use this implementation in AS2 example : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/asgard/net/remoting / EKA+ :) 2006/9/27, Ray Chuan [EMAIL PROTECTED]: Hi, does any of you use a non-Macromedia remoting implementation? I know that ActionStep and pixlib has one. -- 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@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] ::dk:: issues with external data and external swf
Dk, Is your swf loaded from within the same domain? Are the required remoting classes compiled into your swf? Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dnk Sent: Tuesday, 26 September 2006 1:35 PM To: Flashcoders mailing list Subject: [Flashcoders] ::dk:: issues with external data and external swf Hi there - I have a movie in which I use remoting to load images and data. When run on it's own, it functions perfect. When it is loaded into another movie, some data does not load. I have used service capture and my data is in fact returned. Now I am pretty confident with the code since it runs on it's own perfect. I thought at first that it might be a scope issue or an issue with the _root time line - but I have ruled that out as I only use a relative path as opposed to an absolute path. IS this a known bug? I have been googling for a few hours already. 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] ::dk:: issues with external data and external swf
What error is it throwing? Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dnk Sent: Tuesday, 26 September 2006 1:53 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] ::dk:: issues with external data and external swf Bjorn Schultheiss wrote: Dk, Is your swf loaded from within the same domain? Are the required remoting classes compiled into your swf? Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies They are in the same domain, and I created a crossdomain.xml to cover various hostnames (just in case). The required remoting classes are compiled in as when the movie is not loaded into another, it runs as it should. The issue is only when it is loaded into another movie. Dustin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Get Cursor x y position within textarea?
Has anyone had to do this previously. I want to display a tooltip balloon where the cursor is within a textArea component. I'm restrcited to Flash8 for this. I've looked into it and it's looks nasty, So far I can see only a vague possiblity of achieving this although it involves estimates. TIA Bjorn ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] flex simple question call function
Use the onCreationComplete event For example mx:Application onCreationComplete=drawer() Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Ionut Beschea Sent: Monday, 18 September 2006 5:08 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] flex simple question call function try posting your flex question on the flexcoders list : http://www.flexcoders.org/index.html - Original Message From: Caruso Canepari [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Monday, September 18, 2006 10:00:52 AM Subject: [Flashcoders] flex simple question call function Hi, a supid question. I'm trying to use Flex Builder. How can I call this function? I can't get it working. Thanks. mx:Script ![CDATA[ import flash.display.*; public function drawer():void{ var mySprite:Sprite = new Sprite(); mySprite.graphics.beginFill(0xffcc00); mySprite.graphics.drawCircle(30,30,30); var lab:TextField = new TextField(); lab.text = hello; lab.x = 300; lab.y = 300; mySprite.addChild(lab); addChild(mySprite); } ]] /mx:Script __ Do You Yahoo!? Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi http://mail.yahoo.it ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Find item in array
Go James! Thanks for doing the due-diligence on this one. I read the thread and it was somethin I had not heard of before. Thanks for clearing it up. Regards, Bjorn Schultheiss -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JOR Sent: Tuesday, 19 September 2006 1:23 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Find item in array Steven Sacks | BLITZ wrote: It's the fastest because: Pre-decrementation (--i) is faster than post-decrementation (i--) I don't see why that would be. Both var i=1;i--; and var i=1;--i; compile down to the exact same 8 lines of p-code: _constantPool i _push i 1 _var _push i i _getVariable _decrement _setVariable _end So i don't see how one can be faster than the other. Maybe in other languages this is the case? And substraction (- (-1) is faster than addition (+ 1). I ran numerous tests using loops of 1 million on this but was unable to conclude one way or the other because roughly half the time one method was faster than the other. differences ranged from 1 millisecond to 175 milliseconds in both directions. My only take on my results is that they are at least negligably similar. They are faster because it's less code that gets produced when you compile. http://flasm.sourceforge.net/#optimization This isn't true. (i--) is one less line of p-code (and 9 less bytes of data) than (--i -(-1)) because it isn't doing the extra calculation of subtraction like I mentioned in my email. Take a look at the p-code: var i:Number = 1; while (i--) { trace(i); } _constantPool i _push i 1 _var #4 _push i _getVariable _push i i _getVariable _decrement _setVariable _not _if true goto #16 _push i _getVariable _trace _jump to #4 #16 _end -- var i:Number = 1; while (--i -(-1)) { trace(i); } _constantPool i _push i 1 _var #4 _push i i _getVariable _decrement _storeRegister 0 _setVariable _push register0 4294967295 _subtract _not _if true goto #17 _push i _getVariable _trace _jump to #4 #17 _end For most cases, it's a matter of milliseconds or even less, which isn't that big a deal, but I use it anyway because it's a good habit to have and it makes my code logic work with that in mind always so when it does make a difference in seconds, it's already there. I agree about it not being a big deal, but I prefer the (i--) method over (--i -(-1)) since I find it easier to read. -- James James O'Reilly www.jamesor.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] Where do job postings go?
Just Post it on this list, everybody else does. Make sure your post the salary rate, so the rest of us can gauge how much we're potentially worth in the outside world ;P Regards, Bjorn Schultheiss -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of swfer Sent: Friday, 15 September 2006 12:11 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Where do job postings go? I know this isn't the forum for it, but does anybody know where I could post a Help Wanted ad? My company is having a tough time finding a software developer who's strong in ActionScript, XML, SQL, OOP, and Design Patterns. Anybody know where such people hang out, and where a job posting would be welcome? Thanks much. We now return to our regularly scheduled discussion list. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Australian Flex Mailing List [flexaussie]
Hey Guys, I've started a new flex mailing list for us Aussies! This not an effort to move Australian developers away from using FlexCoders, rather it may be useful for Aussie developers to post messages that may not be suitable for the international list. Anyway the details. http://groups.yahoo.com/group/flexaussie/ Post message: [EMAIL PROTECTED] Subscribe: [EMAIL PROTECTED] Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] dynamic spacing
Give him some credit, he did say centered. You would have to included StageSize and browser window size in your evaluation. This of course depends on how you have embed your swf in the html. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramon Miguel M. Tayag Sent: Friday, 25 August 2006 12:59 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] dynamic spacing This is so simple you don't even have to ask the list... in that for loop just increment and set the mc's x / y. There's no complex algo behind it. On 8/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Anyone have an algorithm to space dynamically created movieClips centered on the stage? I'm using attachMovie in a for loop to create the clips based on an unknown number of itemsusually 3-5 items that are about 150px wide each. Thanks.. -- Ramon Miguel M. Tayag ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Adobe Site of the Day RSS Feed
That's good man :) Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Josh Santangelo Sent: Thursday, 24 August 2006 4:18 PM To: Flashcoders mailing list Subject: [Flashcoders] Adobe Site of the Day RSS Feed I've been annoyed that there is no RSS feed (that I can find?) for the Adobe Site of the Day awards, so I made one myself. It's here: http://feed43.com/2786211776444037.xml Powered by the great feed43.com service. -josh (who may or may not have been the developer on today's award- winner) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] RE: weather web service
I'm sure there are more. In firefox I use the accuweather extension that must be pulling its data from a feed also. What about those weather widgets on MAC, they'd be using another feed I guess. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer Sent: Monday, 21 August 2006 3:27 PM To: Flashcoders mailing list Subject: [Flashcoders] RE: weather web service Thanks Bjorn, This one seems to be a bit better than the Yahoo feed. What I like about the yahoo feed though is that it returns you a weather code for each weather condition (e.g. 29 for cloudy). This is really handy if you want visualize the current weather condition. Well I guess you can't have it all... Cheers Robin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Monday, 21 August 2006 2:53 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] htacess and loaded SWFs Hey Robin, Try http://www.webservicex.net/WS/WSDetails.aspx?CATID=12WSID=56 I used ServiceCapture on Eric Dolecki's blog www.ericd.net and found it in the traffic logs Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer Sent: Monday, 21 August 2006 2:37 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] htacess and loaded SWFs Hi there, Does anybody know if there is free weather forecast web-service? I went to the yahoo website but all I could find is an RSS feed, which seems to be a bit buggy. Plus it only gives you the forecast the next day. Thanks Robin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Haikal Saadh Sent: Monday, 21 August 2006 1:51 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] htacess and loaded SWFs This would be why: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=b06f1712 Currently the SWF format does not include HTTP referrer information when sending http requests. Macromedia is aware of this issue and is considering possible future solutions. Jay Bibby wrote: Hi folks, I've spent all evening trying to find an answer to this question, and I've just recently subscribed to this list, so I apologize in advance if this has already been covered. I have set up a directory to serve up SWFs from with an htaccess file that prevents direct access to the SWFs or from domains other than my own. This is working fine... when an HTML or PHP file on my domain is the file that is loading the SWF. However, when the same HTML or PHP file loads a SWF that then tries to load another SWF from the same directory, htaccess prevents it. I am using a MovieClipLoader to load the external SWF. How is loading a SWF from within a SWF different to Apache than loading the same SWF from an HTML or PHP file? I'm pulling my hair out here. Thanks in advance. Jay ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Haikal Saadh Applications Programmer ICT Resources, TALSS QUT Kelvin Grove ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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
RE: [Flashcoders] Flash/Actionscript Coding conventions
The best place to find conventions is in the component framework, specifically the new flex framework uses upto date best practices. Otherwise there are AS2 best pratices docs on the adobe site, I think they were written by jen deHann Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Haikal Saadh Sent: Tuesday, 22 August 2006 10:08 AM To: Flashcoders mailing list Subject: [Flashcoders] Flash/Actionscript Coding conventions Hi all The earliest document I could find about coding conventions for flash and actionscript are from flash 5. Has anyone written up a guide for use AS2/3? I prefer to use my java/javascript conventions as a base, but that still excludes things like: * Naming symbols/linkages * Naming frames (not that I've had a need to, but in case...) * Use of __ and _ in front of variable names. (_ is straight-forward enough, and the v2 comp. architecture seems to use __ for private vars that have corresponding get/set methods. Any other conventions you guys use? -- Haikal Saadh Applications Programmer ICT Resources, TALSS QUT Kelvin Grove ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] htacess and loaded SWFs
Hey Robin, Try http://www.webservicex.net/WS/WSDetails.aspx?CATID=12WSID=56 I used ServiceCapture on Eric Dolecki's blog www.ericd.net and found it in the traffic logs Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer Sent: Monday, 21 August 2006 2:37 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] htacess and loaded SWFs Hi there, Does anybody know if there is free weather forecast web-service? I went to the yahoo website but all I could find is an RSS feed, which seems to be a bit buggy. Plus it only gives you the forecast the next day. Thanks Robin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Haikal Saadh Sent: Monday, 21 August 2006 1:51 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] htacess and loaded SWFs This would be why: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=b06f1712 Currently the SWF format does not include HTTP referrer information when sending http requests. Macromedia is aware of this issue and is considering possible future solutions. Jay Bibby wrote: Hi folks, I've spent all evening trying to find an answer to this question, and I've just recently subscribed to this list, so I apologize in advance if this has already been covered. I have set up a directory to serve up SWFs from with an htaccess file that prevents direct access to the SWFs or from domains other than my own. This is working fine... when an HTML or PHP file on my domain is the file that is loading the SWF. However, when the same HTML or PHP file loads a SWF that then tries to load another SWF from the same directory, htaccess prevents it. I am using a MovieClipLoader to load the external SWF. How is loading a SWF from within a SWF different to Apache than loading the same SWF from an HTML or PHP file? I'm pulling my hair out here. Thanks in advance. Jay ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Haikal Saadh Applications Programmer ICT Resources, TALSS QUT Kelvin Grove ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] |:::| can you write dynamic meathods in a class?
Hey Guys, check this out Var clickHandler:Function = MyClass.staticMethod; var args:Array = ['Can', 'pass', 'in', 'any', 'amount']; newBtn.addEventListener(click, Delegate.create(this, function(evt:Object, meth:Function, args:Array) { meth.apply(null, args) }, clickHandler, args ) ); Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dnk Sent: Monday, 14 August 2006 5:17 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] |:::| can you write dynamic meathods in a class? Ramon Miguel M. Tayag wrote: Sometimes some events pass their own args and you dont even see them.. Try changing your function to this: function onHit1(o:Object, n:Number) //the o object is passed by the listener { trace(it was hit with the number: + n); } That worked perfect!!! Thanks sooo much! d ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] New Flash based website
Spot on! I read the code, beautiful example... Of course flex2 and as3 changes this a bit :) Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Potter Sent: Friday, 11 August 2006 4:59 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] New Flash based website Good explanation of how it works. The code is commented. http://hossgifford.com/downloads.htm Also email me off-list and I can give you a proof of concept I did based on this that is really simple and easy to figure out. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Buchanan Sent: Thursday, August 10, 2006 12:15 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] New Flash based website I'm not sure, I actually just found this solution through playing around with some ideas. Which is why I haven't been able to get it to work for safari yet. But have tested modern IE, FF, on osx and xp to work ok. Luckily the adverse of this not working will still allow users to interact with the site, the only limitation being that the site will assume a absolute height. But the concept is fairly simple and I will look around to see if there is. If I cant find anything I can post a little write up. But there has to be something out there from someone smarter than I, hehe :) Cheers! Aaron On 8/10/06 11:04 AM, dnk [EMAIL PROTECTED] wrote: Aaron Buchanan wrote: Hi Bjorn, There is an issue that occurs when users with smaller monitors (13 macbooks) accessing 100% flash content. Say you do not want to scale the content down to 13. You also do not want to write a flash scroller, because the browser has excellent support and performance for this, and Flash might have a harder time. So my solution is that I detect the window height/width, and if they are less than my minimum, I set the swf object to my minimum height, otherwise I allow it to be 100% with noScale. You can see an example of this at a site I am working on (still in dev): http://build.lab-media.com/mpvs Cheers! Are there any good tutorials on this subject? d ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Aaron Buchanan | Flash Developer, Lab-Media | T 909 702 1368 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Cairngorm 2.0 tutorials
Links have been seperated by the page break. For example, http://weblogs.macromedia.com/auhlmann/archives/2006/07/cairngorm_2_for_ 1.cf m#more Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matti Bar-Zeev Sent: Wednesday, 9 August 2006 4:06 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Cairngorm 2.0 tutorials Cheers mates, Been very helpful. Some of the links, though, are broken. Thnx. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Weekes Sent: Tuesday, August 08, 2006 10:12 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Cairngorm 2.0 tutorials Alex Uhlmann has some good sample applications using Cairngorm 2 here: http://weblogs.macromedia.com/auhlmann/archives/2006/07/cairngorm_2_for_ 1.cf m#more Cheers, Nick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer Sent: 08 August 2006 07:37 To: Flashcoders mailing list Subject: RE: [Flashcoders] Cairngorm 2.0 tutorials As Bjorn suggested: http://labs.adobe.com/wiki/index.php/Cairngorm (how come Adobe is using PHP btw) Have a read through this very good article. After I studied the article I had a look at Jesse Warden's Cairngorm 2 web service example. http://www.jessewarden.com/archives/2006/07/flex_2_webservice.html Then I created a couple of Cairngorm sample applications. Once you got the hang of it you don't want to go back... Robin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matti Bar-Zeev Sent: Tuesday, 8 August 2006 4:14 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Cairngorm 2.0 tutorials Give us some credit, mate :) been there before. Did you see any step by step tutorial there? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Tuesday, August 08, 2006 9:10 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Cairngorm 2.0 tutorials http://labs.adobe.com/wiki/index.php/Cairngorm Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matti Bar-Zeev Sent: Tuesday, 8 August 2006 3:56 PM To: Flashcoders mailing list Subject: [Flashcoders] Cairngorm 2.0 tutorials Hi All, Can someone please direct me to a tutorial on Cairngorm 2.0 with Flex 2.0 Builder? I looked and googled but came with nothing. I'm talking about a step to step kinda thing. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com __ This email has been scanned
RE: [Flashcoders] New Flash based website
There's a better way to do it. Have you seen swfObject? Insert the swf into the html with noscale and showall, then you are not limited to a stage size. Have a listener set up in js for onResize and pass it into flash via swfObject. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Lee Sent: Thursday, 10 August 2006 2:27 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] New Flash based website use javascript to resize the swf's object height attribute, so that when your user opens a section that will increase your stage height beyond the window height, Hi Aaron, I noticed a site doing that just this morning. Switching the swf attributes from Javascript doesn't mess with the application's state? Does anyone have any sample code they could point at? Tony ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] New Flash based website
Tone, noScale showAll? They are not mutually exclusive? Typing without thinking to hard. What will this do for me? If you're using showAll then Stage.height etc. is lost? Is that why you have to get the values from the browser? Here's the cool part, Say you want to display a video fullscreen.. The stage could be 1px x 1px, it doesn't matter. Let js pass in the window values and have an flash method equate the corrent xywh coords. What I'm basically saying is you can drop your reliance on the stage completely rather than having to worry about resizing that bitch ;[ Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Lee Sent: Thursday, 10 August 2006 3:06 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] New Flash based website Hi Bjorn, There's a better way to do it. Have you seen swfObject? Seen it. Use it. Love it. Insert the swf into the html with noscale and showall, then you are not limited to a stage size. noScale showAll? They are not mutually exclusive? Have a listener set up in js for onResize and pass it into flash via swfObject. What will this do for me? If you're using showAll then Stage.height etc. is lost? Is that why you have to get the values from the browser? Tony ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] grabbing bitmapdata from a vector movieClip...
I second that for best solution Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricky Bacon Sent: Thursday, 10 August 2006 3:43 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] grabbing bitmapdata from a vector movieClip... keitai guy wrote: What i want is a way to basically do a screen capture, outputting the SWF /flash data to a file. Use the draw method. Create a BitmapData object of the appropriate size and pass the clip you want as the first param. The best solution for client to data I've seen is from http://www.quasimondo.com/archives/000572.php -Ricky ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Cairngorm 2.0 tutorials
http://labs.adobe.com/wiki/index.php/Cairngorm Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matti Bar-Zeev Sent: Tuesday, 8 August 2006 3:56 PM To: Flashcoders mailing list Subject: [Flashcoders] Cairngorm 2.0 tutorials Hi All, Can someone please direct me to a tutorial on Cairngorm 2.0 with Flex 2.0 Builder? I looked and googled but came with nothing. I'm talking about a step to step kinda thing. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Cairngorm 2.0 tutorials
Maaate.. Everything is there, that's it. There is plenty there and it covers about all it's got to offer, so far. Did you dig into their blogs. Dude. http://weblogs.macromedia.com/auhlmann/archives/2006/07/cairngorm_2_for_1.cf m Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matti Bar-Zeev Sent: Tuesday, 8 August 2006 4:14 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Cairngorm 2.0 tutorials Give us some credit, mate :) been there before. Did you see any step by step tutorial there? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Tuesday, August 08, 2006 9:10 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Cairngorm 2.0 tutorials http://labs.adobe.com/wiki/index.php/Cairngorm Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matti Bar-Zeev Sent: Tuesday, 8 August 2006 3:56 PM To: Flashcoders mailing list Subject: [Flashcoders] Cairngorm 2.0 tutorials Hi All, Can someone please direct me to a tutorial on Cairngorm 2.0 with Flex 2.0 Builder? I looked and googled but came with nothing. I'm talking about a step to step kinda thing. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] AS3 - Missing
I have just read over this thread and want add my 2 cents in. There are different ways to achieve your desired results without such changes. With the list of countries why not use a HashMap for related data; var vo:Country = {className:Brazil}; // factory implementation inst = new MovieClip(); var _rendererHashMap[UIDUtil.getUID(inst)] = vo; with the reference to data object you should be able to apply what ever you want! Also, Unless you can you can turn timeline editing off in Flash 9 I don't see how sprite can be an option to extend. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcos Neves Sent: Saturday, 8 July 2006 1:20 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] AS3 - Missing Very thanks to Jens and Nivesh :) On 7/7/06, Jens Halm [EMAIL PROTECTED] wrote: Class names need to be unique. We will support the concept of a base class for library symbols in the Flash 9 timeframe. These base classes can be non-unique. Glad to hear that this will be supported. I am really surprised that so far Marcos seems to be the only one here who thinks it's essential. I think it would really be a step backwards without this feature. Maybe the example Marcos used wasn't that obvious. But if we talk about Component classes like CheckBoxes, Buttons etc., I would never want to use composition over inheritance. And in the preview release you wouldn't be able to assign a CheckBox class to more than one MovieClip. So yes, I think that feature is essential. It would also be great if that base class that you can specify is permitted to only extend Sprite and not MovieClip. Even better would be a new symbol type without a timeline for designing Sprites. Jens ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Creating a drawing RIA
So you got a textInput componet and a combobox component and you want to resize the textinput based on the values of the combobox? If this is correct you could set up a handler for the cb.change event that grabs the selected value and performs some logic like if selected value equals 14 then textInput height equals 24 I guess? If your give me a better description I'll help Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of T. van Zantvoort Sent: Monday, 19 June 2006 10:10 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] Creating a drawing RIA Hi guys, Is there anybody who can point me in the right direction on how to manipulate a textbox pulled onto a drawingboard and then let it be resized by dragging or change the font by an pulldownlist etc. Etc. I have tried several things, but it just won't work at certain points. met vriendelijke groeten, T. van Zantvoort MonTay WebArchitects T: +31 (0)40-2300898 F: +31 (0)40-2954071 E: [EMAIL PROTECTED] W: www.montay.nl Hardware: www.mlife.nl E-shop: www.vsnet.nl Own Site: www.1site2start.nl ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flash and Skype
Yo, Anyone here think it would be possible to run a skype video call through a swf? I mean without opening skype, maybe have it running in the background but all the controls through flash. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 and Skype
I've been looking around for about an hour and so far it seems no good. I thought perhaps you can find out how it makes its connection and transfers data through an exposed api, but naah. Any looks like going back to FMS and getting pumped on licences and bandwidth. I guess there's always Red5. At least there is no license cost. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Boyne Sent: Thursday, 8 June 2006 11:55 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flash and Skype Hey, I had tought about this some days befor, and I think, that it can't be possible, because flash is in a SandBox, or not? So we can not speak to an other Programm wich runs on our computer. Maybe someone has an other idea?! Regards Johannes Bjorn Schultheiss schrieb: Yo, Anyone here think it would be possible to run a skype video call through a swf? I mean without opening skype, maybe have it running in the background but all the controls through flash. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Flash and Skype
So would this allow you to, run the video conference in skype and copy the stream and display it in the swf? Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: Friday, 9 June 2006 12:12 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flash and Skype Maybe you can do something with ActionScript 3 and his binary socket support? In combination with BitmapData just send a frame every x seconds or the sound using the new Sound sutff? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] as2lib HashCodeFactory
Hi, *Note, this post is more directed towards a discussion rather than a fix. I have been looking at this lately and am very intrigued. These lines from this as2lib class basically set a __nKEY property on everything with one line // - private static var _bInitialized:Boolean = HashCodeFactory._initialize(Object.prototype); private static function _initialize(o) : Boolean { o.__getKEY = function () { this.__nKEY = null; if (this.__nKEY == null) { this.__nKEY = HashCodeFactory.getNextKEY(); _global.ASSetPropFlags(this, [__nKEY, __KEY, __getKEY], 7, 1); } return this.__nKEY; }; o.addProperty('__KEY', o.__getKEY, null); _global.ASSetPropFlags(o, [__nKEY, __KEY, __getKEY], 7, 1); return true; } //--- Therefore every instance in my app now has a __nKEY property. Only problem is that if I run through xRay or the Flash Debugger I get the 256 levels of recursion error. Can anyone think of a way I can achieve the same result ( applying the __nKEY property to every instance with one line of code ) without destroy my debugging capabilities. Surely someone must have run into something similar before? Bjorn Schultheiss Senior Flash Developer QDC Personalised Communication Power Level 2, 31 Coventry St. South Melbourne 3205, VIC Australia T: +61 3 9674 7400 F: +61 3 9645 9160 W: http://www.qdc.net.au http://www.qdc.net.au/ ((This transmission is confidential and intended solely for the person or organization to whom it is addressed. It may contain privileged and confidential information. If you are not the intended recipient, you should not copy, distribute or take any action in reliance on it. If you believe you received this transmission in error, please notify the sender.---)) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] destructors...
I have tried various ways of destroying instances. I once used this type of implementation // Parent Class function buildChild() { var myClass : MyClass = new MyClass(); myClass.addEventListener( onDestroyChild, this ); } function onDestroyChild( evt : Object ) { if ( HashCodeFactory.getKey( evt.target ) == HashCodeFactory.getKey( myClass ) ) delete myClass } // MyClass function destroy() { removeAllEventListeners(); dispatchEvent( { type : 'onDestroyChild', target : this } ); } So basically it doesn't carry a reference to its parent. But I'm not really using this implementation at the moment. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Pushing content from DB to Flash widget
FlashComm or Flash Media Server and look at remote shared objects -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mick G Sent: Monday, 24 April 2006 3:14 PM To: Flashcoders mailing list Subject: [Flashcoders] Pushing content from DB to Flash widget Does anyone know if it's possible to push content from a database to a list of flash clients (or widgets running on a desktop). I can have a flash app that checks every X seconds for new content from a database, but wondering if there's a way to do it in the other direction and push the content from a database to the flash clients without them having to poll the database. Are XML SocetServers the key here? Is there an issues with server strain on such things if say 1000 clients are connected to the server? Any info, ideas or experiences would be appreciated. - Mick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Multidimensional Array
Yes it is legitimate The correct method would depend on what for mat your data previously existed in before placing it in the array -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of CK Sent: Friday, 21 April 2006 11:13 AM To: Flashcoders mailing list Subject: [Flashcoders] Multidimensional Array Hi All, Experimenting with Multidimensional Arrays, would the following be the correct method for populating? [code] //Personal data multidimensional array. var pData:Array = [[lname, fname], [age, location]]; // //trace(pData); // //trace(pData[0]); // //trace(pData[1]); pData[0][0] = Kennon +Miller +Johnson+\n; pData[0][1] = Christopher +Alice +Margie+\n; pData[1][0] = 39 +24 +36 +\n; pData[1][1] = CA +WA +MI+\n; // trace(pData); [/code] Return True, CK Principal/Designer/Programmer -Bushidodeep http://bushidodeep.com/ __ Knowing is not enough, you must apply; willing is not enough, you must do. ---Bruce Lee ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] loader component - scaleContent does not always work
It was only a matter of time :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer Sent: Friday, 21 April 2006 3:39 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] loader component - scaleContent does not always work Actually it just happened again - I hate v2 components (and components which are based on them) :-). I'm going to write my own Loader now - all I need is movie clip that scales a loaded jpeg and dispatches an event when the loading process is finished... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer Sent: Friday, 21 April 2006 3:23 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] loader component - scaleContent does not always work That's it! No with the IELoader everything works fine :-) Great stuff! Cheers Robin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rajat Paharia Sent: Friday, 21 April 2006 2:24 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] loader component - scaleContent does not always work It might also have something to do with the problem detailed here: http://jeff.mxdj.com/loader_component_and_internet_explorer.htm I use IELoader all the time now instead of the v2 Loader. best, - rajat -- Rajat Paharia [EMAIL PROTECTED] http://www.bunchball.com http://www.rootburn.com On 4/20/06, Robin Burrer [EMAIL PROTECTED] wrote: I'll give that a try thanks. Each of these Loader components is embedded in a movie clip which is invisible by default. Setting the scaleContent property after it finished loading could do the trick though. Cheers Robin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Friday, 21 April 2006 1:08 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] loader component - scaleContent does not always work Turn it invisible while it's loading: loaderRef.visible = false; loaderRef.load(); When your complete event fires, try: doLater ( this, laterStuff ); function laterStuff() { loaderRef.scaleContent = true; loaderRef.visible = true; } - Original Message - From: Robin Burrer [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, April 20, 2006 9:43 PM Subject: [Flashcoders] loader component - scaleContent does not always work Hi there, I'm having trouble with the v2 Loader component. The scaleContent does not always work. Every 20th time or so the loaded jpeg image is not scaled. This happens rather randomly which is a bit of a pain. Here's a code that I'm using to initialize a loader component. Note that I'm creating up to twenty loader components at the same time. The idea is that when the first loader has finished loading it is set to visible and the next loader starts loading ... private function iniLoader(loaderRef:Loader,myURL:String) { loaderRef.autoLoad = false; loaderRef.contentPath = myURL; loaderRef.scaleContent = true; loaderRef.load(); loaderRef.addEventListener(complete, this); } I played around with order of the setting the properties but it didn't help either. Any ideas? Robin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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
[Flashcoders] FileReference JSP
Around the web there are many examples of using Flash 8 fileReference with a php or coldfusion page. Does anyone have an example of its use with a jsp page? Bjorn Schultheiss Senior Flash Developer QDC Personalised Communication Power W: http://www.qdc.net.au/qdc ((This transmission is confidential and intended solely for the person or organization to whom it is addressed. It may contain privileged and confidential information. If you are not the intended recipient, you should not copy, distribute or take any action in reliance on it. If you believe you received this transmission in error, please notify the sender.---)) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 help understanding EventDispatcher
It's an eventDispatcher class based off Grant Skinner's GDispatcher ' http://gskinner.com/blog/'. My class handles queues and dispatching queues nicer :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jim Sent: Thursday, 13 April 2006 9:09 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Need help understanding EventDispatcher But what is QDispatcher? Do you have a link to it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: 13 April 2006 05:19 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Need help understanding EventDispatcher This is better, more extensible // on timeline var myBall:Ball2 = Ball2.createInstance( this, 2 ).init(); myBall.addEventListener( 'ALL', this ); function onBallPress():Void { trace(onBallPress); } // Ball Class import com.qdc.events.QDispatcher; import com.dynamicflash.utils.Delegate; class Ball2 extends MovieClip { // constants public static var CLASS_NAME : String = Ball2; public static var SYMBOL_NAME : String = testBall; // methods public function dispatchEvent() {}; public function addEventListener() {}; public static function createInstance( parent:MovieClip, depth:Number, name:String ) : Ball2 { if( depth == undefined) depth = parent.getNextHighestDepth(); if( name == undefined) name = SYMBOL_NAME + depth; return Ball2( parent.attachMovie( SYMBOL_NAME, name, depth)); } public function init() : Ball2 { QDispatcher.initialize( this ); this._x = 100; this._y = 100; this.lineStyle(20, 0xff, 100); this.lineTo(0,.2); return this; } public function onLoad() : Void { aBall.onPress = dispatchEvent( { type : 'onBallPress' } ); } } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Matte Sent: Thursday, 13 April 2006 1:12 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Need help understanding EventDispatcher I dont see exactly why use for the event dispatcher. Wouldn't this be good as well ? // on timeline import Ball2.as; import mx.utils.Delegate; var myBall:Ball2 = new Ball2(); myBall.onBallPress = Delegate.create(this,onBallPress); myBall.addEvents(); function onBallPress():Void { trace(onBallPress); } // ball class import mx.utils.Delegate; class Ball2 { public var onBallPress:Function; private var aBall:MovieClip; public function Ball2 () { // create a ball MC aBall = _level0.createEmptyMovieClip('testBall',_level0.getNextHighestDepth() ); // draw ball aBall._x = 100; aBall._y = 100; aBall.lineStyle(20, 0xff, 100); aBall.lineTo(0,.2); } public function addEvents():Void{ aBall.onPress = Delegate.create(this,onBallPress); } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Need help understanding EventDispatcher
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jim Sent: Thursday, 13 April 2006 11:32 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Need help understanding EventDispatcher Ok, that's very nice but if you are going to give an example using it you might want to give out the class as well otherwise the example isn't much help. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: 13 April 2006 14:01 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Need help understanding EventDispatcher It's an eventDispatcher class based off Grant Skinner's GDispatcher ' http://gskinner.com/blog/'. My class handles queues and dispatching queues nicer :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jim Sent: Thursday, 13 April 2006 9:09 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Need help understanding EventDispatcher But what is QDispatcher? Do you have a link to it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: 13 April 2006 05:19 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Need help understanding EventDispatcher This is better, more extensible // on timeline var myBall:Ball2 = Ball2.createInstance( this, 2 ).init(); myBall.addEventListener( 'ALL', this ); function onBallPress():Void { trace(onBallPress); } // Ball Class import com.qdc.events.QDispatcher; import com.dynamicflash.utils.Delegate; class Ball2 extends MovieClip { // constants public static var CLASS_NAME : String = Ball2; public static var SYMBOL_NAME : String = testBall; // methods public function dispatchEvent() {}; public function addEventListener() {}; public static function createInstance( parent:MovieClip, depth:Number, name:String ) : Ball2 { if( depth == undefined) depth = parent.getNextHighestDepth(); if( name == undefined) name = SYMBOL_NAME + depth; return Ball2( parent.attachMovie( SYMBOL_NAME, name, depth)); } public function init() : Ball2 { QDispatcher.initialize( this ); this._x = 100; this._y = 100; this.lineStyle(20, 0xff, 100); this.lineTo(0,.2); return this; } public function onLoad() : Void { aBall.onPress = dispatchEvent( { type : 'onBallPress' } ); } } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Matte Sent: Thursday, 13 April 2006 1:12 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Need help understanding EventDispatcher I dont see exactly why use for the event dispatcher. Wouldn't this be good as well ? // on timeline import Ball2.as; import mx.utils.Delegate; var myBall:Ball2 = new Ball2(); myBall.onBallPress = Delegate.create(this,onBallPress); myBall.addEvents(); function onBallPress():Void { trace(onBallPress); } // ball class import mx.utils.Delegate; class Ball2 { public var onBallPress:Function; private var aBall:MovieClip; public function Ball2 () { // create a ball MC aBall = _level0.createEmptyMovieClip('testBall',_level0.getNextHighestDepth() ); // draw ball aBall._x = 100; aBall._y = 100; aBall.lineStyle(20, 0xff, 100); aBall.lineTo(0,.2); } public function addEvents():Void{ aBall.onPress = Delegate.create(this,onBallPress); } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Need help understanding EventDispatcher
Btw did I mention it also supports event bubbling? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Thursday, 13 April 2006 11:39 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Need help understanding EventDispatcher class com.qdc.events.QDispatcher { static var $instance:QDispatcher = undefined; private var qDispatcher_listeners:Object; private var qDispatcher_queues:Object; public static var CLASS_NAME : String = QDispatcher; static function initialize(p_obj:Object):Void { if ($instance == undefined) { $instance = new QDispatcher; } p_obj.dispatchEvent = $instance.dispatchEvent; p_obj.queueEvent = $instance.queueEvent; p_obj.dispatchQueue = $instance.dispatchQueue; p_obj.eventListenerExists = $instance.eventListenerExists; p_obj.addEventListener = $instance.addEventListener; p_obj.listAllListeners = $instance.listAllListeners; p_obj.removeEventListener = $instance.removeEventListener; p_obj.removeAllEventListeners = $instance.removeAllEventListeners; } // internal function to locate listeners: static function $indexOfListener(p_listeners:Array,p_obj:Object,p_function:String):Number { var l:Number = p_listeners.length; var i:Number = -1; while (++i l) { var obj:Object = p_listeners[i]; if (obj.o == p_obj obj.f == p_function) { return i; } } return -1; } static function $dispatchEvent(p_dispatchObj:Object,p_listeners:Array,p_eventObj:Object) { //_global.log.debug( CLASS_NAME+.plisteners.length=+p_listeners.length ); //trace( CLASS_NAME+.plisteners.length=+p_listeners.length ); // Note : Previous gSkinner code copitualted on me( noticed when trying to destroy // DetailsUI it only looped through 3 of 8 elements. //var i:String; // trick from MM: fixes problem with users removing items from listeners while it executes. //for (i in p_listeners) { var len : Number = (p_listeners.length-1); for ( var i : Number = len; i = 0; i-- ) { var o:Object = p_listeners[i].o; var oType:String = typeof(o); var f:String = p_listeners[i].f; //_global.log.debug( CLASS_NAME+ i=+i+ oType=+oType+ o.handleEvent=+o.handleEvent+ f=+f ); if (oType == object || oType == movieclip) { if (o.handleEvent != undefined f == undefined) { o.handleEvent(p_eventObj); } else { if (f == undefined) { f = p_eventObj.type; } o[f](p_eventObj); } } else { // function o.apply(p_dispatchObj,[p_eventObj]); } } } /** * Make dispatcher a bubbling dispatcher * Given that dispatcher has a method dispatchEvent(evt), this * method is replaced by a method which additionally dispatches the event * to the parent of dispatcher, unless evt.bubbles === false * @param dispatcher - a MovieClip with a EventDispatcher compatible * dispatchEvent method * @return the changed dispatcher */ public static function initializeBubbling( dispatcher:Object ) : Void { var parentDispatcher = findParentDispatcher( dispatcher); var oldDispatchEvent = dispatcher.dispatchEvent; dispatcher.dispatchEvent = function( evt){ evt.currentTarget = dispatcher; if( evt.eventPhase == undefined){ evt.eventPhase = 2; //at target } else { evt.eventPhase = 3; //bubbling } oldDispatchEvent.call( dispatcher, evt); if( evt.bubbles !== false){ parentDispatcher.dispatchEvent( evt); } } } /** * Return the next parent with a dispatchEvent method or null, if not found * @param dispatcher - a MovieClip with a EventDispatcher compatible * dispatchEvent method * @return - a parent of dispatcher with a EventDispatcher compatible * dispatchEvent method or null, if none could be found */ private static function findParentDispatcher( dispatcher:Object
RE: [Flashcoders] Need help understanding EventDispatcher
Or you could use a derivative of EventDispatcher, either GDispatcher or your own and use; instance.addEventListener( 'ALL', this ); instance.removeAllEventListeners(); instance.queueEvent( { type : 'whateverman' } ); instance.dispatchQueue(); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: Thursday, 13 April 2006 12:44 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Need help understanding EventDispatcher i understand. its not extremly readable either. just pointing out it is possible without using a instance variable. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 help understanding EventDispatcher
This is better, more extensible // on timeline var myBall:Ball2 = Ball2.createInstance( this, 2 ).init(); myBall.addEventListener( 'ALL', this ); function onBallPress():Void { trace(onBallPress); } // Ball Class import com.qdc.events.QDispatcher; import com.dynamicflash.utils.Delegate; class Ball2 extends MovieClip { // constants public static var CLASS_NAME : String = Ball2; public static var SYMBOL_NAME : String = testBall; // methods public function dispatchEvent() {}; public function addEventListener() {}; public static function createInstance( parent:MovieClip, depth:Number, name:String ) : Ball2 { if( depth == undefined) depth = parent.getNextHighestDepth(); if( name == undefined) name = SYMBOL_NAME + depth; return Ball2( parent.attachMovie( SYMBOL_NAME, name, depth)); } public function init() : Ball2 { QDispatcher.initialize( this ); this._x = 100; this._y = 100; this.lineStyle(20, 0xff, 100); this.lineTo(0,.2); return this; } public function onLoad() : Void { aBall.onPress = dispatchEvent( { type : 'onBallPress' } ); } } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Matte Sent: Thursday, 13 April 2006 1:12 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Need help understanding EventDispatcher I dont see exactly why use for the event dispatcher. Wouldn't this be good as well ? // on timeline import Ball2.as; import mx.utils.Delegate; var myBall:Ball2 = new Ball2(); myBall.onBallPress = Delegate.create(this,onBallPress); myBall.addEvents(); function onBallPress():Void { trace(onBallPress); } // ball class import mx.utils.Delegate; class Ball2 { public var onBallPress:Function; private var aBall:MovieClip; public function Ball2 () { // create a ball MC aBall = _level0.createEmptyMovieClip('testBall',_level0.getNextHighestDepth() ); // draw ball aBall._x = 100; aBall._y = 100; aBall.lineStyle(20, 0xff, 100); aBall.lineTo(0,.2); } public function addEvents():Void{ aBall.onPress = Delegate.create(this,onBallPress); } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 help understanding EventDispatcher
Sorry little mistake // not public function onLoad() : Void { aBall.onPress = dispatchEvent( { type : 'onBallPress' } ); } // but Public function onPress() : Void { dispatchEvent( { type : 'onBallPress' } ); } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Thursday, 13 April 2006 2:19 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Need help understanding EventDispatcher This is better, more extensible // on timeline var myBall:Ball2 = Ball2.createInstance( this, 2 ).init(); myBall.addEventListener( 'ALL', this ); function onBallPress():Void { trace(onBallPress); } // Ball Class import com.qdc.events.QDispatcher; import com.dynamicflash.utils.Delegate; class Ball2 extends MovieClip { // constants public static var CLASS_NAME : String = Ball2; public static var SYMBOL_NAME : String = testBall; // methods public function dispatchEvent() {}; public function addEventListener() {}; public static function createInstance( parent:MovieClip, depth:Number, name:String ) : Ball2 { if( depth == undefined) depth = parent.getNextHighestDepth(); if( name == undefined) name = SYMBOL_NAME + depth; return Ball2( parent.attachMovie( SYMBOL_NAME, name, depth)); } public function init() : Ball2 { QDispatcher.initialize( this ); this._x = 100; this._y = 100; this.lineStyle(20, 0xff, 100); this.lineTo(0,.2); return this; } public function onLoad() : Void { aBall.onPress = dispatchEvent( { type : 'onBallPress' } ); } } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Matte Sent: Thursday, 13 April 2006 1:12 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Need help understanding EventDispatcher I dont see exactly why use for the event dispatcher. Wouldn't this be good as well ? // on timeline import Ball2.as; import mx.utils.Delegate; var myBall:Ball2 = new Ball2(); myBall.onBallPress = Delegate.create(this,onBallPress); myBall.addEvents(); function onBallPress():Void { trace(onBallPress); } // ball class import mx.utils.Delegate; class Ball2 { public var onBallPress:Function; private var aBall:MovieClip; public function Ball2 () { // create a ball MC aBall = _level0.createEmptyMovieClip('testBall',_level0.getNextHighestDepth() ); // draw ball aBall._x = 100; aBall._y = 100; aBall.lineStyle(20, 0xff, 100); aBall.lineTo(0,.2); } public function addEvents():Void{ aBall.onPress = Delegate.create(this,onBallPress); } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Using EventDispatcher to update Controls and otherVariables?
You could do something like this without getting into specifics // main var model : Model = new Model(); var view1 : ViewClass1 = ViewClass1.createInstance(); var view2 : ViewClass2 = ViewClass2.createInstance(); model.addEventListener( 'ALL', view1 ); model.addEventListener( 'ALL', view2 ); model.position = 10; // model import com.qdc.events.QDispatcher; import com.dynamicflash.utils.Delegate; class .Model { private var _position : Number // methods public function dispatchEvent() {}; public function addEventListener() {}; public function Model() { QDispatcher.initialize( this ); } public function set postion( pos : Number ) : Void { _postion = pos dispatchEvent( { type : 'updatePosition', position : pos } ) } } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Thursday, 13 April 2006 2:45 PM To: Flashcoders mailing list Subject: [Flashcoders] Using EventDispatcher to update Controls and otherVariables? Hello There! As long as we are on the topic of EventDispatcher, I have another question that could really help me out. If I have multiple Controls (and variables) throughout my application, that were all tied to a SINGLE variable (that changes several times per second), could I use an EventDispatcher method - to dispatch an event whenever this specific variable changes, and have ALL those controls subscribed to that Event, update themselves with this new value? Right now, I have a Mouse position function (which runs every time the mouse moves), that updates a TON of TextFields scattered throughout my application with the mouse coordinates. In my function, I have to go through Each and Every TextField instance, and update the .text properties. Is there a better way to accomplish this, like using the Event system? Or is this considered such a simple process, that manually setting the .text properties for a ton of controls is just the easiest way, rather than dispatching events? (keep in mind, this variable gets updated many times per second) This topic has been on my mind for a LONG time now - and I would love a definitive answer on how to do this. Thanks in advance! Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Effects in Flash
If I understand correctly I think you need an extra mc at the bottom Prev background - navigation - content New timeline - navigation (depth 2) - content timeline - background (depth 1) Function changeBG( bgMC ) { // unload previous bg // load new one } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: Tuesday, 11 April 2006 10:15 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Effects in Flash Hija! I am working on a Flash website which should support to change the background based on a specific section. Now I want to make the website using events/AS2, and such. Somehow I am staring blind on something, hopefully anyone here can advice. I can tell it's a stupid question, though. Anyway my question is how can I construct some sort of way that make it possible to switch background easily? I have implementation now which call displayBackground() which makes the movieclips require such as as the empty movieclip for the background image, and the background animation. The problem I currently have is that this works fine when loading the website, but when I want to change it later on it fails totally. Because it wired up in construction-animation of the website. Meaning: background - navigation - content. Each time I switch background this happens again i.e. the navigation animation, and such. I don't want that... Anyone got some advice on it? I just don't know it at the moment. Greatly apperciated. (I said it was a dumb question, right?) -- Yours, Weyert de Boer innerfuse* http://www.innerfuse.biz/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Effects in Flash
There seems nothing wrong with the process you describe. What seems to be the current problem though? Is it that the navigation keeps rebuilding infinitely, or is it when the bg changed the nav crashes as I understood before? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: Tuesday, 11 April 2006 10:58 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Effects in Flash Hi If I understand correctly I think you need an extra mc at the bottom Prev background - navigation - content New timeline - navigation (depth 2) - content timeline - background (depth 1) Yes, It might be a good idea to explain to current code base a bit. It's mainly based on simple version of the MVC. I happen to have a SiteController, and SiteView class which handle all the stuff of the Flash website. For example, I have a displayBackground()-method in the siteController which triggers a similar method in the siteView-method. I hooked up some addEventListeners to the SiteView instance. It listens to the events: navigationStartEvent, navigationCompleteEvent, backgroundStartEvent, backgroundFadeInitEvent, backgroundCompleteEvent. The events get triggered from the approriate associated movieclips which get created at run-time in the SiteView class. Now when I load the website I construct the SiteModel class, which will load the xml file with the news and other stuff I need. Now when this XML file has been succesfully triggered it will dispatch a event called dataAvailableEvent. This then triggers the method createBackground: private function createBackground() { trace( createBackground() ); background = createBackgroundContainer(); background._x = 0; background._y = 0; siteView.displayBackground( background ); } Now as you might expect the SiteView will do the rest of the job, i.e. attaching the movieclip for animation, and make the empty movieclip for the image. After this animation has been done this also will raise a event called backgroundCompleteEvent, this again will trigger the createNavigatio-method etc. You get the drill. Once this all is done, the applicationInitiatedEvent will be dispatched this method will then try to find out which page is needed based on the URL. If is not known it will the trigger the default button, via: btn_home.onRelease(). This will then load the content, which currently cause a infinite loop ;-) Function changeBG( bgMC ) { // unload previous bg // load new one } Yes, but then I would need to make some sort of flag to ignore posting the backgroundComplete-event in the Sitecontroller-instance. Probably it's a easy way to solve this problem, though. Maybe I should just sned some parameters a long with the creaeBackground-methid i.e. AppStart. Maybe I should just sleep over it! Any suggestions are apperciated, maybe my current design sucks. Yours, Weyert de Boer innerfuse* http://www.innerfuse.biz/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Flash e-commerce site
The e-commerce website is not easy to achieve in Flash. My recommendation, 1. dont assume it to be easy. 2. any amount of time you believe it will take you times it by 6. 3. dont bother with oscommerce. You're better off with a proper OOP backend where the business tier is separated from view. 4. most valuably, wait for FB2, data-binding, view states and all the new features will cut your development time to a third of the previous. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helios Pregioni Bayma Sent: Sunday, 2 April 2006 1:19 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Flash e-commerce site Hi, I have to define what technologies and how much I´ll ask for an e-commerce Flash website. I pretend using PHP and MySQL and did read that it´s better using already made codes, is it true? Does anyone knows a good one? The store will accept payment with all credit cards and Pay Pal. I have experience using PHP and MySQL but never did an online store, so I´ll thank any help about this. Thanks, Helios ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] OT: Design patterns
One way to describe design patterns is to separate the responsibility of classes in your application, therefore making decoupling possible. Eg MVC separates the model, view and controller, potentially promoting reusability, and the ability to work on either model, view or controller independently of one another. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roman Blöth Sent: Friday, 24 February 2006 3:06 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] OT: Design patterns Anggie Bratadinata schrieb: Stephane, that's a good article. [..] Take a look at this interesting interview of Erich Gamma about Design Patters (How to use): http://blog.itpub.net/post/1087/48817 And - if not already mentioned here - think about buying the book Head First - Design Patterns by O'Reilly - definitely THE book for learning and fully understanding Design Patterns; there's nothing like this one out there (except maybe the other Head First-books). Get a free sample chapter (PDF) at ora.com. Best regards, Roman. -- --- gosub communications gmbh | fredersdorfer str. 10 | 10243 berlin t [030] 29 36 39 1 - 43 | f [030] 29 66 88 84 | http://www.gosub.de --- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] OOP Concepts
After my experience with OOP the strength of OOP is not how you structure your classes ( which is quite easy ), but rather how they communicate. Expertise in use of design patterns and creating them mainly comes from experiencing what works and what doesn't. With Flash related technologies I think it would pay to start off learning a framework like cairngorm. If you get familiar with utilizing the patterns and concepts they use in that framework you will be neck deep in OOP with no desire to turn back. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hairy Dog Digital Sent: Wednesday, 22 February 2006 1:49 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] OOP Concepts Thanks for the recommendation Judah. As you might have figured out, I'm less concerned with the language that I use to learn better OOP skills, and more concerned that the language lessens the chance of getting sloppy. -Original Message- From: judah [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 9:38 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] OOP Concepts Rob, I would *highly* recommend C# A Programmers Introduction by Deitel and Deitel. I had a similar background and it laid a framework I could understand. It explained OOP to me better than any other book I've read. The stuff you will learn from it will help you not only in Flash but any other language in the future as well (no I don't work for them). That will help and just doing it and asking a lot of questions. Judah ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Outsourcing
I probably do not speak for all but the common perception is that innovative work is done in house while the more common jobs are most likely to be outsourced. Bjorn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramon Tayag Sent: Thursday, 9 February 2006 2:14 PM To: FlashCoders Programming Subject: [Flashcoders] Outsourcing To all those in developed countries: Do you outsource your work to developing countries? Is there such a high demand for Flash overseas that there is a need to outsource? Thank you, -- Ramon Miguel M. Tayag ___ 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] How do you code your Flash applications?
I meditate on the 3 base chakra's during 4-7am whilst considering the coherence between my left and right testicles. At a certain point I discharge conceptual code forward through foreign elements into sepy and charge an application with the spirit of that which I AM. PEACE hehe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Cox Sent: Friday, 3 February 2006 11:37 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] How do you code your Flash applications? I personally use Eclipse / MTASC, so all code is class based. In my Flash file all symbols that need functionality have a linkage id, and almost all of my symbols are only a single frame (unless shape tweening is needed). To make the Flash compile faster, none of these symbols are linked to Classes in the Library, this is all done in the external code using Object.registerClass. I find it a lot cleaner to have all of my code in a nice external structure, in a decent IDE. My code is all right where I need it, I can control all animation simply (using an animation / tweening library like Fuse), and I can let the designers do almost whatever they like to the Flash file without worrying about them stuffing code up. And, of course, I get decent version control on the source files. After using this for a few months, I just wouldn't code inside the Flash IDE any more. Movieclip spaghetti is a bitter dish. Regards, Grant Cox Anggie Bratadinata wrote: Hi expert coders, Just a simple question, How do you develop your Flash applications? How do you write clean, readable, and reusable codes? The reason I'm asking this is because, so often, I got lost in MovieClips spaghetti. Different depth/levels/timelines drive me nuts and in the end, after reviewing my codes, I can't help re-writing everything from scratch in order to make it much cleaner. So, on the same project, I always work twice. :( What I do so far is write-then-test every single function in my codes;if it works then I'll write another function. And I tend to write everything in a single frame. I'd be more than happy if you, experts, can tell me the right way to code/develop Flash applications. TIA, -- Anggie Bratadinata Graphic|Web|Flash Jl. Raya Langsep 21 Malang - East Java I N D O N E S I A www.ibshastautama.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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] How do you code your Flash applications?
The enlightened Lemming would also like to add some comments. /* * Begin * * Flex 2 kicks ass. Any app dev I will work with flex. * Any GUI component / animation works I'll use Flash * * Thank you * * The end */ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Cox Sent: Friday, 3 February 2006 1:44 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] How do you code your Flash applications? Don't feel bad Anggie, I think it is an interesting topic that is worthy of discussion. The problem is that best practices are quite subjective, and as such some people feel the need to be offended at alternative suggestions :) Of course, the method I use (Eclipse/MTASC) really is The Best Practice, as in my infinite wisdom and experience have found that every other method is simply inferior, and only suitable for ignorant lemmings. You're all lemmings, you hear me!! ;) Regards, Grant Cox Anggie Bratadinata wrote: On 2/3/06, Mark Winterhalder [EMAIL PROTECTED] wrote: (to open) a can of worms, idiom: to ask for general stylistic advice on a professional mailing list, often resulting in contradicting advises that turn into flame wars, ending with somebody crying and repeated demands for the thread to be discontinued. Ugh, I didn't mean to start another flame war. I just wanna learn from you, folks I'm sorry if my question was considered a can of worms. If there's any Indonesian Flash mailing list that is as good as this one, I'd turn to them instead, keeping the worms in Indonesia. -- Anggie Bratadinata Graphic|Web|Flash Jl. Raya Langsep 21 Malang - East Java I N D O N E S I A www.ibshastautama.com www.nextrand.co.id ___ 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
RE: [Flashcoders] How do you code your Flash applications?
9-5 I've been working on the same Flash RIA for the last 3 months. For this I have adopted to Sepy as this is what the rest of the dev team are using. Prior to that I was an Eclipse / MTASC k.i.d. Though when I get home and the collar comes and I'm UNLEASHEDtm into the flex beast that lays dormant during the day time within Flash Lemming. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Cox Sent: Friday, 3 February 2006 1:58 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] How do you code your Flash applications? Are you actually deploying Flex 2 applications? Doesn't it still require the alpha/beta Flash 8.5 player? Bjorn Schultheiss wrote: The enlightened Lemming would also like to add some comments. /* * Begin * * Flex 2 kicks ass. Any app dev I will work with flex. * Any GUI component / animation works I'll use Flash * * Thank you * * The end */ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Cox Sent: Friday, 3 February 2006 1:44 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] How do you code your Flash applications? Don't feel bad Anggie, I think it is an interesting topic that is worthy of discussion. The problem is that best practices are quite subjective, and as such some people feel the need to be offended at alternative suggestions :) Of course, the method I use (Eclipse/MTASC) really is The Best Practice, as in my infinite wisdom and experience have found that every other method is simply inferior, and only suitable for ignorant lemmings. You're all lemmings, you hear me!! ;) Regards, Grant Cox Anggie Bratadinata wrote: On 2/3/06, Mark Winterhalder [EMAIL PROTECTED] wrote: (to open) a can of worms, idiom: to ask for general stylistic advice on a professional mailing list, often resulting in contradicting advises that turn into flame wars, ending with somebody crying and repeated demands for the thread to be discontinued. Ugh, I didn't mean to start another flame war. I just wanna learn from you, folks I'm sorry if my question was considered a can of worms. If there's any Indonesian Flash mailing list that is as good as this one, I'd turn to them instead, keeping the worms in Indonesia. -- Anggie Bratadinata Graphic|Web|Flash Jl. Raya Langsep 21 Malang - East Java I N D O N E S I A www.ibshastautama.com www.nextrand.co.id ___ 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 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] Naming conventions for AS2.0 ...
listener_obj answer I hate mcImage, I don't think that prefix is recognized in any dev app. I know image_mc works in Flash and I think sepy for code hinting -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Ford Sent: Thursday, 2 February 2006 12:53 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Naming conventions for AS2.0 ... Does anyone have an opinion, or a preferred method, in regards to naming conventions for AS2.0 objects ? For example, Macromedia recommends: clip_mc (movie clip) comm_lc (local connection) names_array (array) beep_sound (sound) field_txt (text field) etc, etc, etc but what if I wanted to use an generic object or a boolean datatype: listener_???:Object = new Object(); answer_???:Boolean = false; These are just two datatypes Macromedia doesn't list in terms of suffixes (search for 'About using suffixes to trigger code hints' in the official Flash help documentation built into Flash). So another technique I have seen is prefixing variables, like: mcClip (movie clip) lcComm (local connection) aNames (array) etc, etc, etc Someone must have a foolproof way to do this, there must be a technique that covers all possibilities for naming variables ??? Thanks, Stephen. ___ 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] Understanding dynamic classes
So far in AS2 Development I have not found a case yet to use Dynamic Classes. Has anyone come across an essential use for a Dynamic Class while developing an RIA, besides laziness. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Thursday, 2 February 2006 2:14 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Understanding dynamic classes Troy, thanks for such a great explanation. I had the same idea I just cant wrap it around my head in programming termns. For example if I have a property (array) inside a class it must be public so other intances of the object I create can access that property and they can write to it? And if that is true, how would I avoid having the property re-assigned (deleted or set back to its default value)? I guess here is where I have to have an if statement that checks if the property (array) already has values just push the next values into it. Would you say Im in the right track? Thanks again for the explanation. ...helmut Troy Rollins wrote: On Feb 1, 2006, at 7:00 PM, Helmut Granda wrote: Las week I made a component similar to the radio button component. While I was working on this I requested help understanding the way the component works. Eric (ericCD) suggested making a manager class: In a general sense, the concept is to make a class who's responsibility it is to maintain your buttons. There are a lot of ways to go about this. Usually, the manager is a singleton, and generation of the button instances may or may not be within its responsibility as well. But the gist is this... create the manager. Give it a property which is an array to hold your buttonObjects. When you create a new button, ask the manager to add a reference to it in that array. When you delete a button (probably through a function in the manager), remove it from the array. When you select a button, the manager can cycle through the array as a loop, deselecting all the other buttons. So, the manager might have functions for creating buttons, deleting buttons, selecting or deselecting buttons, returning the current selected button, and so on. One manager instance, many button instances. Once you get going with manager objects, you'll find uses for them almost anytime you have multiple instances of a class. And no, as long as the manager is pre-defined with an array to hold your button references, it does not need to be a dynamic class. The reason that was cited as an alternative to _globals is that dynamic classes can have new properties defined at runtime. HTH. -- Troy RPSystems, Ltd. http://www.rpsystems.net ___ 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
RE: [Flashcoders] using flash for UI in applications
No MacroAdobe DevKit I have heard of but that zinc app has got 100s of fscommands. BTW sounds like an interesting app -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning Sent: Thursday, 2 February 2006 10:44 AM To: Flashcoders mailing list Subject: [Flashcoders] using flash for UI in applications We're currently looking to create a custom flash projector wrapper for an expo application that is directx driven. We'd like to superimpose a transparent flash interface on 3d rendered graphics in real time I know Zinc has functionality that lets you call DLLs via FScommand, but i'd like to know if there is some MacrAdobe SDK or specification for how to utilize FScommand, or if there are any detailed specs on what exactly FScommand does that i can pass to our programmers. Any pointers? Cheers, - Andreas ___ 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 I know if I class/package has been imported ina swf?
Few interesting methods I have never come across. How about trying to instantiate it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bart Wttewaall Sent: Thursday, 2 February 2006 8:38 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] can I know if I class/package has been imported ina swf? or how about: var exists:Boolean = classExists(your.class.path); trace(exists); function classExists(path):Boolean { return (mx.utils.ClassFinder.findClass(path)); } 2006/2/1, Scott Hyndman [EMAIL PROTECTED]: if (_global.path.to.class.Class != null typeof(_global.path.to.class.Class) == function)) { trace(CLASS EXISTS!); } -Original Message- From: [EMAIL PROTECTED] on behalf of Jason Rayles Sent: Wed 2/1/2006 11:33 AM To: flashcoders@chattyfig.figleaf.com Cc: Subject:RE: [Flashcoders] can I know if I class/package has been imported ina swf? No. Is there a way for my code in my class to figure out if another class that I am not writing but whose name I know is being used in a swf. From: Steven Sacks [EMAIL PROTECTED] Subject: RE: [Flashcoders] can I know if I class/package has been imported in aswf? To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Is it possible to know if a class is being used in a flash movie? If so, how? Put a trace statement in the constructor of the class: class foo { function foo() { trace(new foo); } } ___ 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 mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Mixing SMX and MM V2 Components
Without being experienced with SMX components I would say I doubt it. You might want to place the code below inside the mm components parent onLoad handler. Methods do not clash when they are in separate classes -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Caygill Sent: Friday, 20 January 2006 3:18 PM To: [EMAIL PROTECTED] Cc: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Mixing SMX and MM V2 Components Hiya, Is it possible to mix SMX components and MM's v2 components? I seem to be having trouble detecting events after adding SMX components. Even a simple test of adding a MM button (btn) to the stage and using the following to add an event listener: lo = {}; lo.click = function(evt){ trace('target:'+evt.target); } btn.addEventListener(click,lo); Will suddenly fail if you drop the SMXTabPane tab component onto the stage! IS this because the smx.core.SMXobject has a function addEventListener? Thanks, Dave ___ 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] addEventListener - MovieClip wants to pass event tocontaining class
Or you could use delegate to deal with any scope issues And if Element extends MovieClip you may want to place them in onLoad for good practice. Public function onLoad( event : Object ) : Void { mc.addEventListener(ALL, Delegate.create( this, handlerMethodName )) } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lanny McNie Sent: Friday, 20 January 2006 9:40 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] addEventListener - MovieClip wants to pass event tocontaining class Thats not how EventDispatcher works. Firstly, you need a movieclip whose class has EventDispatcher tied into it (like the v2 components do). Once that's working, the correct syntax is: mc.addEventListener(click, this); function click() { // do stuff } On 1/19/06, Steve Warren [EMAIL PROTECTED] wrote: Hey folks, I'm having a little trouble getting addEventListener to work. I've tried a bunch of combinations, but have yet to find the right one. I'm trying to assign onRelease functions to a bunch of buttons in my LanguageChooser class. All I want to do is call a function inside LanguageChooser, telling it which button was clicked. Can I do it simply like this, or do I need to create a separate class for the button MovieClips? //THIS IS THE PART THAT'S NOT WORKING english.onRelease = french.onRelease = german.onRelease = spanish.onRelease = addEventListener(this, languageClicked); Thanks in advance for any help! -steve import mx.utils.Delegate; import mx.events.EventDispatcher; import com.mosesSupposes.fuse.Fuse; import com.mosesSupposes.fuse.ZigoEngine; import com.myClient.Element; import com.myClient.Language; class LanguageChooser extends Element { //movieclip children private var english:MovieClip; private var french:MovieClip; private var german:MovieClip; private var spanish:MovieClip; public var addEventListener:Function; public var removeEventListener:Function; public var dispatchEvent:Function public function LanguageChooser() { super(); position(); setup(); transitionIn(); } private function setup(Void) : Void { //THIS IS THE PART THAT'S NOT WORKING english.onRelease = french.onRelease = german.onRelease = spanish.onRelease = addEventListener(this, languageClicked); english.onRollOver = french.onRollOver = german.onRollOver = spanish.onRollOver = function() {ZigoEngine.removeTween(this); ZigoEngine.doTween (this, _y, -4, 0.08, linear);}; english.onRollOut = french.onRollOut = german.onRollOut = spanish.onRollOut = english.onReleaseOutside = french.onReleaseOutside = german.onReleaseOutside = spanish.onReleaseOutside = function() {ZigoEngine.removeTween(this); ZigoEngine.doTween (this, _y, 0, 0.5, easeOutCubic);}; } private function languageClicked(eventObj:Object){ trace(eventObj.target + : + eventObj.type); Language.setLanguage(eventObj._name); } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- - Lanny McNie ___ 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] NetStream.pause(false) sometimes pauses ??
One idea may be to disable 1b if the playback is paused And disable 1c if it is playing. That way they is no confusion -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, 20 January 2006 5:34 AM To: Flashcoders Mailing List Subject: [Flashcoders] NetStream.pause(false) sometimes pauses ?? Hello good people, I'll start with the direct question, then give some details. Is there a trick to making sure NetStream.pause(false) never pauses your FLV? I'm using Flash 8, exporting to player 8 format. When I use NetStream's pause() function with false for the argument, it pauses my video. But the argument false is supposed to mean don't pause. right? example: var connection_nc:NetConnection = new NetConnection(); connection_nc.connect(null); var stream_ns:NetStream = new NetStream(connection_nc); my_video.attachVideo(stream_ns); button1.onRelease = function() { stream_ns.play(video.flv); }; button1b.onRelease = function() { stream_ns.pause(true); }; button1c.onRelease = function() { stream_ns.pause(false); }; Here is what happens for me. I'd really like to know if anyone else has the same result. button1 plays the video. (good) button1b pauses the video. (good) button1c resumes the video. (good) button1c again pauses the video. (bad) No amount of pressing button1b and button1c will resume playback. (bad) I have to press button1 to get playback again. According to Macromedia docs, NetStream.pause(false) should always result with the video playing, not paused. Or am I missing something? Hopefully someone out there has run into this and has the perfect quickfix for me! Thanks in advance David Lanier ___ 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] v2 tab component
I've got my own standalone framework for a tab system with display panels. Though you need to build the tab button with library symbols. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Caygill Sent: Thursday, 19 January 2006 12:26 PM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] v2 tab component Hello I'm creating an open source educational app in AS2.0 and need a tab bar component - ideally one that supports the UIComponent stuff like setStyles etc... I cant seem to find anything available, only mentions of one in the DRK5 but now you cant buy it anymore. I also see there is one in flex, anyone know how to extract that to a swc or something that can be used? Cheers, in advance d ___ 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] simulating narrowband connection
Particular I seen 'serviceCapture' work quite well for this purpose. I'm sure there are others, that are free -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer Sent: Friday, 9 December 2005 9:21 AM To: Flashcoders mailing list Subject: [Flashcoders] simulating narrowband connection Hi there, Are there any tools out there that enable you to simulate a low bandwidth connection (e.g. modem or slow broadband connection) I'm currently working on a project which uses flv files that interact with my flash movie. In the past I always used the simulate download option in flash but this obviously doesn't work for flvs. Robin ___ 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] Q for the Pro's: How did you learn flash?
Coming from a designing background I felt I stepped up a gear with the first app I built after reading Essentail Actionscript 2.0 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wade Arnold Sent: Tuesday, 22 November 2005 10:54 AM To: Flashcoders mailing list Subject: Re: [flashcoders] Q for the Pro's: How did you learn flash? I just wanted to respond because I wanted to be a pro! I started a thread about a week ago for what new hires should review. It would be good for anyone not familiar with flash. Just search the archives for my name. I will also send you the doc offlist. Wade On Nov 21, 2005, at 11:50 AM, eric dolecki wrote: I started early and have progressed over time. Take one aspect you'd like to learn more about, and beat on it. Read what you can, check other developer's sources, and most of all experiment with your own code. Overcoming your own bugs, pitfalls, etc. will help you learn a lot more than someone just showing you some finished working code in the long run. And this list should help you tons too. I still run into things that confuse me, and the knowledge on this list is outstanding! edolecki On 11/21/05, Kevin Aebig [EMAIL PROTECTED] wrote: Well I think there's a lot of guys here who started using Flash before it was really that complicated. I personally started with Flash 3 and just kept learning new techniques as the versions progressed... My suggestion to anyone is to learn the basics, than patiently progress up. I think a lot of new folks believe if they jump into more advanced Actionscript that they can learn it through sheer willpower and unfortunately they end up quitting before they even get started. It also helps that there are a lot of resources available to help you along the way too... Cheers, Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lowen Fan Sent: November 21, 2005 9:04 AM To: flashcoders@chattyfig.figleaf.com Subject: [flashcoders] Q for the Pro's: How did you learn flash? Hi All. I'm an advanced beginner, i know the basics, how the application works, a bit of actionscript... Now I was wondering how did the pro's/advanced users evolve from here? Did you use a book(s) or just a lot of tutorials and experimenting? (What book(s)?) Another big question is when to use actionscript and when not to? Are sites like: www.ricksdesign.com http://www.ricksdesign.com http://www.ricksdesign.com www.notrics.nl http://www.notrics.nlhttp://www.notrics.nl www.h3omedia.co.uk http://www.h3omedia.co.uk http://www.h3omedia.co.uk www.clusta.com http://www.clusta.comhttp://www.clusta.comheavily based on actionscript? I'm still so confused how to achieve certain effects etc and apply them in a site. My goal is to create these kind of sites, hopefully in the future as a job. Can anyone give advice? greets, Lowen ___ 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 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] emoticons in a chat component
Thats a cool technique simon. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Lord Sent: Tuesday, 22 November 2005 10:04 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] emoticons in a chat component Resizing the chat field with my font smilies has zero effect with regards to crashing. It's just a font. Karina, the chat portion seems to work fine. Try again, I know in Firefox you HAVE to click the Login button as it doesn't respond to hitting the return or enter key (least not for me). On Nov 21, 2005, at 11:17 AM, eric dolecki wrote: Of all the things I tried, when resizing of the chat field was required, I could not come up with a solution that didn't crush the Flash player. The resizing is what did it in. I had to recompute, etc. Perhaps AS3 will allow for something like a system, with text that can be highlighted copied and used, etc. If flash were able to have a component container that could parse HTML well within Flash, that might be another cool thing too. edolecki On 11/21/05, Karina Steffens [EMAIL PROTECTED] wrote: I'm also considering Joe's idea of overlaying the emoticons I'm getting dyslexic in my old age :-/ I meant Jobe - sorry for the mis-type... ___ 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 mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] End of flv playback event
I just finished building a Flash 7 multiviewplayer that handles flv,swf and mp3. Anyway I ran into your problem and more with regards to the end of the flv playback in Flash 7. Solutions The update time method private function doUpdateTime(Void):Void { //ns.time was not updating quick enough after ns.seek() //so if we are seeking we use the currentPos var instead var m_time : Number; if (m_seek) { m_time = m_currentPos; m_seek = false; } else { m_time = m_ns.time; m_currentPos = m_time; } var perc = ((m_time)/m_streamLength); var owner:NSManager = this; m_ns.onStatus = function (oInfo) { //if(oInfo.code == NetStream.Buffer.Empty m_time = owner.m_streamLength) if (oInfo.code == NetStream.Play.Stop) { owner.killStream(); } } dispatchEvent({type:streamTimeUpdate, percentage:perc, time:m_time});// time:Math.round(m_time)}); } The other main problem was scrubbing to the end of the flv What we had to do was pause the playback while scrubbing and then when we released the scrub at the end off the bar we ran a condition public function pause(p_pause:Boolean):Void { clearInterval(m_timeInterval); if(m_currentPos = m_streamLength) { killStream(); } else { m_ns.pause(p_pause); if (!p_pause) m_timeInterval = setInterval(this, doUpdateTime, 100); } } Oh and the duration of the flv we got by using Burak's FLVMetadata Injector and calling public function getStreamLength():Void { // Obtains length through NetStream Object's onMetaData function var dur:Number var owner : NSManager = this; m_ns[onMetaData] = function (obj) { //trace(#onMetaData# +obj.duration + converted = + Math.ceil(obj.duration * 1000)); owner.m_streamLength = obj.duration; if (m_streamLength0) { owner.dispatchEvent({type:streamTimeUpdate, percentage:0, time:0}); } } } Hope this knocks out a few issues for you guys We also noticed that much of these problems have been fixed in flash 8 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Giotta Sent: Thursday, 17 November 2005 7:47 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] End of flv playback event I hope this thread doesn't die. I'd like to see what other methods are being used. I'm actually considering applying a preprocess to our video mirror process to inject a onlastsecond event with Burak's FLVMetadata Injector. ___ 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] End of flv playback event
I found using Buffer.Empty was not always reliable, so I went for NetStream.Play.Stop -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marlon Harrison Sent: Thursday, 17 November 2005 10:55 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] End of flv playback event My issue with using NetStream.Buffer.Empty is that the video is not done playing when this gets fired, at least not for me with progressive flv's in Flash 7. Also - if a buffer underrun occurs when they'res less time remaining than the bufferlength, the Buffer.Empty status isn't even returned. I made this long odd exception for that in code for a video player that I made before that seemed to work OK - but I just feel like there should be a smoother more buletproof way of handling these events. Is it better to cut your video to whole seconds? ___ 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] Flex Style Flash MX2004 Components
Personally it was easier to recreate than modify components, I'm sure there are a lot of developers with there own re-usable ui elements where graphic styles can be changed. What I was getting at before is we have Flash Developers who come from a design background as apposed to a development background. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ryanm Sent: Tuesday, 15 November 2005 10:16 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flex Style Flash MX2004 Components But I think once the Flash community really gets behind Flex you'll see a change Isn't that what they said about the v2 components? ryanm ___ 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