Re: [Flashcoders] Flash 9 Not importing fl.data.DataProvider.
pfct. thanks. On 9/13/07, Muzak [EMAIL PROTECTED] wrote: You'll need to add a component that uses it to your fla, or add the folder that has the classes to the AS3 classpaths. Default on Win XP is: C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Component Source\ActionScript 3.0\User Interface If you go the component route, you don't have to keep the component, you only need the ComponentShim that comes with any coomponent (in the library) and either set it to Export in first frame or drop it on stage. regards, Muzak - Original Message - From: aaron smith [EMAIL PROTECTED] To: Flashcoders mailing list Flashcoders@chattyfig.figleaf.com Sent: Thursday, September 13, 2007 6:14 AM Subject: [Flashcoders] Flash 9 Not importing fl.data.DataProvider. UH, not sure why this is happening. But when I create an empty fla, and put this one line of code in it: import fl.data.DataProvider. I get errors: 1172: Definition fl.data:DataProvider could not be found. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 9 Not importing fl.data.DataProvider.
UH, not sure why this is happening. But when I create an empty fla, and put this one line of code in it: import fl.data.DataProvider. I get errors: 1172: Definition fl.data:DataProvider could not be found. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] scaling/positioning FLVPlayback
from the way things are scaling, it sounds like you're opening the swf in the standalone player. Are you using this as a standalone thing, or embedded in a web page.. you can also try: Stage.scaleMode = 'noscale'; On 4/16/07, Muzak [EMAIL PROTECTED] wrote: FLVPlayback docs Components Language Reference FLVPlayback Component (Flash Professional Only) http://livedocs.adobe.com/flash/8/main/3477.html FLVPlayback class Components Language Reference FLVPlayback Component (Flash Professional Only) FLVPlayback class http://livedocs.adobe.com/flash/8/main/3510.html FLVPlayback.setSize Components Language Reference FLVPlayback Component (Flash Professional Only) FLVPlayback class setSize http://livedocs.adobe.com/flash/8/main/3609.html - Original Message - From: Jason Boyd [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, April 16, 2007 4:32 PM Subject: [Flashcoders] scaling/positioning FLVPlayback I'm new to the FLVPlayback component so sorry if these are trivial questions, but I'm confused about how to create a Flash Video player that doesn't scale the controls when resized. Do I need to explicitly do some 9-point scaling settings somewhere? It's ironic that Flash is based on vector graphics and the ability unique among web multimedia components to scale to any display, and yet while all the other video player plugins will happily resize with controls simply extendinging horizontally, the FLVPlayback component grows or shrinks the actual control UI elements, which is pretty ugly. I saw another post about positioning loaded video centered within the FLVPlayback component. Does this require ActionScript? There is no property on the component to handle this? What about scaling video, with or without preserving its aspect ratio, to fit the full frame (minus controls)? Any help is appreciated. I searched for docs on this but didn't turn up much. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Rubyamf 0.8.7 Alpha. Community is needed!
Hey Everyone , I'm going to keep this short. I've had it Rubyamf in my pocket for few months. Being able to develop it here and there. I've made a big push the last week to get it to this stage. If you're not aware of it, which i'm sure you're not. It's a Flash remoting alternative. :Features: Written in Ruby of coarse. A complete application gateway for flash remoting Servers are commandline configurable at startup Webrick standalone servlet, run rubyamf anywhere LightTPD support on Mac. Windows support will be in beta fcgi and cgi gateway Flash 8 Flash 9 Remote Object for Flex 2 RemoteClass meta tag for Object mappings in AS3 Rails Integration What's the deal with community involvement? Testing, tutorials and questions. I'm doing my best with testing and doumentation. But I'm only one person. It would killer if the flash community would punish it. Break it all you want. Where are it's weak points? And, where are it's strong points of course. Also, because I've been working on getting it to this point, I haven't had time to make some tutorials. There is quite a bit of documentation over here http://www.rubyamf.org. That has basics of starting the server, services location plus much more. I have more work to do to get it into beta, and completely supporting windows with LightTPD and mongrel as well. So if anyone has any time to check this out, and help out, write some stuff. Ask questions, find bugs.. etc.. Would be greatly appreciated. Let's make Rubyamf a stable and reliable choice for Flash remoting in production environments. Thanks. -Aaron homepage: http://www.rubyamf.org forums: http://rubyforge.org/forum/?group_id=2801 lists: http://rubyforge.org/mailman/listinfo/rubyamf-discussion ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] actionscript in FLV?
Is it possible to somehow have an FLV execute some actionscript code? say somehow embedding code in an FLV. I'm thinking no, I know it would be possible if it was a swf playing the flv, but i'm' wondering if it is possible in just a straight FLV. 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] allowScriptAccess and swfobject.js
Hey All, I am having issues with javascript working from a swf file. The problem is that the html file I embed the flash in, is pulling the flash content from another server. So to fix this I found out that i need to have the allowScriptAccess param. It works when I use the html generated by flash, and change that allowScriptAccess to always, but I need to use swfobject. to write the swf. So if I do so.addVariable(allowScriptAccess, always ); It doesn't work then.. has anyone run into this issue? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Mute Flash Application, mac.
yeah detour is not in development, and doesn't run on an intel mac.. Hijack is the way to go. it works perfectly smith On 9/25/06, Jake Prime [EMAIL PROTECTED] wrote: Hi Aaron Detour provides individual sound control for each app running on Mac OS. http://www.versiontracker.com/dyn/moreinfo/macosx/20128 I'm not a Mac user, so I can't vouch for it. Good luck. Jake On 22/09/06, aaron smith [EMAIL PROTECTED] wrote: Does anyone know of an application that can mute flash or browsers for a mac? or maybe a way to do it through the terminal? thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Mute Flash Application, mac.
sweet, i will give them a try.. i'll let you know.. thanks. On 9/24/06, Stephen Downs [EMAIL PROTECTED] wrote: Two utilities that come to mind for audio routing on Mac OS X are Soundflower ( http://www.cycling74.com/downloads/soundflower ) and Audio Hijack ( http://www.rogueamoeba.com/audiohijack/ ). It's been a while since I've played about with either. It appears from the screenshot of Audio Hijack that it can mute audio. On 2006-09-22, at 11:48 AM, aaron smith wrote: flash sounds get annoying after so long, so i just want to be able to shut off the browser sounds, without having to disable my entire audio. On 9/22/06, aaron smith [EMAIL PROTECTED] wrote: no, like how can I mute just the sound that is in the browser. Say i want music playing but no sounds out of the browser.. keep in mind i'm not creating the flash site, so I can't jsut add this in to the site, it would be for muting the browser sound in general.. On 9/22/06, John Dowdell [EMAIL PROTECTED] wrote: aaron smith wrote: Does anyone know of an application that can mute flash or browsers for a mac? I generally push the sound mute button on the keyboard. Maybe you meant How can my content programmatically control each audience member's sound system?, for which I don't have an answer, other than not using sound in your SWF, or offering an on-screen button for volume control, etc. jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, 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@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Mute Flash Application, mac.
havn't tried it.. i'll give it a shot On 9/24/06, GregoryN [EMAIL PROTECTED] wrote: Hello aaron, Have you tried: tell application Your Browser to set volume with output muted OR tell application Your Browser to set volume 0 http://nslog.com/archives/2005/06/26/no_applescript_mute.php Or am I missing something? -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Tweening ColorTransform objects? [Solved]
you should look into fuse man, easy color tranforms.. not all that code.. but it's cool you got it figured out.. http://mosessupposes.com/Fuse/index.html On 9/23/06, Dan Rogers [EMAIL PROTECTED] wrote: Thank you for the replies. My issue was due to the fact that I was overlooking the rgb property (doh), and inadvertently tweening it along with the other properties. Below is the functional code which uses MultiTween and mx.transitions.Tween to tween a few ColorTransform objects. -Danro FLA Example: http://download.danro.net/flashcoders/ColorTrans_Tween.zip Code: import com.gskinner.transitions.MultiTween; import flash.geom.Transform; import flash.geom.ColorTransform; import mx.transitions.easing.*; import mx.transitions.Tween; import mx.utils.Delegate; // color transform objects var originColor:ColorTransform = new ColorTransform(); var currentColor:ColorTransform = new ColorTransform(); var rollOverColor:ColorTransform = new ColorTransform(); var rollOutColor:ColorTransform = new ColorTransform(); rollOverColor.rgb = 0xFFCC00; rollOutColor.rgb = 0x0066CC; // movieclip transform var trans:Transform = new Transform(test_mc); // update color function function updateColor () { trans.colorTransform = currentColor; } // tween vars var colorTween:Tween; var mTween:MultiTween; var mTweenProps = [alphaMultiplier, alphaOffset, blueMultiplier, blueOffset, greenMultiplier, greenOffset, redMultiplier, redOffset]; // rollover tween function buttonRollOver () { mTween = new MultiTween(currentColor, rollOverColor, mTweenProps); colorTween.stop(); colorTween = new Tween(mTween, position, Regular.easeOut, 0, 1, 20); colorTween.onMotionChanged = Delegate.create(this, updateColor); } // rollout tween function buttonRollOut () { mTween = new MultiTween(currentColor, rollOutColor, mTweenProps); colorTween.stop(); colorTween = new Tween(mTween, position, Regular.easeInOut, 0, 1, 20); colorTween.onMotionChanged = Delegate.create(this, updateColor); colorTween.onMotionFinished = Delegate.create(this, reset); } // reset color to original function reset () { mTween = new MultiTween(currentColor, originColor, mTweenProps); colorTween.stop(); colorTween = new Tween(mTween, position, Regular.easeInOut, 0, 1, 30); colorTween.onMotionChanged = Delegate.create(this, updateColor); } // button events test_mc.onRollOut = Delegate.create(this, buttonRollOut); test_mc.onRollOver = Delegate.create(this, buttonRollOver); ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Mute Flash Application, mac.
no doesn't work. damn. On 9/24/06, aaron smith [EMAIL PROTECTED] wrote: havn't tried it.. i'll give it a shot On 9/24/06, GregoryN [EMAIL PROTECTED] wrote: Hello aaron, Have you tried: tell application Your Browser to set volume with output muted OR tell application Your Browser to set volume 0 http://nslog.com/archives/2005/06/26/no_applescript_mute.php Or am I missing something? -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Mute Flash Application, mac.
no, like how can I mute just the sound that is in the browser. Say i want music playing but no sounds out of the browser.. keep in mind i'm not creating the flash site, so I can't jsut add this in to the site, it would be for muting the browser sound in general.. On 9/22/06, John Dowdell [EMAIL PROTECTED] wrote: aaron smith wrote: Does anyone know of an application that can mute flash or browsers for a mac? I generally push the sound mute button on the keyboard. Maybe you meant How can my content programmatically control each audience member's sound system?, for which I don't have an answer, other than not using sound in your SWF, or offering an on-screen button for volume control, etc. jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Mute Flash Application, mac.
flash sounds get annoying after so long, so i just want to be able to shut off the browser sounds, without having to disable my entire audio. On 9/22/06, aaron smith [EMAIL PROTECTED] wrote: no, like how can I mute just the sound that is in the browser. Say i want music playing but no sounds out of the browser.. keep in mind i'm not creating the flash site, so I can't jsut add this in to the site, it would be for muting the browser sound in general.. On 9/22/06, John Dowdell [EMAIL PROTECTED] wrote: aaron smith wrote: Does anyone know of an application that can mute flash or browsers for a mac? I generally push the sound mute button on the keyboard. Maybe you meant How can my content programmatically control each audience member's sound system?, for which I don't have an answer, other than not using sound in your SWF, or offering an on-screen button for volume control, etc. jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Mute Flash Application, mac.
yeah well I figured someone must have already wanted to do this. On 9/22/06, Merrill, Jason [EMAIL PROTECTED] wrote: keep in mind i'm not creating the flash site, so I can't jsut add this in to the site, it would be for muting the browser sound in general.. This moves out of the realm of Flash questions then. If you had control of the Flash file, you can just set volume of the sound to 0. You might want to try another list, but I am not aware of any way to control the sound level of the Browser from a web page/script the browser surfs to. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Mute Flash Application, mac.
that was close, although this is just control for the find sounds. like when you type something in the find menu, if i t can't find it you can shut the little sound off that it plays... On 9/22/06, Helmut Granda [EMAIL PROTECTED] wrote: if you are running FF this mmight be your answer: http://johnbokma.com/firefox/find-in-page-sound.html On 9/22/06, Merrill, Jason [EMAIL PROTECTED] wrote: keep in mind i'm not creating the flash site, so I can't jsut add this in to the site, it would be for muting the browser sound in general.. This moves out of the realm of Flash questions then. If you had control of the Flash file, you can just set volume of the sound to 0. You might want to try another list, but I am not aware of any way to control the sound level of the Browser from a web page/script the browser surfs to. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- ...helmut helmutgranda.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Mute Flash Application, mac.
exactly. i haven't been able to find anything.. i'm looking into writing some applescripts for it. On 9/22/06, Helmut Granda [EMAIL PROTECTED] wrote: Aaron is asking how to turn sounds off from pages he is browsing, no necessary SWF files he is working with. On 9/22/06, Mike Keesey [EMAIL PROTECTED] wrote: Well, can he load it into a holder SWF and set the global volume on that? ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, September 22, 2006 12:11 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Mute Flash Application, mac. I think you can control all of the sound in a Flash movie like so: He's asking to do this with the browser, not Flash - he doesn't have control of the Flash file. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Keesey Sent: Friday, September 22, 2006 3:04 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Mute Flash Application, mac. I think you can control all of the sound in a Flash movie like so: var globalSound:Sound = new Sound(_root); // Mute. globalSound.setVolume(0); // Restore. globalSound.setVolume(100); ― Mike Keesey ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 -- ...helmut helmutgranda.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Mute Flash Application, mac.
nah. it's actually for one of our QA people here, he QA's all of our flash projects, and one in particular has been going on forever so he get's annoyed with the sounds, but still wants to listen to music.. i found out that applescripts can't do the job either.. I bet i could write a firefox extension, but that would only cover firefox.. a On 9/22/06, eric dolecki [EMAIL PROTECTED] wrote: I am not aware of anything being able to hook into the FlashPlayer and affect its functionality like that. It would need to be a browser plugin of some sort. You tired of that mosquito ad too? Hehe. I just mute audio with a keypress, and then when i'm done there, unmute. Not that hard. - e. On 9/22/06, aaron smith [EMAIL PROTECTED] wrote: exactly. i haven't been able to find anything.. i'm looking into writing some applescripts for it. On 9/22/06, Helmut Granda [EMAIL PROTECTED] wrote: Aaron is asking how to turn sounds off from pages he is browsing, no necessary SWF files he is working with. On 9/22/06, Mike Keesey [EMAIL PROTECTED] wrote: Well, can he load it into a holder SWF and set the global volume on that? ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto: flashcoders- [EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, September 22, 2006 12:11 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Mute Flash Application, mac. I think you can control all of the sound in a Flash movie like so: He's asking to do this with the browser, not Flash - he doesn't have control of the Flash file. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto: flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Keesey Sent: Friday, September 22, 2006 3:04 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Mute Flash Application, mac. I think you can control all of the sound in a Flash movie like so: var globalSound:Sound = new Sound(_root); // Mute. globalSound.setVolume(0); // Restore. globalSound.setVolume(100); ― Mike Keesey ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 -- ...helmut helmutgranda.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Mute Flash Application, mac.
hahahahahahah. i have to forward this to him.. I totally agree man.. i will get him some tissues.. smith On 9/22/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Tell him to get a freaking iPod and some headphones. Failing that, buy him a box of tissues. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] ::dk:: getColumnNames not returning all column names
im guessing your just having issues with how the data is mapped in the result vars. Are you using NetConnection debugger to look at the results, so you know exaclty how the return object is mapped to the data.. IE( recordset.getItemAt(0) );.. see what i mean? On 9/18/06, dnk [EMAIL PROTECTED] wrote: Hi there. I have a remoting app in which i use PHP/amfphp to get data into my app. Now in my PHP I have the following SQL query performed to create a join on 2 tables... SELECT dkcms_photo.*, dkcms_profiles.uFname FROM dkcms_photo LEFT JOIN dkcms_profiles ON dkcms_profiles.uId = dkcms_photo.phUsername ORDER BY phMod DESC Now when I test the query (by running at the mysql command line), all the data is returned as expected. I then test the php in the amfphp service browser and again - same thing all data is returned as expected. Now - in flash When I try to access the one column name returned by the join - I get undefined. So I then used the getColumnNames function (and trace the results) to see what is actually being listed in flash Well as expected, none of the columns from the second table are actually making it into flash. Does anyone have any ideas? 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] ::dk:: getColumnNames not returning all column names
You can also use commands in PHP to send data to the NetConnection debugger. ?php NetDebug::trace( somedata or some $var ); ? you can use that anywhere in a service method and it will send it to the netconnection debugger. just use those to debug it.. hope that helps.. smith On 9/18/06, dnk [EMAIL PROTECTED] wrote: Hi there. I have a remoting app in which i use PHP/amfphp to get data into my app. Now in my PHP I have the following SQL query performed to create a join on 2 tables... SELECT dkcms_photo.*, dkcms_profiles.uFname FROM dkcms_photo LEFT JOIN dkcms_profiles ON dkcms_profiles.uId = dkcms_photo.phUsername ORDER BY phMod DESC Now when I test the query (by running at the mysql command line), all the data is returned as expected. I then test the php in the amfphp service browser and again - same thing all data is returned as expected. Now - in flash When I try to access the one column name returned by the join - I get undefined. So I then used the getColumnNames function (and trace the results) to see what is actually being listed in flash Well as expected, none of the columns from the second table are actually making it into flash. Does anyone have any ideas? 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
[Flashcoders] hardcoding xml
hey, does anyone know of a way to hard code XML into actionscript without the compiler having a fit? it's a pretty big XML file, I need to hard code it for a banner, the vendor has no idea what their doing. the xml file is a couple hundred lines. 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
Re: [Flashcoders] hardcoding xml
coding it in as a string doesn't seem to work.. EX:: var s:String = rootsomeParentsomeChildItemname![CDATA[SOME DATA]]/name/somechildItem + someChildItem![CDATA[SOME DATA]]/someChildItem+ someChildItem![CDATA[SOME DATA]]/someChildItem+ someChildItem![CDATA[SOME DATA]]/someChildItem+ someChildItem![CDATA[SOME DATA]]/someChildItem+ someChildItem![CDATA[SOME DATA]]/someChildItem+ /someParent/root; var x:XML = new XML( s ); when the xml lis parsed it puts comas in where the + symbols are.. it just breaks everything.. On 9/8/06, eric dolecki [EMAIL PROTECTED] wrote: just code it in as a string. On 9/8/06, aaron smith [EMAIL PROTECTED] wrote: hey, does anyone know of a way to hard code XML into actionscript without the compiler having a fit? it's a pretty big XML file, I need to hard code it for a banner, the vendor has no idea what their doing. the xml file is a couple hundred lines. 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@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] fuse cheat sheat?
does anyone know if there is a fuse cheat sheat for using fuse. kinda like the actionscript 2 and 3 cheat sheats? word ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] key listener class
does anyone know of a class that makes it easy for listening to keyboard events. say i want to add a listener for ctal+shift+y. there has to be something developed already to do that.. 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
Re: [Flashcoders] key listener class
sweet thanks. On 9/3/06, eka [EMAIL PROTECTED] wrote: hello :) yes :) In my framework VEGAS : http://osflash.org/vegas you find in the AGArd extension (http://osflash.org/asgard) the package asgard.ui with KeysValidator class : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/src/asgard/ui/ You can test the class with the example in the bin directory on the SVN : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/asgard/ui/ Install the framework with Tortoise SVN for example, set the /src classpath and that's all :) EKA+ :) 2006/9/3, aaron smith [EMAIL PROTECTED]: does anyone know of a class that makes it easy for listening to keyboard events. say i want to add a listener for ctal+shift+y. there has to be something developed already to do that.. 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@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] smooth MTASC/Mac workflow?
i succecssfully used TextMate and mtasc for a long time. I acatually loved the workflow. but since switching jobs have had t ogo back to PC.. anyway, in TextMate you can have it execute pre written command line commands and assign it shortcuts. Thats how I did it. And with mtasc, using existant swfs is posible. just use the -swf and give it the swf to replace out the code with.. and use the -keep tag to keep in all the flash compiled code in.. i'd just read some docs over at www.mtasc.org. Sorry I don't have any examples of all this. I just know it has been done gracefully, i've done it.. it just takes some time and research to get set up.. look into writing either a snippet or the command line in TextMate.. or you could just keep open a terminal window and command + tab back and forth when compiling.. later smith On 9/2/06, Michael Bedar [EMAIL PROTECTED] wrote: Actually, could someone answer the same question in regards to Flex on the Mac? I have been just using a shell script to compile from bbedit, but I'd love a more integrated solution to hold me over ... mike On Sep 2, 2006, at 4:31 PM, John Grden wrote: Yeah read my reply to your message on the Flasc list (www.osflash.org/flasc) now that flasc can execute apple script commands, you can use mtasc from the flash ide on a mac ;) what you're doing is completely doable and is the reason why I created Flasc in the first place ;) jpg On 9/2/06, Josh Santangelo [EMAIL PROTECTED] wrote: Is anyone using MTASC on Mac in a workflow that doesn't require tons of jumping through hoops? Everything I've read seems incredibly complicated and brittle. I use TextMate but wouldn't be opposed to Eclipse or something instead. I generally work with FLAs that have all my assets in them as movieclips linked to class files. Does MTASC even support working with SWFs like that? What I've read seems to say that you need to have a SWF full of assets which just have linkage IDs, then you inject code into that and use lots of attachmovies to actually use the assets. I'd like to use MTASC, but don't want to change my entire way of working and/or coding just to do so. thanks, -josh ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- [ JPG ] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] mtasc and prototypes?
Hi all, quick question. I've been running into problems with mtasc. I think it is because of tweening classes. Like a tween class that has a bunch of prototypes added onto the movie clips. mc_tween2.as for example. ( http://hosted.zeh.com.br/mctween/). The way you add these in is by including the file. I would usually do it on the root timeline so mtasc wouldn't complain about an include. but it seems even including it from the root timeline, then trying to mtasc to that pre existing swf that has the tween prototypes in the code already. doesn't go good. I'm thinking that's the problem that i've been having lately with mtasc. i've always used mtasc on RIA's but now trying to get it going with most of my web projects, and my web projects use all these tween prototypes, for convenience of course. So my question is, has anyone experienced this with tween classes that use prototypes? I'm thinking the way to fix it is to create a mc_tween swf that is precompiled with just an include of the tween class, then in any of the other projects that using mtasc to compile, just load the mc_tween swf instead of including it in the compile.. that way mtasc should be ok.. I'm going to give it a try and see what I can come up with, thats the only case I can think of that is giving me mtasc issues, but it hasn't been consistant. thanks, Aaron ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] mtasc and prototypes?
perfect. i'll give that a look. it's been a while since I looked at fuse. a huge makeover to the site.. smith On 9/2/06, Chris Allen [EMAIL PROTECTED] wrote: Hi Arron, I've never tried to use MTASC using a #include that you run in the first frame of a SWF that you then inject with code like you are doing, so I can't really say what your problem might be. From what I can tell it should be no problem, it's the same thing as putting code in the frame, but who knows. Anyway, based on the types of prototype stuff you are adding to MovieClip, you may want to check out Fuse: http://mosessupposes.com/Fuse/index.html It's a really great library for doing animations with code. It's extremely easy, simple and convenient to use and definitely works with MTASC. -Chris On 9/2/06, aaron smith [EMAIL PROTECTED] wrote: Hi all, quick question. I've been running into problems with mtasc. I think it is because of tweening classes. Like a tween class that has a bunch of prototypes added onto the movie clips. mc_tween2.as for example. ( http://hosted.zeh.com.br/mctween/). The way you add these in is by including the file. I would usually do it on the root timeline so mtasc wouldn't complain about an include. but it seems even including it from the root timeline, then trying to mtasc to that pre existing swf that has the tween prototypes in the code already. doesn't go good. I'm thinking that's the problem that i've been having lately with mtasc. i've always used mtasc on RIA's but now trying to get it going with most of my web projects, and my web projects use all these tween prototypes, for convenience of course. So my question is, has anyone experienced this with tween classes that use prototypes? I'm thinking the way to fix it is to create a mc_tween swf that is precompiled with just an include of the tween class, then in any of the other projects that using mtasc to compile, just load the mc_tween swf instead of including it in the compile.. that way mtasc should be ok.. I'm going to give it a try and see what I can come up with, thats the only case I can think of that is giving me mtasc issues, but it hasn't been consistant. thanks, Aaron ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Extending singletons?
I've been messing around with extending singletons. ive never really tried it before. singletons will work just like a regular class is extended from another class right?. do i need to override the getInstance method of them? anything I should know about extending singletons??? 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
Re: [Flashcoders] Any MTASC masters out there?
yeah I was trying all that.. if I change any graphics i recompile with the IDE. then i would compile with mtasc for code changes. I was using the -keep and -mx tags On 8/24/06, John Grden [EMAIL PROTECTED] wrote: do you have precompiled classes in the SWF you're using? you might have to recompile with the IDE then test with mtasc. If you do have classes precompiled in the SWF with the IDE, use the -keep tag. If you're using mx components, use the -mx tag make sense? On 8/24/06, aaron smith [EMAIL PROTECTED] wrote: ok I think I got what you meant. I started by just giving one class path. and the main.as file. then after trying to compile.. it gave me all those errors about having to force compile the actionscript. I went through. one by one. compiling after each one.. evetually it got to the point where no errors spit out. but there is still obvious missing functionality.. really weird.. Aaron On 8/24/06, aaron smith [EMAIL PROTECTED] wrote: sorry not following completely what you mean, quick exmaple? or deeper explanation?.. thank you.. On 8/24/06, John Grden [EMAIL PROTECTED] wrote: you certain could try it. One thing I just did with someone else, was to start at the beginning. Add the main class (if that's what you have) and add a class path. Compile. Follow the errors until you get the necessary classes in there. It worked like a charm. On 8/24/06, aaron smith [EMAIL PROTECTED] wrote: yeah that's what I tried. No luck. It did suppress the errors but now there is missing functionality.. Weird. No errors but there is obvious missing functionality.. If I pack everything in maybe that would force every class to be compiled? On 8/24/06, John Grden [EMAIL PROTECTED] wrote: well, try adding those particular files that it mentions to the comand line. If they're all in a particular pacakge, use the -pack switch and add it. In Flasc, you can just click on the add package button, and piont to a folder. If you're clicking on a parent folder that has a couple different packages, it'll recurse and add them all. On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: no. it is a precompiled swf but no components. I did manage to add all the packages in, and suppressed all errors. but now there is functionality that doesn't work in the mtasc compiled version. It's weird. .not getting any errors. but things aren't working.. I've tried rebuilding the swf from flash then doing mtasc again.. same result. no errors, but obvious missing functionality.. thanks On 8/23/06, John Grden [EMAIL PROTECTED] wrote: are you useing a precompiled SWF with components? On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: yeah I tried that. Still no luck. I am getting the same errors.. here is the entire output::: C:/Program Files/mtasc/mtasc.exe -swf C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/bin/Main.swf -out C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/bin/Main.swf -mx -cp C:/Program Files/Macromedia/Flash 8/en/First Run/Classes -cp C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/classes C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/classes/com/dsotdomb/Main.as -version 8 2 C:/Documents and Settings/aaronsh/Local Settings/Application Data/Macromedia/Flash 8/en/Configuration/Commands/FLASC/errors.txt Warning : The MovieClip searchCancel needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip searchOK needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip authorsButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip aboutButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline
Re: [Flashcoders] Dynamically Upcast to a class in the _global tree?
no that is just the usual way of doing it.. I need to be able to dynamically upcast.. like: vart = new _global['somepackage']['someClass'](); something like that.. i can't remeber how to do that.. with prototypes or _global.. On 8/23/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi, not sure if this is what you mean but: import com.somepackage.HomeView; var bv:BasicView = getSomeBasicView(); var newHomeViewHomeView =HomeView( bv ); grtz JC On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: How do I cast to something that is in the _global tree. by that i mean. cast referencing like this: _global.com.somepackage.SomeClass( var ) or is the _prototype chain? I can't remember... the situation is this, I have a BasicView class. that needs to dynamically be upcast to other views that would potentially extend it, say a HomeView that extends BasicView.. say like this: var bv:BasicView = getSomeBasicView(); var newHomeView:_global.com.somepackage.HomeView = _global.com.somepackage.HomeView( bv ); I'm pretty sure it's possible, don't remember how to do it... 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@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Any MTASC masters out there?
I need some help figuring out how to compile with MTASC. I have used mtasc before, it was a while ago, and now I can't figure out what is going on with this project. I'm just trying to get it to compile. This is my MTASC command: mtasc\mtasc.exe classes\com\dsotdomb\Main.as -cp classes -cp C:\Program Files\Macromedia\Flash 8\en\First Run\Classes -swf bin\Main.swf -version 8 -keep -frame 1 -mx -out Main3.swf I get these errors: [exec] Warning : The MovieClip searchCancel needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : [exec] Please force compilation of this class by adding it to the commandline. [exec] Warning : The MovieClip searchOK needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : [exec] Please force compilation of this class by adding it to the commandline. [exec] Warning : The MovieClip authorsButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : [exec] Please force compilation of this class by adding it to the commandline. [exec] Warning : The MovieClip aboutButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : [exec] Please force compilation of this class by adding it to the commandline. [exec] Warning : The MovieClip previouslyButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : [exec] Please force compilation of this class by adding it to the commandline. [exec] Warning : The MovieClip searchButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : [exec] Please force compilation of this class by adding it to the commandline. [exec] Warning : The MovieClip mainNav needs the class com.dsotdomb.gui.navs.MainNav which was not compiled : [exec] Please force compilation of this class by adding it to the commandline. [exec] Warning : The MovieClip homeView needs the class com.dsotdomb.gui.views.HomeView which was not compiled : [exec] Please force compilation of this class by adding it to the commandline. [exec] Warning : The MovieClip previouslyView needs the class com.dsotdomb.gui.views.PreviouslyView which was not compiled : [exec] Please force compilation of this class by adding it to the commandline. [exec] Warning : The MovieClip testTransition needs the class com.dsotdomb.transition.SiteLoadToHomeTransition which was not compiled : [exec] Please force compilation of this class by adding it to the commandline. [exec] Warning : The MovieClip contentIntro content needs the class com.dsotdomb.transition.SiteLoadToHomeTransition which was not compiled : [exec] Please force compilation of this class by adding it to the commandline. [exec] Warning : The MovieClip siteLoader contentIntro needs the class com.dsotdomb.transition.SiteLoadToHomeTransition which was not compiled : [exec] Please force compilation of this class by adding it to the commandline. [exec] Warning : The MovieClip com.dsotdomb.loaders.SiteLoader needs the class com.dsotdomb.loaders.SiteLoader which was not compiled : [exec] Please force compilation of this class by adding it to the commandline. [exec] Warning : The MovieClip headerView needs the class com.dsotdomb.gui.views.HeaderView which was not compiled : [exec] Please force compilation of this class by adding it to the commandline. I understand that I can force compile them by adding those classes to the command. but how can I get around this. Can i do this with -pack? It just seems rediulous to have to add all these classes.. there should be an easier way? Wait I just realized. it looks like all these warnings are for classes that MoveClips are bound to in the library panel. ( the linkage panel where you can bind it to an AS2 class ).. Is that what the issue is, and how do I ressolve it? 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
Re: [Flashcoders] Any MTASC masters out there?
im using flash develop and trying to get it working through there.. i still would like to know what the issue is. but i'll give flasc a try On 8/23/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Hey try out FLASC, a nice GUI for MTASC that runs in the Flash IDE. http://osflash.org/flasc It makes it easy to add classes and such. -Steven ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Any MTASC masters out there?
I've tried using FLASC. no luck. It doesn't really give me an errors or anything like the compiler from the command line does... i'd just assume use the command line and figure out what is wrong.. so I now how to use mtasc better.. anyway, any help would be much appreciated.. thanks On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: im using flash develop and trying to get it working through there.. i still would like to know what the issue is. but i'll give flasc a try On 8/23/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Hey try out FLASC, a nice GUI for MTASC that runs in the Flash IDE. http://osflash.org/flasc It makes it easy to add classes and such. -Steven ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Any MTASC masters out there?
yeah I tried that. Still no luck. I am getting the same errors.. here is the entire output::: C:/Program Files/mtasc/mtasc.exe -swf C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/bin/Main.swf -out C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/bin/Main.swf -mx -cp C:/Program Files/Macromedia/Flash 8/en/First Run/Classes -cp C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/classes C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/classes/com/dsotdomb/Main.as -version 8 2 C:/Documents and Settings/aaronsh/Local Settings/Application Data/Macromedia/Flash 8/en/Configuration/Commands/FLASC/errors.txt Warning : The MovieClip searchCancel needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip searchOK needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip authorsButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip aboutButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip previouslyButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip searchButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip mainNav needs the class com.dsotdomb.gui.navs.MainNav which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip homeView needs the class com.dsotdomb.gui.views.HomeView which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip previouslyView needs the class com.dsotdomb.gui.views.PreviouslyView which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip testTransition needs the class com.dsotdomb.transition.SiteLoadToHomeTransition which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip contentIntro content needs the class com.dsotdomb.transition.SiteLoadToHomeTransition which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip siteLoader contentIntro needs the class com.dsotdomb.transition.SiteLoadToHomeTransition which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip com.dsotdomb.loaders.SiteLoader needs the class com.dsotdomb.loaders.SiteLoader which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip headerView needs the class com.dsotdomb.gui.views.HeaderView which was not compiled : Please force compilation of this class by adding it to the commandline. Thanks Aaron On 8/23/06, John Grden [EMAIL PROTECTED] wrote: Hey Aaron, click on the icon in the upper left, and rollover the options menu - select show errors and show batch command. Even if you don't want to use the IDE, Flasc will print out a useable script for you to use with FlashDevelop JPG On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: I've tried using FLASC. no luck. It doesn't really give me an errors or anything like the compiler from the command line does... i'd just assume use the command line and figure out what is wrong.. so I now how to use mtasc better.. anyway, any help would be much appreciated.. thanks On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: im using flash develop and trying to get it working through there.. i still would like to know what the issue is. but i'll give flasc a try On 8/23/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Hey try out FLASC, a nice GUI for MTASC that runs in the Flash IDE. http://osflash.org/flasc It makes it easy to add classes and such. -Steven ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Any MTASC masters out there?
no. it is a precompiled swf but no components. I did manage to add all the packages in, and suppressed all errors. but now there is functionality that doesn't work in the mtasc compiled version. It's weird. .not getting any errors. but things aren't working.. I've tried rebuilding the swf from flash then doing mtasc again.. same result. no errors, but obvious missing functionality.. thanks On 8/23/06, John Grden [EMAIL PROTECTED] wrote: are you useing a precompiled SWF with components? On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: yeah I tried that. Still no luck. I am getting the same errors.. here is the entire output::: C:/Program Files/mtasc/mtasc.exe -swf C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/bin/Main.swf -out C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/bin/Main.swf -mx -cp C:/Program Files/Macromedia/Flash 8/en/First Run/Classes -cp C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/classes C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/classes/com/dsotdomb/Main.as -version 8 2 C:/Documents and Settings/aaronsh/Local Settings/Application Data/Macromedia/Flash 8/en/Configuration/Commands/FLASC/errors.txt Warning : The MovieClip searchCancel needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip searchOK needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip authorsButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip aboutButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip previouslyButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip searchButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip mainNav needs the class com.dsotdomb.gui.navs.MainNav which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip homeView needs the class com.dsotdomb.gui.views.HomeView which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip previouslyView needs the class com.dsotdomb.gui.views.PreviouslyView which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip testTransition needs the class com.dsotdomb.transition.SiteLoadToHomeTransition which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip contentIntro content needs the class com.dsotdomb.transition.SiteLoadToHomeTransition which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip siteLoader contentIntro needs the class com.dsotdomb.transition.SiteLoadToHomeTransition which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip com.dsotdomb.loaders.SiteLoader needs the class com.dsotdomb.loaders.SiteLoader which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip headerView needs the class com.dsotdomb.gui.views.HeaderView which was not compiled : Please force compilation of this class by adding it to the commandline. Thanks Aaron On 8/23/06, John Grden [EMAIL PROTECTED] wrote: Hey Aaron, click on the icon in the upper left, and rollover the options menu - select show errors and show batch command. Even if you don't want to use the IDE, Flasc will print out a useable script for you to use with FlashDevelop JPG On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: I've tried using FLASC. no luck. It doesn't really give me an errors or anything like the compiler from the command line does... i'd just assume use the command line and figure out what is wrong.. so I now how to use mtasc better.. anyway, any help would be much appreciated.. thanks On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: im using flash develop and trying to get it working through there.. i still would like to know what the issue is. but i'll
Re: [Flashcoders] Any MTASC masters out there?
would it have anything to do with having imports like: com.somepackage.* VS. com.sompackage.SomeClass ? On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: no. it is a precompiled swf but no components. I did manage to add all the packages in, and suppressed all errors. but now there is functionality that doesn't work in the mtasc compiled version. It's weird. .not getting any errors. but things aren't working.. I've tried rebuilding the swf from flash then doing mtasc again.. same result. no errors, but obvious missing functionality.. thanks On 8/23/06, John Grden [EMAIL PROTECTED] wrote: are you useing a precompiled SWF with components? On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: yeah I tried that. Still no luck. I am getting the same errors.. here is the entire output::: C:/Program Files/mtasc/mtasc.exe -swf C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/bin/Main.swf -out C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/bin/Main.swf -mx -cp C:/Program Files/Macromedia/Flash 8/en/First Run/Classes -cp C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/classes C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/classes/com/dsotdomb/Main.as -version 8 2 C:/Documents and Settings/aaronsh/Local Settings/Application Data/Macromedia/Flash 8/en/Configuration/Commands/FLASC/errors.txt Warning : The MovieClip searchCancel needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip searchOK needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip authorsButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip aboutButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip previouslyButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip searchButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip mainNav needs the class com.dsotdomb.gui.navs.MainNav which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip homeView needs the class com.dsotdomb.gui.views.HomeView which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip previouslyView needs the class com.dsotdomb.gui.views.PreviouslyView which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip testTransition needs the class com.dsotdomb.transition.SiteLoadToHomeTransition which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip contentIntro content needs the class com.dsotdomb.transition.SiteLoadToHomeTransition which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip siteLoader contentIntro needs the class com.dsotdomb.transition.SiteLoadToHomeTransition which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip com.dsotdomb.loaders.SiteLoader needs the class com.dsotdomb.loaders.SiteLoader which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip headerView needs the class com.dsotdomb.gui.views.HeaderView which was not compiled : Please force compilation of this class by adding it to the commandline. Thanks Aaron On 8/23/06, John Grden [EMAIL PROTECTED] wrote: Hey Aaron, click on the icon in the upper left, and rollover the options menu - select show errors and show batch command. Even if you don't want to use the IDE, Flasc will print out a useable script for you to use with FlashDevelop JPG On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: I've tried using FLASC. no luck. It doesn't really give me an errors or anything like the compiler from the command line does... i'd just assume use the command line and figure out what is wrong.. so I now
Re: [Flashcoders] Any MTASC masters out there?
yeah that's what I tried. No luck. It did suppress the errors but now there is missing functionality.. Weird. No errors but there is obvious missing functionality.. If I pack everything in maybe that would force every class to be compiled? On 8/24/06, John Grden [EMAIL PROTECTED] wrote: well, try adding those particular files that it mentions to the comand line. If they're all in a particular pacakge, use the -pack switch and add it. In Flasc, you can just click on the add package button, and piont to a folder. If you're clicking on a parent folder that has a couple different packages, it'll recurse and add them all. On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: no. it is a precompiled swf but no components. I did manage to add all the packages in, and suppressed all errors. but now there is functionality that doesn't work in the mtasc compiled version. It's weird. .not getting any errors. but things aren't working.. I've tried rebuilding the swf from flash then doing mtasc again.. same result. no errors, but obvious missing functionality.. thanks On 8/23/06, John Grden [EMAIL PROTECTED] wrote: are you useing a precompiled SWF with components? On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: yeah I tried that. Still no luck. I am getting the same errors.. here is the entire output::: C:/Program Files/mtasc/mtasc.exe -swf C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/bin/Main.swf -out C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/bin/Main.swf -mx -cp C:/Program Files/Macromedia/Flash 8/en/First Run/Classes -cp C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/classes C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/classes/com/dsotdomb/Main.as -version 8 2 C:/Documents and Settings/aaronsh/Local Settings/Application Data/Macromedia/Flash 8/en/Configuration/Commands/FLASC/errors.txt Warning : The MovieClip searchCancel needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip searchOK needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip authorsButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip aboutButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip previouslyButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip searchButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip mainNav needs the class com.dsotdomb.gui.navs.MainNav which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip homeView needs the class com.dsotdomb.gui.views.HomeView which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip previouslyView needs the class com.dsotdomb.gui.views.PreviouslyView which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip testTransition needs the class com.dsotdomb.transition.SiteLoadToHomeTransition which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip contentIntro content needs the class com.dsotdomb.transition.SiteLoadToHomeTransition which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip siteLoader contentIntro needs the class com.dsotdomb.transition.SiteLoadToHomeTransition which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip com.dsotdomb.loaders.SiteLoader needs the class com.dsotdomb.loaders.SiteLoader which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip headerView needs the class com.dsotdomb.gui.views.HeaderView which was not compiled : Please force compilation of this class by adding it to the commandline. Thanks
Re: [Flashcoders] Any MTASC masters out there?
sorry not following completely what you mean, quick exmaple? or deeper explanation?.. thank you.. On 8/24/06, John Grden [EMAIL PROTECTED] wrote: you certain could try it. One thing I just did with someone else, was to start at the beginning. Add the main class (if that's what you have) and add a class path. Compile. Follow the errors until you get the necessary classes in there. It worked like a charm. On 8/24/06, aaron smith [EMAIL PROTECTED] wrote: yeah that's what I tried. No luck. It did suppress the errors but now there is missing functionality.. Weird. No errors but there is obvious missing functionality.. If I pack everything in maybe that would force every class to be compiled? On 8/24/06, John Grden [EMAIL PROTECTED] wrote: well, try adding those particular files that it mentions to the comand line. If they're all in a particular pacakge, use the -pack switch and add it. In Flasc, you can just click on the add package button, and piont to a folder. If you're clicking on a parent folder that has a couple different packages, it'll recurse and add them all. On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: no. it is a precompiled swf but no components. I did manage to add all the packages in, and suppressed all errors. but now there is functionality that doesn't work in the mtasc compiled version. It's weird. .not getting any errors. but things aren't working.. I've tried rebuilding the swf from flash then doing mtasc again.. same result. no errors, but obvious missing functionality.. thanks On 8/23/06, John Grden [EMAIL PROTECTED] wrote: are you useing a precompiled SWF with components? On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: yeah I tried that. Still no luck. I am getting the same errors.. here is the entire output::: C:/Program Files/mtasc/mtasc.exe -swf C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/bin/Main.swf -out C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/bin/Main.swf -mx -cp C:/Program Files/Macromedia/Flash 8/en/First Run/Classes -cp C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/classes C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/classes/com/dsotdomb/Main.as -version 8 2 C:/Documents and Settings/aaronsh/Local Settings/Application Data/Macromedia/Flash 8/en/Configuration/Commands/FLASC/errors.txt Warning : The MovieClip searchCancel needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip searchOK needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip authorsButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip aboutButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip previouslyButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip searchButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip mainNav needs the class com.dsotdomb.gui.navs.MainNav which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip homeView needs the class com.dsotdomb.gui.views.HomeView which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip previouslyView needs the class com.dsotdomb.gui.views.PreviouslyView which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip testTransition needs the class com.dsotdomb.transition.SiteLoadToHomeTransition which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip contentIntro content needs the class com.dsotdomb.transition.SiteLoadToHomeTransition which was not compiled : Please force
Re: [Flashcoders] Any MTASC masters out there?
ok I think I got what you meant. I started by just giving one class path. and the main.as file. then after trying to compile.. it gave me all those errors about having to force compile the actionscript. I went through. one by one. compiling after each one.. evetually it got to the point where no errors spit out. but there is still obvious missing functionality.. really weird.. Aaron On 8/24/06, aaron smith [EMAIL PROTECTED] wrote: sorry not following completely what you mean, quick exmaple? or deeper explanation?.. thank you.. On 8/24/06, John Grden [EMAIL PROTECTED] wrote: you certain could try it. One thing I just did with someone else, was to start at the beginning. Add the main class (if that's what you have) and add a class path. Compile. Follow the errors until you get the necessary classes in there. It worked like a charm. On 8/24/06, aaron smith [EMAIL PROTECTED] wrote: yeah that's what I tried. No luck. It did suppress the errors but now there is missing functionality.. Weird. No errors but there is obvious missing functionality.. If I pack everything in maybe that would force every class to be compiled? On 8/24/06, John Grden [EMAIL PROTECTED] wrote: well, try adding those particular files that it mentions to the comand line. If they're all in a particular pacakge, use the -pack switch and add it. In Flasc, you can just click on the add package button, and piont to a folder. If you're clicking on a parent folder that has a couple different packages, it'll recurse and add them all. On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: no. it is a precompiled swf but no components. I did manage to add all the packages in, and suppressed all errors. but now there is functionality that doesn't work in the mtasc compiled version. It's weird. .not getting any errors. but things aren't working.. I've tried rebuilding the swf from flash then doing mtasc again.. same result. no errors, but obvious missing functionality.. thanks On 8/23/06, John Grden [EMAIL PROTECTED] wrote: are you useing a precompiled SWF with components? On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: yeah I tried that. Still no luck. I am getting the same errors.. here is the entire output::: C:/Program Files/mtasc/mtasc.exe -swf C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/bin/Main.swf -out C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/bin/Main.swf -mx -cp C:/Program Files/Macromedia/Flash 8/en/First Run/Classes -cp C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/classes C:/Documents and Settings/aaronsh/Desktop/dev/flash/flashprojects/disasterstruclonthedayofmybirth/classes/com/dsotdomb/Main.as -version 8 2 C:/Documents and Settings/aaronsh/Local Settings/Application Data/Macromedia/Flash 8/en/Configuration/Commands/FLASC/errors.txt Warning : The MovieClip searchCancel needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip searchOK needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip authorsButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip aboutButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip previouslyButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip searchButton needs the class com.dsotdomb.gui.buttons.PseudoButton which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip mainNav needs the class com.dsotdomb.gui.navs.MainNav which was not compiled : Please force compilation of this class by adding it to the commandline. Warning : The MovieClip homeView needs the class com.dsotdomb.gui.views.HomeView which was not compiled : Please force compilation of this class by adding it to the commandline. Warning
[Flashcoders] Dynamically Upcast to a class in the _global tree?
How do I cast to something that is in the _global tree. by that i mean. cast referencing like this: _global.com.somepackage.SomeClass( var ) or is the _prototype chain? I can't remember... the situation is this, I have a BasicView class. that needs to dynamically be upcast to other views that would potentially extend it, say a HomeView that extends BasicView.. say like this: var bv:BasicView = getSomeBasicView(); var newHomeView:_global.com.somepackage.HomeView = _global.com.somepackage.HomeView( bv ); I'm pretty sure it's possible, don't remember how to do it... 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] extending flash with c++?, watching files as they are updated
I need to find a solution to a problem. I have a couple different options so far. the problem: I need to be able to execute some flash commands when a file is changed. ( needs to be as close to real-time as possible ). The file is a basic log file. possible solutions: -Now what i'm wondering is if it's possible to use c++ to extend flash and add some sort of file watching object. so have c++ be watching the file, and as it's being written to be notifying another object in flash of the change. -python, socket server. any recommendations or help in the right direction would be appreciated. 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] mtasc inject code onto first frame of root tmeline?
is it possible to use mtasc to inject code into the root timeline of a already existing swf? the swf is video. I want to inject some code onto the first frame so I can control it when loaded cross domain. 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] actionscript injection on root timeline?
is it possible to use mtasc to inject code into the root timeline of a already existing swf? the swf is an embeddedvideo. I want to inject some code onto the first frame so I can control it when loaded. 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
Re: [Flashcoders] actionscript injection on root timeline?
thanks.. got it. jcarlos wrote: Mtasc compiler has a parameter -frame (framenumber) wich sets the injection point. from mtasc.org Additional arguments are the following : a.. -swf file : specify input SWF which contains assets. b.. -cp path : add a directory path to the ClassPath : this is the list of directories that MTASC will use to look for .as files. You can use several times -cp to add several directories. c.. -main : will automaticaly call static function main once all classes are registered. d.. -header width:height:fps:bgcolor : does not load a SWF, instead create a new one containing only compiled code and using provided header informations. bgcolor is optional and should be 6 digits hexadecimal value. e.. -mx : use precompiled MX classes (see section on V2 components below). Some other arguments, for advanced users : a.. -version n : specify SWF version : 6 to generate Player 6r89 compatible SWF or 8 to access Flash8 features. b.. -v : activate verbose mode, printing some additional informations about compiling process. c.. -out file : change output swf file. d.. -msvc : use Microsoft Visual Studio errors style formating instead of Java style (for file names and lines number). e.. -strict : will use strict compilation mode which require that all variables are explicitely typed. f.. -exclude file : exclude code generation of classes listed in specified file (format is one full class path per line). g.. -trace function : specify a custom trace function. (see Trace Facilities), or no disable all the traces. h.. -keep : keep AS2 classes compiled by MCC into the SWF (this could cause some classes to be present two times if also compiled with MTASC). i.. -frame f : will export AS2 classes into target frame of swf. j.. -pack path : compile all the files contained in specified package - not recursively (eg to compile files in c:\flash\code\my\app do mtasc -cp c:\flash\code -pack my/app). k.. -group : will merge classes into one single clip (this will reduce SWF size but might cause some problems if you're using -keep or -mx). l.. -wimp : adds warnings for import statements that are not used in the file. m.. -infer : adds type inference for initialized local variables (see below). and those who use MTASC and did not have know about haXe should spend some time and take a look for this language, from www.haxe.org Basicly, what haXe can do is : a.. create Flash SWF files using Flash APIs for Players 6,7,8 and soon 8.5 b.. generate Javascript code using Browser DHTML API, so you can create AJAX web applications c.. generate Bytecode that can be used on the Server side (using an Apache plugin) or packed into standalone executable Each of theses platforms have their own API, but they share the same programming language and the same standard library, so if your classes are pure code (using no platform-specific API) then they can be compiled and used everywhere, depending on your needs. Also, haXe make it easy to interoperate between theses different platforms, by providing common protocol libraries. Please note that it's still possible to use haXe on only one platform if you want for example keep your current working code. João Carlos - Original Message - From: aaron smith [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, May 28, 2006 6:07 AM Subject: [Flashcoders] actionscript injection on root timeline? is it possible to use mtasc to inject code into the root timeline of a already existing swf? the swf is an embeddedvideo. I want to inject some code onto the first frame so I can control it when loaded. 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@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] squeeze: flv swf
does anyone know if the full version of squeeze will let you convert an flv into a swf. it doesn't in the trial but on the site it looks like the full version will.. or any other options for flv swf? there was supposed to be a script at northcode.com. somesort of free utility.. but I can't find it.. 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
Re: [Flashcoders] Multiple FLVPlayback problem
hey.. sorry I haven't posted the code yet. but it sounds like you got yours figured out. thats good. here is the code: 2 classes /** * @author Aaron Smith * @version **/ //video stuff needed import com.iqtv.vw.gticonfig.video.*; //events import mx.utils.Delegate; import mx.events.EventDispatcher; import clib.*; class net.smithaaronlee.MultipleFLVVideoPlayer extends MovieClip { //video streaming private var _connection:NetConnection; private var _nStream:NetStream; private var _vidClips:Array; private var _video:Video; private var streamClips:Array; private var preloadedClips:Array; private var totalBytes:Number = 0; private var loadedBytes:Number = 0; private var totalPlayedTime:Number = 0; private var playheadTime:Number = 0; private var durations:Array; private var currentStream:MultipleFLVVideoPlayerClip; private var progressInt:Number; private var isPlaying:Boolean = false; private var clipToLoop:Number = 0; private var loopClip:Boolean = false; private var _autoStart:Boolean = false; //event methods private var dispatchEvent:Function; public var addEventListener:Function; public var removeEventListener:Function; //constructor public function MultipleFLVVideoPlayer( videoClips:Array, vid:Video ) { super(); //initialized the event dispatcher EventDispatcher.initialize(this); //init vars _vidClips = []; streamClips = []; preloadedClips = []; durations = []; _vidClips = videoClips; _video = vid; _connection = new NetConnection(); _connection.connect( null ); //initialize init(); } //initialize this player public function init():Void { startPreloading(); } //register the video component to use public function registerVideo( vid:Video ):Void { _video = vid; } //set the stream clips public function setClips( clips:Array ):Void { _vidClips = clips; } //start preloading video private function startPreloading():Void { //stop preloading first, the start again. stopPreloading(); //create new VideoPlayerFLVCLips for each video //add each video to the streamclips array for( var i:Number = 0; i _vidClips.length; i++ ) { streamClips[i] = new MultipleFLVVideoPlayerClip( _connection, _video, _vidClips[i] ); streamClips[i].streamIndex = i; addListenersToStream( i ); } //start the preloading sequence with the first clip ( onMeta it will keep preloading next clips); streamClips[0].startPreloading(); startProgessUpdate(); } //stop all preloading public function stopPreloading():Void { currentStream.pause(); for( var i:Number = 0; i streamClips.length; i++ ) { streamClips[ i ].stopPreloading(); } clearInterval( progressInt ); } //play video public function play():Void { StaticLogger.getInstance().Trace( 'PLAY' ) if( isPlaying ) { //toggle the play / pause pause(); } else { isPlaying = true; //reset current play info playheadTime = 0; totalPlayedTime = 0; //play the video ( all video sequenced together ). start at first video if( currentStream.loopClip == true ) { currentStream.pause(); } currentStream = streamClips[ 0 ]; currentStream.play(); } } //pause the curent stream public function pause():Void { currentStream.pause(); } //replay the video public function replay():Void { //set isPlaying swithc to false so it starts the stream over in the play() method isPlaying = false; play(); } //loop the last clip in the sequence public function set loopLastClip( bool:Boolean ):Void { streamClips[ streamClips.length - 1 ].loopClip = bool; } //auto start options public function set autoStart( bool:Boolean ):Void { _autoStart = bool; } //interval for checking the progress private function startProgessUpdate():Void { progressInt = setInterval( Delegate.create(this, checkProgress ), 10 ); } //the actual update of progress private function checkProgress():Void { //clear out the current load information var amountLoaded:Number = 0; var totalBytes:Number = 0; var amountLoaded:Number = 0; var totalDuration:Number = 0; //get totals for bytes loaded and totalbytes for all clips for( var i:Number = 0; i streamClips.length; i++ ) { amountLoaded += streamClips[i].getStream().bytesLoaded; totalBytes += streamClips[i].getStream().bytesTotal; } ///StaticLogger.getInstance().Trace(amountLoaded
[Flashcoders] FDT question.
I decided to start using FDT because of all the features. I recently worked with a guy who used it and was able to show me all the capabilities of it. I got eclipse and installed FDT. but some of the features don't seem to work. for example the task list. The parser error notifications dont work either. like it will tell you that your missing semicolons and what not.. http://www.actionscript.com/Article/tabid/54/ArticleID/Optimizing-Your-Workflow-with-Eclipse-and-FDT/Default.aspx that is an article I was reading to test the features out. but a lot of them don't work. These also don't work, Quick Type Hierarchy, Quick Outline, f5, f4, f3. And also the outline pane doesn't do anything when I have a class open. does anyone have any idea what is going on? shouldn't I just be able to install FDT and use all these features. By the way I installed the demo. I'm wondering if that is why it's not working.. I also noticed that when I try to do a quick type hierarchy ( ctrl + t) it says : 'could not perform operation' in the lower left in red. is that because it's a demo? I don't need anything that FAME uses right? except mtasc of course. 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] netstream and seeking. high fps.
so looking at netstreams and being able to seek in them. I found that you need really high frame rates, or a lot of keyframes. because flash uses the closest keyframe to whatever seek time you go to. so if I have a 30 second video encoded at 30fps. there is only like 2 keyframes. so when this is the case if you seek it only goes to either the very beginning of the video or the very end, I have tested this with my components and macromedia's standard components. there isn't any in between. I have read about this in various place and what not. I just wanted to hear from somebody else who also had experience with this issue. the solution is just to export flv's at a high frame rate. so you get way more keyframes. right? after sayng and asking that. how does youtube seek? they must be using flash media server that has some more capabilities?? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] converting mass flv's into swfs?
does anyone know of a way to conver hundreds of flvs into swf files.. like when you take an flv onto the timeline and publish 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] scrubbing swfs like flvs?
Does anyone know if you can scrub swf files like you can scrub flvs? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] NetStream.play() crashes flash if the flv is not found.
has anyone had this experience also. If i call netstream.play('sdf.flv') and the flv isnt found. it crashes both the ide and the player. does it only happen locally? I know there is a NetStream.Play.StreamNotFound event, but that doesnt work. it crashes before that even calls. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Multiple FLVPlayback problem
one other thing, you might want to split up your video even more.. like 6 - 10 clips. that way they're way smaller files.. seeking and loading wouldn't be a problem then. aaron smith wrote: I'm also working on a project that requires multiple flv's also. What I did was create a very basic multiple flv player. then with that you listen to whatever events you want to tap into. say for some video controls and what not. I will share it with you later tonight. I need to refactor it a bit and add a little more functionality.. but it works great! I need to build in seeking capabilities and cuepoint capabilities.. other than that. it all works great. I am using with 2 - 5 MB files. of about 2 or 3 files.. so total up those files and generally its about 10 - 15 megs.. as far as preloading the flvs. what you need to do is start playing the first one. then when you get a metadata event for that one. start playing the second one, once you get metadeta for that one. add it to total time and pause it.. it will still continue to download the flv though... so basically you need to wait till one has metadeta.. then start the next one. or you could come up with some other way of doing this. but thats how I had to do it without killing the player because of all the video loading. this way works great locally. over the net it also works great but my files are considerablly smaller. like I said. i'll share this with you later tonight.. I also am planning on releasing it for public use. I just need to get it ready for release. smith Jim Tann wrote: Originally posted on OSFlash.org list, sorry to double post, sent to wrong list. Hi all, I am working on several projects that have very large videos (1-2 hours) that need to be delivered on CD-Rom Intranet. After trying to use one large video file I realized there is a large problem when seeking to any point in the video in that It has to buffer itself up to the point you wish to play on these large videos that can take quite some time. This led me to chop the video up into 2 min chunks write a segmented video player so they play as one video. This is working great on most machines but on the occasional Windows 98 machine it is crashing when initially grabbing the flv's. I think the problem is that when initializing the component it is trying to load all the flv's at once. Does anyone have any insight into this? Is there another segmented video player about? Here is the class: /*** * @author - James Tann * * FILE:: SegmentedFLVPlayback.as * PACKAGE:: com.codesortium.video.SegmentedFLVPlayback * AUTHOR:: James Tann * AUTHOR SITE:: http://www.avtgroup.com * CREATED:: 10/04/2006 * DESCRIPTION:: / // ** AUTO-UI IMPORT STATEMENTS ** // ** END AUTO-UI IMPORT STATEMENTS ** import mx.video.FLVPlayback; import mx.utils.Delegate; import mx.events.EventDispatcher; class com.codesortium.video.SegmentedFLVPlayback extends MovieClip { // Constants: public static var CLASS_REF:Function= com.codesortium.video.SegmentedFLVPlayback; public static var LINKAGE_ID:String= SegmentedFLVPlayback; public static var SymbolLinked:Boolean= Object.registerClass(LINKAGE_ID, CLASS_REF); // Public Properties: public var addEventListener:Function; public var removeEventListener:Function; public var autoPlay:Boolean = false; public var bufferTime:Number = 0.1; public var playheadTime:Number = 0; public var playheadUpdateInterval:Number= 250; public var progressInterval:Number = 250; public var state:String = ; public var totalTime:Number = 0; public var stateResponsive:Boolean = false; public var buffering:Boolean = false; // Private Properties: private var dispatchEvent:Function; private var _arrFLVPlayback:Array; private var _activeFlvPlayback:FLVPlayback; private var _totalLength:Number = 0; private var _position:Number = 0; private var _volume:Number = 100; private var _arrCuePoints:Array; // UI Elements: // ** AUTO-UI ELEMENTS ** private var mcBackground:MovieClip; // ** END AUTO-UI ELEMENTS ** // Initialization: private function SegmentedFLVPlayback() { EventDispatcher.initialize(this); _arrFLVPlayback= new Array(); _arrCuePoints= new Array(); } private function onLoad():Void { configUI(); } // Public Methods: public function toString() : String { return com.codesortium.video.SegmentedFLVPlayback; } public function get width():Number{ return _width; } public function set width(intSet:Number
[Flashcoders] netStream.close()
does anyone know how to close down an open netstream and stop it from downloading data? so after I call a netStream.play(flv) if I call netStream.close() it doesnt seem to stop it from dlownloading data. or even do what the livedocs say it should for that matter. kinda sketchy.. what if I called netStream.play(flv) just with a non existant flv?? would that stop it? smith ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] controlling sound of NetStream.
ah.. so when playing multiple streams they all need to be in a separate movieclips? then I can control each sound individually? Ramon Miguel M. Tayag wrote: I made a class to handle it all, but basically, ... http://pastebin.com/710724 and instantiate it on the timeline var CSC:CSC = new CSC(this); This allows me to use the custom sound class and just keep instantiating it, and it worries about putting it into a unique movieclip for me, so I can control the sound individually, because it's that you need to do: pass on a movieclip when you create the sound so you can control them separately. On 5/11/06, aaron smith [EMAIL PROTECTED] wrote: is there a way to control the sound of a netStream? while streaming multiple netStreams all the sound plays. how can I turn one off. while the other is playing? word ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] controlling sound of NetStream.
is there a way to control the sound of a netStream? while streaming multiple netStreams all the sound plays. how can I turn one off. while the other is playing? word ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] controlling sound of NetStream.
perfect. thanks Ramon Miguel M. Tayag wrote: Yup, exactly On 5/11/06, aaron smith [EMAIL PROTECTED] wrote: ah.. so when playing multiple streams they all need to be in a separate movieclips? then I can control each sound individually? Ramon Miguel M. Tayag wrote: I made a class to handle it all, but basically, ... http://pastebin.com/710724 and instantiate it on the timeline var CSC:CSC = new CSC(this); This allows me to use the custom sound class and just keep instantiating it, and it worries about putting it into a unique movieclip for me, so I can control the sound individually, because it's that you need to do: pass on a movieclip when you create the sound so you can control them separately. On 5/11/06, aaron smith [EMAIL PROTECTED] wrote: is there a way to control the sound of a netStream? while streaming multiple netStreams all the sound plays. how can I turn one off. while the other is playing? word ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] load two flv's and merge them into one flv?
does anyone know if you can load two flv's then put them together somehow. I need to be able to play the two flv's as one and be able to scrub the whole thing too.. Anyone have any ideas? thanks smith ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Testing ExternalInterface on Windows for me.
I am at work right now. And we only have one windows machine. We are using some ExternalInterface functionality in one of our projects. It's not working on out windows machine. It doesn't work in either Firefox or Internet Explorer. It works fine in every browser on MAC. I've been doing some testing to figure out what it was. And could not figure it out. So I created an even smaller test. There is two lines of code in the fla that calls an ExternalInterface call to a js method that just displays an alert. Even that doesnt work. If someone could take a quick look at my src files. Test it on IE and Firefox Windows. And let me know if it works. If it does work for others it means we have a problem with our win machine. here is a zip ( www.smithaaronlee.net/ExtIntTest.zip ) file with the src (fla, swf, html) . just open it up and look at the test.html file in firefox and IE. it should just pop up an alert right away. I would really appreciate someone doing this. it will only take a sec. thanks, smith ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Testing ExternalInterface on Windows for me.
ok, yeah I wonder if thats the issue (local). I was just testing it locally. I'll try it on a server. On Apr 18, 2006, at 11:17 AM, Ryan Potter wrote: Did you upload it to a server and test it or just do it locally? It doesn't work for me if it is local but it works like a champ when uploaded and I am on windows too. I will look at your source. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Smith Sent: Tuesday, April 18, 2006 12:12 PM To: Flashcoders mailing list Subject: [Flashcoders] Testing ExternalInterface on Windows for me. I am at work right now. And we only have one windows machine. We are using some ExternalInterface functionality in one of our projects. It's not working on out windows machine. It doesn't work in either Firefox or Internet Explorer. It works fine in every browser on MAC. I've been doing some testing to figure out what it was. And could not figure it out. So I created an even smaller test. There is two lines of code in the fla that calls an ExternalInterface call to a js method that just displays an alert. Even that doesnt work. If someone could take a quick look at my src files. Test it on IE and Firefox Windows. And let me know if it works. If it does work for others it means we have a problem with our win machine. here is a zip ( www.smithaaronlee.net/ExtIntTest.zip ) file with the src (fla, swf, html) . just open it up and look at the test.html file in firefox and IE. it should just pop up an alert right away. I would really appreciate someone doing this. it will only take a sec. thanks, smith ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Testing ExternalInterface on Windows for me.
Yes I tried it out on yours and my server. works just fine. Now have a look at this. on Firefox and IE: ( http://www.smithaaronlee.net/ jstest/ImgScrollerTEST.html ) It works in firefox like it should. But in IE it doesn't work completely. I'm having troubles figuring out what is wrong in IE, IE throws errors when you click on a step button. Just viewsource to see the JS. this is what it is supposed to do: when you click a 'step' button it reloads different thumbnails in the scroller piece. when you click on a thumbnail it communicates through js to the other flash piece to load a larger img. On Apr 18, 2006, at 11:29 AM, Ryan Potter wrote: I tested it and it works. It is the testing locally issue. Here is your code on a server: http://www.thoughtwillrise.com/flash/exttest/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Smith Sent: Tuesday, April 18, 2006 12:22 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Testing ExternalInterface on Windows for me. ok, yeah I wonder if thats the issue (local). I was just testing it locally. I'll try it on a server. On Apr 18, 2006, at 11:17 AM, Ryan Potter wrote: Did you upload it to a server and test it or just do it locally? It doesn't work for me if it is local but it works like a champ when uploaded and I am on windows too. I will look at your source. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Smith Sent: Tuesday, April 18, 2006 12:12 PM To: Flashcoders mailing list Subject: [Flashcoders] Testing ExternalInterface on Windows for me. I am at work right now. And we only have one windows machine. We are using some ExternalInterface functionality in one of our projects. It's not working on out windows machine. It doesn't work in either Firefox or Internet Explorer. It works fine in every browser on MAC. I've been doing some testing to figure out what it was. And could not figure it out. So I created an even smaller test. There is two lines of code in the fla that calls an ExternalInterface call to a js method that just displays an alert. Even that doesnt work. If someone could take a quick look at my src files. Test it on IE and Firefox Windows. And let me know if it works. If it does work for others it means we have a problem with our win machine. here is a zip ( www.smithaaronlee.net/ExtIntTest.zip ) file with the src (fla, swf, html) . just open it up and look at the test.html file in firefox and IE. it should just pop up an alert right away. I would really appreciate someone doing this. it will only take a sec. thanks, smith ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Testing ExternalInterface on Windows for me.
Mark, Ryan, Thanks for the input. I looked at that other guys ExternalInterface testing. I switched all of my code to follow what he is doing. I am still getting IE errors. I can't figure out what is going on. IE doesn't like calling methods on the flash object for some reason. When it calls ( flashMovieScroller.gotoStepFromJS(num) ) it errors out. Why would it be doing that for my methods and not Geoff's methods. Weird!. take a look again at this. Look at the update JS and HTML compared to that other guys. See if there's anything you notice that might be wrong. http://www.smithaaronlee.net/jstest/ImgScrollerTEST333.html The only thing I haven't tried yet was rearranging the flash objects on the page to see if that helps. I guess i'll give that a try thanks for taking the time. -Smith On Apr 18, 2006, at 12:46 PM, Mark Llobrera wrote: Ryan: When testing locally with Windows/IE, you can set allowScriptAccess to 'always' - it'll save you having to upload to a server. Aaron: I was stalled with ExternalInterface myself yesterday; I had the hardest time getting it to work on the Windows/IE combo. The included samples from Macromedia didn't work, and several others on the web didn't work either. Other browsers (Firefox, Safari/Firefox on the Mac) worked fine. Since I was using flashobject to embed the swf, I wandered over to Geoff Stearns's blog and found this example: http://blog.deconcept.com/code/externalinterface.html. I eventually ended up taking that html (since it worked on Win/IE) and using it as the basis for my html page, just so I could figure out what was wrong. I found two things different between my page that didn't work and the deconcept example: If you look at the code on that page the reference to the flash movie isn't initialized until the entire page is loaded. That would be the first place I would look. The second thing I learned yesterday (and this is where it starts to devolve into voodoo) is that the order of items on the page matters greatly (but seemingly only on Win/IE). I was calling a flash movie from a javascript function triggered by a form button (http://www.dirtystylus.com/sandbox/feedroom/filebrowser/ file_browser.html - an attempt to feed an flv on a local filesystem to a video object). When the form was placed before embedding the swf, it didn't work on Win/IE. As soon as I moved the form after the embedded swf in the html code, it worked. Extremely weird. -Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ryan Potter Sent: Tuesday, April 18, 2006 3:19 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Testing ExternalInterface on Windows for me. I get the same as you. I looked at the external interface code that I have and the only difference I can see is I have swLiveConnect set to true but I don't think that is it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Smith Sent: Tuesday, April 18, 2006 12:46 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Testing ExternalInterface on Windows for me. Yes I tried it out on yours and my server. works just fine. Now have a look at this. on Firefox and IE: ( http://www.smithaaronlee.net/ jstest/ImgScrollerTEST.html ) It works in firefox like it should. But in IE it doesn't work completely. I'm having troubles figuring out what is wrong in IE, IE throws errors when you click on a step button. Just viewsource to see the JS. this is what it is supposed to do: when you click a 'step' button it reloads different thumbnails in the scroller piece. when you click on a thumbnail it communicates through js to the other flash piece to load a larger img. On Apr 18, 2006, at 11:29 AM, Ryan Potter wrote: I tested it and it works. It is the testing locally issue. Here is your code on a server: http://www.thoughtwillrise.com/flash/exttest/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Smith Sent: Tuesday, April 18, 2006 12:22 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Testing ExternalInterface on Windows for me. ok, yeah I wonder if thats the issue (local). I was just testing it locally. I'll try it on a server. On Apr 18, 2006, at 11:17 AM, Ryan Potter wrote: Did you upload it to a server and test it or just do it locally? It doesn't work for me if it is local but it works like a champ when uploaded and I am on windows too. I will look at your source. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Smith Sent: Tuesday, April 18, 2006 12:12 PM To: Flashcoders mailing list Subject: [Flashcoders] Testing ExternalInterface on Windows for me. I am at work right now. And we only have one windows machine. We are using some ExternalInterface functionality in one of our projects. It's not working on out windows
Re: [Flashcoders] Talking to Flash from JavaScript
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?href=2200.html Erik Porroa V. wrote: Ey Jon. I know that you can control an flash object with Dreamweaver's behaviors (yep, JavaScript), but I'm not sure if it can control media components (If you are working with FLV). Go to Tag Inspector panel, then Behaviors, press + and choose Control Shockwave or Flash... I hope it work. Erik http://www.porroa.com/erik Jon Robert escribió: Hi, I have a flash video playing in an HTML page. I want to be able to click a link in the HTML (not in the movie) and have the flash video stop. What's the best way to accomplish this? JavaScript? Thanks in advance, JP ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] combobox big problem
Do you have it under a mask? if so I think you need to embed the fonts. On Apr 10, 2006, at 2:32 PM, Alfonso Florio wrote: this is really strange: i create a serie of mcs with into them two combobox, populate and select index, all ok. when i delete them (i try to delete the mc container and the components) and re-create them (to delete some items and re-create the list), or just change the dataprovider a strange thing happens: the combo don't show the selection: if i click i see the right selection in the list, but when i select another item the closed combo results with no text!!! it's a visualization problem, the combo gives the right index, but when it's closed don't show the text of the selected item i'm getting crazy, please help Alfonso ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Load 40% of target with MovieClipLoader Class
onLoad init gets fired only when there is enough data for the movieCilp to perfrom actions. so it probably is waiting till like 70 - 80% when there is enough to play it. On Apr 7, 2006, at 5:10 PM, Mike Guerrero wrote: Question: How can I load only 40% of a target movieclip using the MovieClipLoader class? I have used several times to load swfs, but on a recent project the target swfs are over 4MB. So, instead of waiting for all of it to load, want it to start playing at around 40%. I am using onLoadInit. I think that is firing once the whole swf is loaded. I am probably over thinking it. Staring too much at the code, MikeG ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] webcam help? please.....
Sorry i'm asking this here. I put it in some forums online and am not getting any responses. So I figured ya'll could help me out. Does anyone know of any webcams that work with MAC OS X other than an iSight?? If not, does anyone know if AOL AIM Video chat will work with iChat on OSX? ( AIM to iChat ).. I'm having to do this video conference soon, the other guy is for sure gonna be on a mac. I need a solution for the above... thanks in advance to anyone. sorry i put this here.. not getting much from other forums.. smith ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Radiobutton - Dispatch event on code selected?
Sure its possible!!! Marcelo, here is a solution: put two radio buttons on the stage and call it rb1 / rb2. then in the actions layer put: import mx.controls.RadioButton; import mx.utils.Delegate; import mx.events.EventDispatcher; var dispatchEvent:Function; EventDispatcher.initialize(this); //create prototype reference for RadioButton var osv = _global.mx.controls.RadioButton.prototype; //hold onto the old setSelected method ( The intrinsic set Selected method is in SimpleButton, RadioButton inherits from that. the set method simply calls setSelected. ) osv.oldSetSelected = osv.setSelected; osv.oldOnRelease = osv.onRelease; //overwrite onrelease to deal with multiple events being dispatched. osv.onRelease = function():Void { this['wasReleased'] = true; this.oldOnRelease.apply(this,[]); } //overwrite the old method with new method. osv.setSelected = function(val:Boolean):Void { if( !this['wasReleased'] ) { if( val == true ) { this.dispatchEvent( { type:'codeSelected' } ); this.oldSetSelected.apply( this,[ true ] ); } } else { this.oldSetSelected.apply( this,[ true ] ); } this['wasReleased'] = false; } //add listener to radio button. rb1.addEventListener('codeSelected', Delegate.create(this, handleCodeSelect)); rb1.addEventListener('click', Delegate.create(this, handleClick)); //handle code selected event function handleCodeSelect():Void { trace(codeSelected); } //handle click event function handleClick():Void { trace(CLICK); } //set an interval to do some testing on the codeSelected event tmpInt = setInterval(setSel,1000,true); //set the selected property function setSel():Void { //trigger the event rb1.selected = true; } test that out.. you'll see that for testing i just set an interval to change the selected property to true.. the event gets dispatched every time the selected property is set to true. Also worth mentioning you have to update the onRelease method to deal with multiple events being dispatched. Also don't name the codeSelected event as click, as that is not whats happening and would cause confusion. rb2 is never used in this example.. just use that to click back and forth between... also try commenting out the interval just for more testing.. you'll see that just the click event fires.. smith Danny Kodicek wrote: It´s possible to make the radio button dispatch the click event if i select it by code? Not directly, but you could add something like this (I haven't used the rb component for a while, but I think this would work radioButton.autoClick=function() { this.selected=true linkType_cml.setType() } Then to select the radio button you just call radioButton.autoClick(), and your event should be dispatched. Danny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] sIFR
has anyone made or found a flash 8 replacement sIFR??? by sIFR i mean flash replacement... for text... http://www.mikeindustries.com/sifr/ smith ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
sounds like your trying to connect to your localhost amfphp gateway from the web version.. change your gateway to point to the gateway on your site. (IE, you should have one amfphp install on local( thats the one thats working ) then one in www.thelargeglass.com/ flashremoting/ you want to connect to the one online.. hope that helps smith On Mar 29, 2006, at 3:02 PM, Count Schemula wrote: http://www.flash-creations.com/notes/servercomm_remoting_amfphp.php I have the above file working well on a local test server. Flash 8, amfphp, mySQL. Then I try to make this file work on my hosted sever: http://www.thelargeglass.com/highscores2/index.html The file works when I do a Test Movie and play it locally. According to NetConnectionDebugger I'm connecting to my remote/online host and it's getting the data from tha db. I can even add and delete records. When I upload this file, it does not work. On my computer, it says Waiting for localhost down in the bottom web browser status window. ??? It should not be looking for any localhost? So, in conclusion, files works EVERYWHERE, except where I need to work. Any ideas? === I think I'm gonna like amfphp remoting a lot... I never got remoting to work with CFMX. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
is your endpoint set correctly? : var _service:Service = new Service(gatewayUrl, null, 'Highscores', null , null); if Highscores.php is in a highscores or gamesfolder of some sort in the services folder in amfphp. you need to reference it like: var _service:Service = new Service(gatewayUrl, null, 'games.Highscores', null , null); try that.. smith On Mar 29, 2006, at 3:17 PM, Count Schemula wrote: I have an amfphp install on both? When I play it locally, seems like it connects remotely ok: ConnectString: http://www.thelargeglass.com/amfphp/gateway.php; DebugId: 0 EventType: Connect MovieUrl: file:///C|/Documents and Settings/Dual Core/My Documents/thelargeglass/webDev/dualcore/highscores/highscores.swf Protocol: http Source: Client Time: 1143673926056 Date (object #1) .Wed Mar 29 18:12:06 GMT-0500 2006 ConnectString: http://www.thelargeglass.com/amfphp/gateway.php? PHPSESSID=5ea2dbbd18e96edc6bb434e0b296f64f DebugId: 0 EventType: Connect MovieUrl: file:///C|/Documents and Settings/Dual Core/My Documents/thelargeglass/webDev/dualcore/highscores/highscores.swf Protocol: http Source: Client Time: 1143673926868 Date (object #1) .Wed Mar 29 18:12:06 GMT-0500 2006 This tests positive: http://www.thelargeglass.com/amfphp/gateway.php In my flash file: var gatewayUrl:String = http://www.thelargeglass.com/amfphp/ gateway.php; NetDebug.initialize(); var _service:Service = new Service(gatewayUrl, null, 'Highscores', null , null); The amfphp service for Highscores: For the *** values, I have the correct online db server information ? class Highscores { var $dbhost = '';// your information here var $dbname = ''; var $dbuser = ''; var $dbpass = ''; function Highscores() { $this-methodTable = array( getScores = array( description = Returns rs of all scores from highscores table, access = remote, returntype = recordSet ), insertScore = array( description = Insert score into highscores table, return id, access = remote ), deleteScore = array( description = Deletes score for specified id from highscores, access = remote ) ); // Initialize db connection $this-conn = mysql_pconnect($this-dbhost, $this-dbuser, $this-dbpass); mysql_select_db ($this-dbname); } function getScores() { return mysql_query(SELECT * FROM highscores); } function insertScore($scoreData) { mysql_query(INSERT INTO highscores VALUES (NULL,'.addslashes($scoreData['nickname']).','.$scoreData ['dateposted'].','.$scoreData['score'].')); return mysql_insert_id(); } function deleteScore($id) { return mysql_query(DELETE FROM highscores WHERE id=.$id); } } ? I've switched folders, browsers etc try to see if it's a cache problem. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] lil' help with amfphp... works locally, not uploaded...
you should only need that if you are connecting to one domain from another.. in Counts case everything is on the same domain I believe so that won't matter... On Mar 29, 2006, at 3:43 PM, Grant Cox wrote: Make sure you have a crossdomain.xml file in the root of your server, otherwise the security model in Flash will refuse connections to that server. The simplest version (allow all connections from any flash files) would be: ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd; cross-domain-policy allow-access-from domain=* / /cross-domain-policy Regards, Grant Cox Count Schemula wrote: http://www.flash-creations.com/notes/servercomm_remoting_amfphp.php I have the above file working well on a local test server. Flash 8, amfphp, mySQL. Then I try to make this file work on my hosted sever: http://www.thelargeglass.com/highscores2/index.html The file works when I do a Test Movie and play it locally. According to NetConnectionDebugger I'm connecting to my remote/online host and it's getting the data from tha db. I can even add and delete records. When I upload this file, it does not work. On my computer, it says Waiting for localhost down in the bottom web browser status window. ??? It should not be looking for any localhost? So, in conclusion, files works EVERYWHERE, except where I need to work. Any ideas? === I think I'm gonna like amfphp remoting a lot... I never got remoting to work with CFMX. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
no it wouldnt be whitespace.. one thing you could check for is php errors.. check the logs.. one quick way to check for php errors is to navigate to the Highscores.php file in the web browser.. go to http://www.5etdemi.com/blog/ this is patrick mineaults blog. he is lead dev on amfphp. download the cinqetdemi.remoting remoting library..(3rd post down or so).. they're really nice wrapper classes used for remoting. makes it really simple.. theres an example of how to use it there.. basically there wrapper classes for the flash remoting classes.. smith On Mar 29, 2006, at 4:03 PM, Ettwein, Josh wrote: Can you create a simple page that creates a new instance of your class and spits what would be sent to flash via amf to the screen instead to see if the class file is not barfing silently on the remote server? Could it be handling of whitespace in the class file - although I think this was fixed in v1.0? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Count Schemula Sent: Wednesday, March 29, 2006 3:56 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] lil' help with amfphp... works locally, not uploaded... Actually, the db server is a wholly separate server? But the same .swf gets the remote db data when I do Test Movie. amfphp is on the remote server, and seems to test positive. http://www.thelargeglass.com/amfphp/gateway.php ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
works i would still check out that cineqdemi.remoting library i posted.. (just a second ago) smith On Mar 29, 2006, at 4:05 PM, Count Schemula wrote: Fixed. I could scream. The publish settings were publishing to a different folder. So, I was blinded by jumping between servers and the 3 hour time difference between me and where my sever is. So, does, http://www.thelargeglass.com/highscores2/index.html work for y'all? I'm excited, I'm a hacker at best (obviously) but have been chasing this remoting thing for a long time. Finally! It works! Seriously, I've blown a lot of time trying to learn remoting and this is my very first success. Thanks everyone, sorry for the stupid errror on my part. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Changing color of the scrollbar in the List Component
id say this is a pretty good article: http://www.macromedia.com/ devnet/flash/articles/skinning_fl8.html there is also a video tutorial here: http://www.gotoandlearn.com/ - called v2 component skinning (under select a tutorial) also you want to skin the UIScrollbar. The list component uses the UIScrollbar.. smith On Mar 28, 2006, at 7:05 AM, ojorus wrote: Hi; I try to change the background color of the scrollbar in a List component, but I have not succeeded so far. Is there an easy way of doing this? Example? Thanks in advance. Regards ojorus -Opprinnelig melding- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av John Grden Sendt: 28. mars 2006 16:36 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Flasc - simple question You didn't give mtasc anything to compile. The pupose would be to publish your SWF with the Flash IDE first, then use Flasc. But the only thing that FLasc does is help you manage your projects and tell MTASC what CODE to inject into your already existing SWF. OR you can create a new SWF without the Flash IDE altogether by using a class that has a static main method. The error your getting is essentially saying Hey, I wasn't given a class file to compile with the SWF Does that make sense Bram? Let me know what I can clear up for you, Thanks John On 3/28/06, Bram Plessers [EMAIL PROTECTED] wrote: Hello, Trying to use Flasc. I have a simple fla with only some squares on stage on my first frame. No actionscript etc. I've created a new test group with a test project checked the -mx option in the [edit tags] overview. Where did I go wrong :) Thanks ! This is my output: C:/Program Files/mtasc/mtasc.exe -swf E:/test.swf -mx -cp C:/Documents and Settings/user/Local Settings/Application Data/Macromedia/Flash 8/en/Configuration/Classes -header 800:600:30 -version 8 2 C:/Documents and Settings/user/Local Settings/Application Data/Macromedia/Flash 8/en/Configuration/Commands/FLASC/errors.txt pause Motion-Twin ActionScript2 Compiler 1.12 - (c)2004-2005 Motion-Twin Usage : mtasc.exe [options] files... Options : -pack path : compile all files in target package -cp paths : add classpath ... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] AS IDE for OSX
you can do all that with textMate.. are you not using svn with it? ( control + Shift + A )( use you mouse to point to what youw ant to run SVN commands on It works great!.. and how you can write snippets is great also.. just write a snippet to do mtasc compiling.. and whatever else.. code completeion however is not supported.. there is PHP code hinting but thats it.. On Mar 16, 2006, at 11:10 AM, Nik Derewianka wrote: Hey all, Title pretty much says it - what are peoples using for an AS IDE on the mac ? Flash itself is actually worse than director in this regard, SEPY is great on PC, cant even do copy and paste on a mac and last build seems broken, ive seen some blog posts regarding AS integration into Xcode but they are all over a year old. I dont want a text editor (i already have and love TextMate) but an IDE that can organise all my files, syntax highlighting, code completion, jump to handler definitions and compilation, version control integration would be a bonus (pref svn). Does such a beast exist ? Regards, -- :: Nik Derewianka :: ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] RelayResponder not working for multiple calls
you need to use a counting variable too. something like this: change it: var intervalID:Number = -1; var attempts:Number = 0; var maxAttempts:Number = 2; var _service = new Service(gateway,new Log(Log,DEBUG),class,null,null); invokeServerMethod(); function invokeServerMethod() { var callObj:PendingCall = _service.method(); callObj.responder = new RelayResponder(this,got_Result, got_Fault); attempts++; } function got_Result(re:ResultEvent):Void { trace(parse results); if( attempts == maxAttempts ) { clearTimeout(intervalID); //wait then do it again { else intervalID = setTimeout(invokeServerMethod, 1000); } } function got_Fault(fault:FaultEvent):Void { trace(Fault: + fault.fault.description); } Danny #160 wrote: okay I've spent 3 hours looking into this, I'm sure someone out there knows the answer and can save me 3 more hours of head banging. If I call the method once it works great, but I want to call it once every sec. so I set it up like this. so it calls once works fine, the it calls twice looking good but the got_Result method is not called the second time! am I missing something simple? var intervalID:Number = -1; var _service = new Service(gateway,new Log(Log,DEBUG),class,null,null); invokeServerMethod(); function invokeServerMethod() { var callObj:PendingCall = _service.method(); callObj.responder = new RelayResponder(this,got_Result, got_Fault); } function got_Result(re:ResultEvent):Void { trace(parse results); if(intervalID != -1)clearTimeout(intervalID); //wait then do it again intervalID = setTimeout(invokeServerMethod, 1000); } function got_Fault(fault:FaultEvent):Void { trace(Fault: + fault.fault.description); } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] vector to jpeg or png, php
I searched the list archives for a good solution for generating a jpeg or png using php. nothing found. I know i've seen some articles on this here and there but can't remember where exactly. does anyone have any good links for this? Flash 8 preferred because of bitmap api. Also note the DPI and res need to be huge ( 2300 X 3500, 200DPI ) thanks in advance smith ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Building my application
clip.onLoad(); usually works fine for me. Unless your attaching a substantial amount of clips at run time. Then what you need to do is attach one. wait for a load event to be fired. then load the next clip. loading a substantial amount of clips at one time will get varied results when it comes to calling methods on them. Then once all of them have been loaded call like a finalInit method or something to set up the rest of the app. SMITH On Feb 23, 2006, at 1:44 PM, Patrick Matte wrote: I usually put all my movieclips on stage with a linkage to an as2 class extending MovieClip. The problem I have with this technique is that sometimes, nested movieclips are not loaded when I try to call a function from their parent. Does anyone have an idea for a workaround this? I know that if I use attachMovie everytimes, I won’t get this problem because the attached movie’s constructor is instantly initiated. But I really like to put all my movieclips on stage already at the right place and then display them in any order I like. How can I be sure that everything on stage is loaded and initiated? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] swf to screansaver? mac osx?
does anyone know of any open source tools for making a swf into a screensaver on mac osx SMITH ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Q;Flashdevelop users
I use it.. its great.. most information about it (configuration, fonts, colors) can be found on there website in different forum posts.. good luck SMITH [EMAIL PROTECTED] wrote: Hi Any FlashDevelop user fans? Trying to find some basic info on configuration...setting fonts etc. [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Object copy
Does anyone have a solution for copying or cloning objects.. I am using mx.utils.ObjectCopy and it doesnt work correctly. Just the object that i'm trying to copy doesnt seem to be an exact copy so the methods that I send the copy to don't work. Does anyone have a better solution that mx.utils.ObjectCopy?? I am needing to copy an Object. just a straight up Object.. SMITH ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Object copy
that didn't seem to work.. Sam Shrefler wrote: Aaron: try changing a line in ObjectCopy.as its line 15...change it to: I know there was a change i made, I think its the parenthesis at the end was added var result:Object = new (Function( refObj.__proto__.constructor ))(); After that, it worked great for me. Sam On 2/21/06, Aaron Smith [EMAIL PROTECTED] wrote: Does anyone have a solution for copying or cloning objects.. I am using mx.utils.ObjectCopy and it doesnt work correctly. Just the object that i'm trying to copy doesnt seem to be an exact copy so the methods that I send the copy to don't work. Does anyone have a better solution that mx.utils.ObjectCopy?? I am needing to copy an Object. just a straight up Object.. SMITH ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Object copy
thank you so much.. worked perfectly! SMITH Rich Rodecker wrote: http://www.darronschall.com/weblog/archives/000148.cfm On 2/21/06, Aaron Smith [EMAIL PROTECTED] wrote: that didn't seem to work.. Sam Shrefler wrote: Aaron: try changing a line in ObjectCopy.as its line 15...change it to: I know there was a change i made, I think its the parenthesis at the end was added var result:Object = new (Function( refObj.__proto__.constructor ))(); After that, it worked great for me. Sam On 2/21/06, Aaron Smith [EMAIL PROTECTED] wrote: Does anyone have a solution for copying or cloning objects.. I am using mx.utils.ObjectCopy and it doesnt work correctly. Just the object that i'm trying to copy doesnt seem to be an exact copy so the methods that I send the copy to don't work. Does anyone have a better solution that mx.utils.ObjectCopy?? I am needing to copy an Object. just a straight up Object.. SMITH ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Using other languages to improve my Actionscript - Opinions
I actually went the other way. I was always doing PHP and web languages. Nothing OOP though. Even actionscript was just timeline procedural for the most part. I didn't understand OOP at all. I tried learning Java to see if OOP would come better. But no luck. I think for learning OOP Java is pretty advanced. And a lot of things I wanted to do took so much work in Java. Especially for just learning and not really engineering anything. So I learned OOP in actionscript and my understanding of other languages went through the roof. Now by OOP in actionscript I mean no more actionscript on timelines, MVC architectures and more. I grasped OOP in actionscript quickly because it is a small language. Now when looking for a bigger programming language I turn to Python. If your looking to learn OOP I would say python just because it's a shorter development time. OOP in python is supported. Python syntax definately takes some getting used to. It's way different than java or actionscript. And python is less restrictive. Even if you understand OOP and just want to further your skills. Check out Python. It's fast, and easy. SMITH Nicolas Cannasse wrote: To phrase it as a formal question- For those who have picked up other languages after or at the same time as ActionScript- which have you found helped boost your learning the best and why? As a follow up question- despite Java's similarity to ActionScript is it too much work for the result? Mani I would recommend you learning haXe (http://haxe.org). It introduces interesting concepts that can be modelized in AS2 although they are more natural in haXe, and it can compile to Flash as well, so you can actually use it instead of ActionScript (the Beta2 give access to 98% of the Flash API). Nicolas ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] AS3 Packages
does anyone have a good reference for the new AS3 packages support. I have not had any experience with packages before. I want to see more of what it offers than just putting one class in a package. It seems like there is a ton more that can be done with packages I just don't know what. so if theres any good references.. point me thatta way SMITH ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] mxml reference?
is there any good mxml tag references out for flex 2? I didn't see any on labs.macromedia.com or maybe I just didn't look hard enough. I guess i'm just looking for a reference to all the tags that can be used.. im new to flex, starting with flex 2. am currently a flash RIA / kiosk / web developer so this mxml is new to me. And I know for the most part that interface builder will build the tags for me but i've been lookoing into transitions and keep finding different tags in different examples here and there.. would be nice for huge reference anyway. i think you catch my drift... SMITH ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] mxml reference?
Danger, thanks for the link.. I've actually seen that. What i'm looking for is an mxml tag reference. that was more actionscript. I realize it all gets translated to actionscript anyway... but say for transitions.. the mx:Sequence tag. where can I find references for things like that.. if there in that link somewhere.. could yhou point it out??. . thanks.. SMITH Danger wrote: http://labs.macromedia.com/wiki/index.php/Flex:Release_Notes#Beta_1_documentation On 2/18/06, Aaron Smith [EMAIL PROTECTED] wrote: is there any good mxml tag references out for flex 2? I didn't see any on labs.macromedia.com or maybe I just didn't look hard enough. I guess i'm just looking for a reference to all the tags that can be used.. im new to flex, starting with flex 2. am currently a flash RIA / kiosk / web developer so this mxml is new to me. And I know for the most part that interface builder will build the tags for me but i've been lookoing into transitions and keep finding different tags in different examples here and there.. would be nice for huge reference anyway. i think you catch my drift... SMITH ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Danger's Flash Blog http://www.dengjie.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] mxml reference?
Danger, I think I found what im looking for.. it's just deeper in those mx.* packages.. Aaron Smith wrote: Danger, thanks for the link.. I've actually seen that. What i'm looking for is an mxml tag reference. that was more actionscript. I realize it all gets translated to actionscript anyway... but say for transitions.. the mx:Sequence tag. where can I find references for things like that.. if there in that link somewhere.. could yhou point it out??. . thanks.. SMITH Danger wrote: http://labs.macromedia.com/wiki/index.php/Flex:Release_Notes#Beta_1_documentation On 2/18/06, Aaron Smith [EMAIL PROTECTED] wrote: is there any good mxml tag references out for flex 2? I didn't see any on labs.macromedia.com or maybe I just didn't look hard enough. I guess i'm just looking for a reference to all the tags that can be used.. im new to flex, starting with flex 2. am currently a flash RIA / kiosk / web developer so this mxml is new to me. And I know for the most part that interface builder will build the tags for me but i've been lookoing into transitions and keep finding different tags in different examples here and there.. would be nice for huge reference anyway. i think you catch my drift... SMITH ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Danger's Flash Blog http://www.dengjie.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] dispatching events at creation time?
if you subclass movieclip then you have access to the onLoad method. Just overload that and put your dispatch in there public function onLoad():Void { dispatchEvent({type:'onload', target:this}); } [EMAIL PROTECTED] wrote: A little late in the (reply) game, but you could try: MovieClip.prototype.onConstruct = function() { trace(created) } This will be called anytime a new clip is created. You could, however, weed out the unwanted dispatching of events, by dispatching based upon the name of the clip created, i.e.: MovieClip.prototype.onConstruct = function() { if(this._name == myMC){ trace(created) } } Hope that helps. ---Original Message- From: flashcoders-bounces at chattyfig.figleaf.com [mailto:flashcoders-bounces at chattyfig.figleaf.com] On Behalf Of Luca Candela Sent: donderdag 16 februari 2006 16:01 To: flashcoders at chattyfig.figleaf.com Subject: [Flashcoders] dispatching events at creation time? -- class tryOut { public var addEventListener:Function; public var removeEventListener:Function; private var dispatchEvent:Function; function tryOut() { mx.events.EventDispatcher.initialize(this); trace(I am Here 1); dispatchEvent({type:created, target:this}); } public function callMe():Void { dispatchEvent({type:created, target:this}); } } -- when I instantiate this class everything works except the dispatchEvent in the constructor of the class. Why and how can I do to force an object to call me back when he is created? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Event Dispatcher
Just make sure int he constructor you initialize it:: EventDispatcher.initialize(this).. also you ned to have these var definititions: public var addEventListener:Function public var removeEventListener:Function; private var dispatchEvent:Function then to dispatch: dispatchEvent( { type:'whatever', target:this, someOtherProp:'somothervalue' } ) all those props in the dispatchEvent call are just properties in a basic Object. you must have type though. SMITH On Feb 17, 2006, at 12:44 PM, Jamie Alpers wrote: This may be a duh question, but when you use dispatchEvent in a custom created component, can I use my own event name or do i have to use one of the built in ones of an object. For example, I am creating custom quiz component (the built in ones dont have the flexibility we need) and would like to add a 'QuestionCompleted' event. Is this possible? -Jamie ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] TextArea component Special Chars?
Has anyone had issues with flash remoting (amfph) and sending text from the textArea component. It seems there are some weird extra characters that are being added to the data thats sent. Then php is having issues parsing it. Specifically when I copy text into the textArea component then send through amfphp. I am trying to parse some text using Textile for a weekly mailer. Pressing return in the textArea seems like it's sending weird chars or something.. php is having a really hard time parsing it.. can anyone help,, or does anyone have a reference to special chars that are in the textArea SMITH ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] vardump an object in ActionScript?
Yeah I shouldn't diss it.. it's a cool tool, i'll give them that!. I guess I never have problems with depths or placement so it's just to much for me. So use what's comfortable. XRay is a nice tool. I'm not trying to diss it. Aaron Smith On Feb 13, 2006, at 2:50 PM, Chris Allen wrote: On 2/13/06, Aaron Smith [EMAIL PROTECTED] wrote: xRay is bloaded. I use flashinspector for something like this http://luminicbox.com/dev/flash/log/example.htm http://www.luminicbox.com/blog/default.aspx?page=postid=2 http://www.luminicbox.com/dev/flash/log/luminicbox.log.zip those are some useful links for it.. Aaron Smith Bloaded means full featured I suppose. ;-) I suppose you are right in that if all you want is a decent logging tool then Xray is overkill, but come on. Simply dissing it because you don't use all of its features is uncalled for. I can't count how many times it has been useful to be able to execute code in real time, check what depth and level my supposedly created MovieClip is on, being able to arrange my MovieClips with drag and drop and then know the coordinates for use later in my code. I can go on and on about the benefits. As for Lumixbox, it is really great too. In fact John Grden is planning on having a way to include it in Xray so that your logging can be done through this more robust logging tool. Anyway, if you don't like it don't use it, but don't spread misinformation. -Chris ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] mp3 not playing in I.E. 6
I would recommend using a mediaDisplay for mp3s. Especially if there lengthy.. say 3 min or avg song length. The media display won't actually display anything for mp3's. it just gives you access to the sound. I would reccommend it just beacuse there are more properties and methods available for the media display. its easier to use. myMedia.setMedia(fileURI, MP3 | FLV); http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Part6_Component_Reference.html I am not aware of any problems with mediaDisplay's in IE. So give it a shot. if your using just short sound effects then yes.. use a sound object. Which if thats the case, I don't have any reccommendations at this point for your IE problem.. Aaron Smith Marc Hoffman wrote: I've seen some discussion of this in the archives, but nothing conclusive. My Flash 8 movie creates a sound object and uses loadSound (dynamicFilename,true) to play any of a number of mp3 files off the server. Works fine locally and in Netscape but breaks in I.E. when played via the web. Looking in the I.E. cache, I see that the mp3's are getting loaded when requested; they just don't play. If I type the URL of the mp3 file into I.E.'s address window, I can get the mp3 to open and play in Windows MediaPlayer. On a few occasions, I can then get Flash to play the same sound, but it almost always fails. I've tried absolute paths (http://mydomain/folder/filename.mp3) as well as relative paths (../filename.mp3 -OR- filename.mp3) in the loadSound argument -- makes no difference. And as I said, the files ARE being downloaded into cache, they just don't get played in the swf. They're all located in the same server folder as the .swf. Anybody have a clue why this is breaking in I.E. 6? thanks, Marc ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] mp3 not playing in I.E. 6
Marc, Yeah i guess try adding an onLoad. It should only take a sec. Test it out and see if it helps. if not, try creating a seperate fla for testing just this one issue. see what that does. if it still a bug in IE i would like to see that test fla. Aaron Marc Hoffman wrote: Hi Aaron, The sounds are 5 seconds or less in duration. Thanks for the suggestion, but I really want to know why this breaks in I.E. via web, as this works just fine in Netscape and Firefox. Also works fine in I.E. locally, just not over the web. Yet I.E. is caching the mp3's as they're called from the web server -- it just won't play them. I could add a Sound.onLoad listener to start the file playing, but this shouldn't be necessary and I'm not even sure it would fix the problem. Also, I tried resetting I.E. to its default settings, but no use. Would like to hear from anyone who is familiar with this problem. Marc At 10:50 PM 2/13/2006, you wrote: I would recommend using a mediaDisplay for mp3s. Especially if there lengthy.. say 3 min or avg song length. The media display won't actually display anything for mp3's. it just gives you access to the sound. I would reccommend it just beacuse there are more properties and methods available for the media display. its easier to use. myMedia.setMedia(fileURI, MP3 | FLV); http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Part6_Component_Reference.html I am not aware of any problems with mediaDisplay's in IE. So give it a shot. if your using just short sound effects then yes.. use a sound object. Which if thats the case, I don't have any reccommendations at this point for your IE problem.. Aaron Smith Marc Hoffman wrote: I've seen some discussion of this in the archives, but nothing conclusive. My Flash 8 movie creates a sound object and uses loadSound (dynamicFilename,true) to play any of a number of mp3 files off the server. Works fine locally and in Netscape but breaks in I.E. when played via the web. Looking in the I.E. cache, I see that the mp3's are getting loaded when requested; they just don't play. If I type the URL of the mp3 file into I.E.'s address window, I can get the mp3 to open and play in Windows MediaPlayer. On a few occasions, I can then get Flash to play the same sound, but it almost always fails. I've tried absolute paths (http://mydomain/folder/filename.mp3) as well as relative paths (../filename.mp3 -OR- filename.mp3) in the loadSound argument -- makes no difference. And as I said, the files ARE being downloaded into cache, they just don't get played in the swf. They're all located in the same server folder as the .swf. Anybody have a clue why this is breaking in I.E. 6? thanks, Marc ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] unSelectAll v2 List Component
Hey Keith! I fyou look in the macromedia list classes( mx.controls.listclasses ). specifically the DataSelector.as class. There is a method called 'clearSelected'. it's not in the docs anywhere because it's used internally. but you can use it. just call it like this list['clearSelected'](); using the brackets bypasses the macromedia compiler. ** heres an example i tried:: on the stage make a list called my_list then on an actions layer put this there: import mx.utils.Delegate; my_list.dataProvider = [Ground Shipping, 2nd Day Air, Next Day Air]; my_list.addEventListener('change', Delegate.create(this, onChange)); function onChange():Void { my_list['clearSelected'](); } ** now test publish it.. now anytime you select something in the list it will automatically deselect it. this will clear all selected items if multiple are selected also. Aaron Smith keith wrote: I have a function that swaps the position of a selected item in a List component upward. It works fine, but it causes each item;s old position to stay selected. I want only the new position that the item move into to be selected. list.selectedIndices = []; and list.selectedIndices = null have no effect with my code: //== / Moves a selected item to a previous index position in a List component. / function moveItemUp(list) { var index = list.selectedIndex; var a = list.getItemAt(index); var b = list.getItemAt(index-1); if (b == null) { return; } list.replaceItemAt(index, b); list.replaceItemAt(index-1, a); list.selectedIndices = []; list.selectedIndex = index-1; } // -- Keith H -- - Original Message - From: Ryan Matsikas [EMAIL PROTECTED] list.selectedIndices = []; On 2/12/06, keith [EMAIL PROTECTED] wrote: How can i de-select or unselect all the items in a List component? I dont see how to do this in Flash 8 documentation. -- Keith H -- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] unSelectAll v2 List Component
Hey Keith Aaron again, Sorry I missed that you wanted to select a different index, the one that moved..:: heres how ** put a list on the stage called my_list then on actions put this: import mx.utils.Delegate; my_list.dataProvider = [Ground Shipping, 2nd Day Air, Next Day Air]; my_list.addEventListener('change', Delegate.create(this, onChange)); function onChange():Void { my_list['selectRow'](2); } ** now anytime you select a row it will select the last row instead. So just use this method. This method is in mx.controls.listclass.ScrollSelectList.as. If you want it to dispatch a change event call it like this: my_list['selectRow'](2,true,true);.. this is a simple example, just use this method call in your situation hope it helps Aaron Smith Aaron Smith wrote: Hey Keith! I fyou look in the macromedia list classes( mx.controls.listclasses ). specifically the DataSelector.as class. There is a method called 'clearSelected'. it's not in the docs anywhere because it's used internally. but you can use it. just call it like this list['clearSelected'](); using the brackets bypasses the macromedia compiler. ** heres an example i tried:: on the stage make a list called my_list then on an actions layer put this there: import mx.utils.Delegate; my_list.dataProvider = [Ground Shipping, 2nd Day Air, Next Day Air]; my_list.addEventListener('change', Delegate.create(this, onChange)); function onChange():Void { my_list['clearSelected'](); } ** now test publish it.. now anytime you select something in the list it will automatically deselect it. this will clear all selected items if multiple are selected also. Aaron Smith keith wrote: I have a function that swaps the position of a selected item in a List component upward. It works fine, but it causes each item;s old position to stay selected. I want only the new position that the item move into to be selected. list.selectedIndices = []; and list.selectedIndices = null have no effect with my code: //== / Moves a selected item to a previous index position in a List component. / function moveItemUp(list) { var index = list.selectedIndex; var a = list.getItemAt(index); var b = list.getItemAt(index-1); if (b == null) { return; } list.replaceItemAt(index, b); list.replaceItemAt(index-1, a); list.selectedIndices = []; list.selectedIndex = index-1; } // -- Keith H -- - Original Message - From: Ryan Matsikas [EMAIL PROTECTED] list.selectedIndices = []; On 2/12/06, keith [EMAIL PROTECTED] wrote: How can i de-select or unselect all the items in a List component? I dont see how to do this in Flash 8 documentation. -- Keith H -- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] htmlText formatting problems...
I don't have too much use for the htmlText text fields but.. is there any \n being put in.. maybe when the use hit's enter??? On Feb 10, 2006, at 1:18 PM, ryanm wrote: I need to find out if this is a known bug, or if it's something unique to my app. What I have is a chat that uses htmlText to display the chat history. Sometimes, for no apparent reason, the text seems to break at about every 2-3 words, wrapping so that it is impossible to read. As soon as the next message is rendered it formats correctly, but it seems like either some invalid html is being put into the field (which I've checked for, and all the html is valid), or the width of the text field is being read incorrectly internally, causing the text to wrap at a ridiculously short width. What is this, has anyone seen this bug before? What can I do about it? ryanm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Different rotation point for different instances of same object?
http://www.darronschall.com/weblog/archives/54.cfm w03 wrote: Can I change the point of rotation (reference point) of different instances of a MC on the fly? I need several instances of an object to rotate but each about a unique reference point within the instance. Thanks, I don't want to do this programatically if I don't have to. Wendy ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com