Re: [Flashcoders] FLV (like youtube)
Hi, you can try http://www.flash-video-mx.com/video_to_flash_web/ or the sdk version at http://www.flash-video-mx.com/flv_encoder_sdk/ Best regards! master 2007-04-05 From: Tom Huynen Sent: 2007-04-04 21:37:14 To: flashcoders@chattyfig.figleaf.com CC: Subject: [Flashcoders] FLV (like youtube) Hi there, A project requires me to create an app that enables people to upload .avi and mov's. These movies must be visible in the frontoffice. Does anybody know how to convert .avi and .mov into FLV? Or is there a better alternative? Kind regards, Tom ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/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] NumericStepper IE Problem
Greetings all, I've got a form type application in which I use a the NumericStepper component from Flash 8 professional. We're asking users to rate a series of items on a 1 to 3 scale. I've set the minimum value for all instances of the NumericStepper to 0, the maximum value to 3 and the step size to 1. On entering the frame, the values are set to 0. There's a forward button which is disabled until all the instances of the stepper have non-zero values. A listener watches for changes in the steppers and then updates values in a LoadVars object that I'm using to pass the results to a PHP script at the end. It's all fairly straight-forward and working well. Well, except for a small number (about 1% or so) of users results are passed as a 0. They all were using Internet Exploder (big surprise there, huh?). The actionscript code follows. Am I missing something obvious? Thanks for any help! Jim / //SCRIPT ON FRAME //(myData_lv and nsListener objects //already instantiated previous frame) / // //set initial values of lv object to 0 myData_lv.q08Aa = myData_lv.q08Ab=myData_lv.q08Ac=myData_lv.q08Ad=myData_lv.q08Ae=myData_l v.q08Af=0; //set values of numeric steppers onstage to 0 numStepA.value = numStepB.value=numStepC.value=numStepD.value=numStepE.value=numStepF.val ue=0; //disable forward button fwd_btn.enabled = false; fwd_btn._alpha = 50; //set interval to activate fwd button when values all non-zero clearInterval(loadInt); function moveOn() { if (myData_lv.q08Aa == 0 || myData_lv.q08Ab == 0 || myData_lv.q08Ac == 0 || myData_lv.q08Ad == 0 || myData_lv.q08Ae == 0 || myData_lv.q08Af == 0) { fwd_btn.enabled = false; fwd_btn._alpha = 50; } else { fwd_btn.enabled = true; fwd_btn._alpha = 100; } } // loadInt = setInterval(moveOn, 20); //listen for changes to the numSteppers onstage and update lv object values nsListener.change = function(evt_obj:Object) { switch (evt_obj.target) { case numStepA : myData_lv.q08Aa = numStepA.value; break; case numStepB : myData_lv.q08Ab = numStepB.value; break; case numStepC : myData_lv.q08Ac = numStepC.value; break; case numStepD : myData_lv.q08Ad = numStepD.value; break; case numStepE : myData_lv.q08Ae = numStepE.value; break; case numStepF : myData_lv.q08Af = numStepF.value; break; } }; // Add listeners numStepA.addEventListener("change", nsListener); numStepB.addEventListener("change", nsListener); numStepC.addEventListener("change", nsListener); numStepD.addEventListener("change", nsListener); numStepE.addEventListener("change", nsListener); numStepF.addEventListener("change", nsListener); //forward button active should work only if all values are not 0 fwd_btn.onRelease = function() { if (myData_lv.q08Aa == 0 || myData_lv.q08Ab == 0 || myData_lv.q08Ac == 0 || myData_lv.q08Ad == 0 || myData_lv.q08Ae == 0 || myData_lv.q08Af == 0) { //nothing; } else { //OK TO GO ONWARD nextFrame(); } }; ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Combined Classes fail Tween Class
Thanks for the feedback guys, let me go back a little to explain why this behavior. I am trying to implement the MVC Design Pattern to a item. Trying to do it properly I am creating my Views as classes and now I wanted to integrate them into my layout. View 1 Class = menu View 2 Class = content Holder loads View 1 and View 2 Now View 1 has animation as well as View 2 and when tested independently they work great (SWFs) but when they are loaded into the main holder the last SWF plays leaving the first SWF without any animation. Now the animation is being handled with AS so there is no animation in the timeline. Thanks again for the help. Now I'll go back and read the 10 books that cover the subject :) On 4/4/07, Merrill, Jason <[EMAIL PROTECTED]> wrote: I didn't meant THAT was the conflict he was seeing with the animation, just that he shouldn't name it the same thing so he doesn't have conflicts as he develops the class further. Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Jesse Graupmann >>Sent: Wednesday, April 04, 2007 8:53 PM >>To: flashcoders@chattyfig.figleaf.com >>Subject: RE: [Flashcoders] Combined Classes fail Tween Class >> >>Jason - >> >>I'm pretty sure this is NOT in conflict, but still not good practice. >> >>Since target:MovieClip is a variable local to the >>constructor, you just have to access the class >>target:Application by using this.target. In this case, the >>class's target:Application variable is never touched and >>remains undefined. >> >> >>var target : Application; >>public function Application ( target:MovieClip ) { >> trace( target ) // MovieClip >> trace( this.target ) // Application >>} >> >> >> >>To test the theory, try: >> >> >>target = 5; >>function traceTargets ( target:String ) >>{ >> trace( target ) // a_string >> trace( this.target ) // 5 >>} >>traceTargets ( 'a_string' ); >> >> >> >> >>_ >> >>Jesse Graupmann >>www.jessegraupmann.com >>www.justgooddesign.com/blog/ >>_ >> >> >> >> >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Merrill, >>Jason >>Sent: Wednesday, April 04, 2007 3:26 PM >>To: flashcoders@chattyfig.figleaf.com >>Subject: RE: [Flashcoders] Combined Classes fail Tween Class >> target is a movieclip, this helps me to instantiate the class in the place I desire >> >>Right - so then to remove any potential conflicts, take out: >> > var target: Application; >> >>Jason Merrill >>Bank of America >>GT&O Learning & Leadership Development >>eTools & Multimedia Team >> >>___ >>Flashcoders@chattyfig.figleaf.com >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/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] MovieClipLoader ...
Thanks Muzak,How to best initialize EventDispatcher outside the constructor via a static property ?How would you do this?___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash 9 CS 3 and Flex framework
The main thing on this is if I load in a flash 9 cs3 swf with a textarea created. var t:TextArea; I then try and reference this same text area from flex var text:TextArea = myflashmovie.myClass.getText(); This would create a compiler error as the textarea would be the flex framework and the flash textarea would be the flash components. Not the same object. (This is an assumption as I dont have flash 9 cs3). Of course you can make a wrapper around the textarea object to return only the data you want such as a string, etc. But this is just an extra pain. As an example something in the flex framework's text area has methods that are not in the flash text area. Now you have to write code to accomodate for this. Does this make sense? Best, Austin Muzak wrote: I mainly just want to be able to access components such as a text area and have it work in flex and flash and not have to worry about the kind of text area I'm using if its flex or flash. They should both be able to work together. Or a simple component such as a button, they should be recognized the same while calling it in flash or flex. If not, I can see major pains between the two. Not really, all you need is a class associated with the loaded swf that Flex can communicate with, as I explained in my previous post. It would be nice if there is some brilliant workflow integration to handle this point. Otherwise we'll need to make an Interface for every flex to flash movie which is probably better structure wise, but what if we want to return objects from one framework to the next. Might bring up issues such as a text area from flash or flex. Not sure where the Interface idea came from, but you don't need an Interface to work with Classes. What exaclty do you mean with "return objects".. you mean data, as in Array, ArrayCollection? If so, with a class associated with the loaded swf that should be a walk in the park. regards, Muzak ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash 9 CS 3 and Flex framework
>I mainly just want to be able to access components such as a text area and > have it work in flex and flash and not have to worry > about the kind > of text area I'm using if its flex or flash. They should both be able to work > together. Or a simple component such as a button, > they should be > recognized the same while calling it in flash or flex. > >If not, I can see major pains between the two. Not really, all you need is a class associated with the loaded swf that Flex can communicate with, as I explained in my previous post. > >It would be nice if there is some brilliant workflow integration to handle > this point. Otherwise we'll need to make an > Interface for > every flex to flash movie which is probably better structure wise, but what > if we want to return objects from one framework to the > next. Might bring up issues such as a text area from flash or flex. > Not sure where the Interface idea came from, but you don't need an Interface to work with Classes. What exaclty do you mean with "return objects".. you mean data, as in Array, ArrayCollection? If so, with a class associated with the loaded swf that should be a walk in the park. regards, Muzak ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Exporting alpha channel video from flash
sorry if i posted this before, i asked this question a couple of days ago but never saw it come back in the digest, and it doesn't show up in the archives search. although it did seem someone else recently asked nearly the same question and nobody really knew. so let's try again. i have some animated icons in flash that need to make it into either after effects or avid. in Export Movie i can select QuickTime Video and in the Format box select "32-bit Color (alpha channel)". however, when Importing Footage into After Effects, no matter how i Interpret Footage the swf comes in opaque. so far exporting a .png sequence works, but that is clunky. yes, i know about wmode, that doesn't seem to have anything to do with this. does anybody know the trick? thanks, glenn grant ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Combined Classes fail Tween Class
I didn't meant THAT was the conflict he was seeing with the animation, just that he shouldn't name it the same thing so he doesn't have conflicts as he develops the class further. Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Jesse Graupmann >>Sent: Wednesday, April 04, 2007 8:53 PM >>To: flashcoders@chattyfig.figleaf.com >>Subject: RE: [Flashcoders] Combined Classes fail Tween Class >> >>Jason - >> >>I'm pretty sure this is NOT in conflict, but still not good practice. >> >>Since target:MovieClip is a variable local to the >>constructor, you just have to access the class >>target:Application by using this.target. In this case, the >>class's target:Application variable is never touched and >>remains undefined. >> >> >>var target : Application; >>public function Application ( target:MovieClip ) { >> trace( target ) // MovieClip >> trace( this.target ) // Application >>} >> >> >> >>To test the theory, try: >> >> >>target = 5; >>function traceTargets ( target:String ) >>{ >> trace( target ) // a_string >> trace( this.target ) // 5 >>} >>traceTargets ( 'a_string' ); >> >> >> >> >>_ >> >>Jesse Graupmann >>www.jessegraupmann.com >>www.justgooddesign.com/blog/ >>_ >> >> >> >> >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Merrill, >>Jason >>Sent: Wednesday, April 04, 2007 3:26 PM >>To: flashcoders@chattyfig.figleaf.com >>Subject: RE: [Flashcoders] Combined Classes fail Tween Class >> target is a movieclip, this helps me to instantiate the class in the place I desire >> >>Right - so then to remove any potential conflicts, take out: >> > var target: Application; >> >>Jason Merrill >>Bank of America >>GT&O Learning & Leadership Development >>eTools & Multimedia Team >> >>___ >>Flashcoders@chattyfig.figleaf.com >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/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] Combined Classes fail Tween Class
If you want to send me your files, I don't mind taking a look. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Wednesday, April 04, 2007 5:27 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Combined Classes fail Tween Class Thanks, Ill try that and if it still fails I will post a small sample of what Im doing that probably will help better to understand. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Combined Classes fail Tween Class
Jason - I'm pretty sure this is NOT in conflict, but still not good practice. Since target:MovieClip is a variable local to the constructor, you just have to access the class target:Application by using this.target. In this case, the class's target:Application variable is never touched and remains undefined. var target : Application; public function Application ( target:MovieClip ) { trace( target ) // MovieClip trace( this.target ) // Application } To test the theory, try: target = 5; function traceTargets ( target:String ) { trace( target ) // a_string trace( this.target ) // 5 } traceTargets ( 'a_string' ); _ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Wednesday, April 04, 2007 3:26 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Combined Classes fail Tween Class >>target is a movieclip, this helps me to instantiate the class >>in the place I desire Right - so then to remove any potential conflicts, take out: >>> var target: Application; Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash 9 CS 3 and Flex framework
Muzak, I mainly just want to be able to access components such as a text area and have it work in flex and flash and not have to worry about the kind of text area I'm using if its flex or flash. They should both be able to work together. Or a simple component such as a button, they should be recognized the same while calling it in flash or flex. If not, I can see major pains between the two. It would be nice if there is some brilliant workflow integration to handle this point. Otherwise we'll need to make an Interface for every flex to flash movie which is probably better structure wise, but what if we want to return objects from one framework to the next. Might bring up issues such as a text area from flash or flex. Best, Austin Muzak wrote: Even if this will be possible, you probably should think about separating animation from non-animated visual elements (ui-components). Why bring in a different framework if Flex already has one? fl.controls.Button (CS3) vs mx.controls.Button (Flex) Different package, but the same Button though. In any way, your Flex app probably shouldn't be *talking* to assets inside a loaded swf (Flash or otherwise) directly anyway. The loaded swf should have its own class and handle things independant and dispatch events when needed to communicate to the outside (Flash --> Flex) and have public methods to allow communication in the other direction (Flex --> Flash). So I think the more important question is, will events dispatched from an FCS3 swf loaded in an Flex app be captured, or in other words, if a FCS3 swf has a (document) class associated with it, will Flex recognize it. My guess is that this is what they're currently (or have been) focusing on ;-) Right now the communication between Flex and a loaded (flash 8) swf is established through a LocalConnection. I guess we'll just have to wait and see ;-) regards, Muzak - Original Message - From: "Austin Kottke" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 04, 2007 11:56 PM Subject: Re: [Flashcoders] Flash 9 CS 3 and Flex framework Thanks David, That helps, however, I meant more of a workflow, like create the animation in flash cs3 and the animation has certain flash components in it, such as a datagrid at the end of the last frame or the flash animation has a few buttons in it on the side, along with other types such as a textarea. I would want to be able to reference these buttons and components from flex ideally or have some really nice work flow that would allow via as3 to reference those components. That way I can make some re-usable animations and use flex for the main structure, but have all of the animation power needed (this includes having buttons, comboboxes, made in flash cs3) directly accessible through flex. I bring this up as I had thought that there would be a problem with flash 9 cs3 NOT using the flex framework directly and the different types of buttons, datagrids would be an entirely different set of code made specifically for flash 9 cs3 (ie the datagrid in cs3 is not the same datagrid as flex). Im not totally tracking on adobe's plan to handle this issue. I'm just trying to see what the plan on the workflow integration between the to. The data on flash 9 cs3 is a bit general on this point so I want to get this clarified. Best, Austin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/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] Combined Classes fail Tween Class
Thanks, Ill try that and if it still fails I will post a small sample of what Im doing that probably will help better to understand. On 4/4/07, Merrill, Jason <[EMAIL PROTECTED]> wrote: >>target is a movieclip, this helps me to instantiate the class >>in the place I desire Right - so then to remove any potential conflicts, take out: >>> var target: Application; Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash 9 CS 3 and Flex framework
Even if this will be possible, you probably should think about separating animation from non-animated visual elements (ui-components). Why bring in a different framework if Flex already has one? fl.controls.Button (CS3) vs mx.controls.Button (Flex) Different package, but the same Button though. In any way, your Flex app probably shouldn't be *talking* to assets inside a loaded swf (Flash or otherwise) directly anyway. The loaded swf should have its own class and handle things independant and dispatch events when needed to communicate to the outside (Flash --> Flex) and have public methods to allow communication in the other direction (Flex --> Flash). So I think the more important question is, will events dispatched from an FCS3 swf loaded in an Flex app be captured, or in other words, if a FCS3 swf has a (document) class associated with it, will Flex recognize it. My guess is that this is what they're currently (or have been) focusing on ;-) Right now the communication between Flex and a loaded (flash 8) swf is established through a LocalConnection. I guess we'll just have to wait and see ;-) regards, Muzak - Original Message - From: "Austin Kottke" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 04, 2007 11:56 PM Subject: Re: [Flashcoders] Flash 9 CS 3 and Flex framework > Thanks David, > >That helps, however, I meant more of a workflow, like create the animation > in flash cs3 and > the animation has certain flash components in it, such as a datagrid at the > end of the last frame > or the flash animation has a few buttons in it on the side, along with other > types such as a textarea. > >I would want to be able to reference these buttons and components from > flex ideally or have > some really nice work flow that would allow via as3 to reference those > components. That way > I can make some re-usable animations and use flex for the main structure, but > have all of the animation > power needed (this includes having buttons, comboboxes, made in flash cs3) > directly accessible > through flex. > >I bring this up as I had thought that there would be a problem with flash > 9 cs3 NOT using the flex framework > directly and the different types of buttons, datagrids would be an entirely > different set of code made specifically > for flash 9 cs3 (ie the datagrid in cs3 is not the same datagrid as flex). Im > not > totally tracking on adobe's plan to handle this issue. > >I'm just trying to see what the plan on the workflow integration between > the to. The data on flash 9 cs3 is a bit > general on this point so I want to get this clarified. > > Best, > > Austin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] NetStream.play() - Start parameter
Read the docs and it will all come clear. Ah ha ha! That's hilarious. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Flash 9 CS 3 and Flex framework
Hi, I am not the best person to answer. But in the next 1-2 months we should get some good articles out on this and related topics on our site. Bear with us. -David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Austin Kottke Sent: Wednesday, April 04, 2007 5:56 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash 9 CS 3 and Flex framework Thanks David, That helps, however, I meant more of a workflow, like create the animation in flash cs3 and the animation has certain flash components in it, such as a datagrid at the end of the last frame or the flash animation has a few buttons in it on the side, along with other types such as a textarea. I would want to be able to reference these buttons and components from flex ideally or have some really nice work flow that would allow via as3 to reference those components. That way I can make some re-usable animations and use flex for the main structure, but have all of the animation power needed (this includes having buttons, comboboxes, made in flash cs3) directly accessible through flex. I bring this up as I had thought that there would be a problem with flash 9 cs3 NOT using the flex framework directly and the different types of buttons, datagrids would be an entirely different set of code made specifically for flash 9 cs3 (ie the datagrid in cs3 is not the same datagrid as flex). Im not totally tracking on adobe's plan to handle this issue. I'm just trying to see what the plan on the workflow integration between the to. The data on flash 9 cs3 is a bit general on this point so I want to get this clarified. Best, Austin David Mendels wrote: > Hello, > > I am not sure I understand your question perfectly. If you are asking: > "Will I be able to create components in Flash CS3 and then use them > inside a Flex application?", then answer is YES. We are working on > some things that will make this much easier, in the relatively near term. > > -David > Adobe > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Austin > Kottke > Sent: Wednesday, April 04, 2007 5:01 PM > To: Flashcoders@chattyfig.figleaf.com > Subject: [Flashcoders] Flash 9 CS 3 and Flex framework > > Does anyone know if you're going to be able to call flash 9 CS3 > components from flex? Ala accessing a button component in flash 9 cs3 > on the stage with the flex framework? > > That way if you load in a flash 9 cs3 movie you can access the rest of > the component set such as a datagrid component made in flash 9 cs3? > > Best, > > Austin > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/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] NetStream.play() - Start parameter
You have to wait for the ready event before you can seek. Read the docs and it will all come clear. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] NetStream.play() - Start parameter
This is very strange. Calling the seek method inside the metadata event re-triggers the metadata event, resulting in an endless seeking loop... On 4/4/07 6:02 PM, "Alon Zouaretz" <[EMAIL PROTECTED]> wrote: > you would have to play it till it call the metadata event first only then > you can start manipulating the stream, I would recommend to set the video > object to visible false and the set it to visible true on the metadata > event, then you should be able to seek it to any point > > hth, > a > > > > > On 4/4/07, leolea <[EMAIL PROTECTED]> wrote: >> >> >> No workee. >> >> Still plays from 0 and spits a NetStream.Seek.InvalidTime >> >> >> >> On 4/4/07 5:05 PM, "Steven Sacks | BLITZ" <[EMAIL PROTECTED]> wrote: >> >>> netStream.play(flvPath); >>> netStream.seek(5); >>> >>> >>> BLITZ | Steven Sacks - 310-551-0200 x209 >>> >>> -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of leolea Sent: Wednesday, April 04, 2007 12:20 PM To: Flashcoders mailing list Subject: [Flashcoders] NetStream.play() - Start parameter Hi, Has anyone used the Start:Number parameter from the NetStream.Play() method ? There isn't much documentation from Adobe. I want to start the playback of a FLV at, say, 5 seconds... So logically I would do: netStream.play(flvPath, 15); But it's always playing from 0... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/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] Combined Classes fail Tween Class
>>target is a movieclip, this helps me to instantiate the class >>in the place I desire Right - so then to remove any potential conflicts, take out: >>> var target: Application; Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Re: [Flash_ActionScript] Digest Number 1512
You should probably try to post this in the flashcoders forum. A lot more help available there. [EMAIL PROTECTED] wrote: There is 1 message in this issue. Topics in this digest: 1a. Re: Set Visibility For Next/Prev Buttons From: Bad Aegis Message 1a. Re: Set Visibility For Next/Prev Buttons Posted by: "Bad Aegis" [EMAIL PROTECTED] badaegis Date: Mon Apr 2, 2007 3:17 pm ((PDT)) --- In [EMAIL PROTECTED], "Shara" <[EMAIL PROTECTED]> wrote: I'm working on a flash project that scrolls through pages of text pullef from an external source. I would like to have the next button invisible once it reaches the last page. Similarly, I want the previous button to be invisible on the first page. I've tried creating a buttonVisibility function but I end up with one button or the other (sometimes both) off or on permanently. Any help you can offer would be greatly appreciated. Thanks in advance. this.nxtBtn_mc._visible = true; var totalPages:Number = n; //total number of pages, could be pulled from an array if this Number is dynamic. var currentPage:Number = n; //current page # pulled from ext. file function hideNext():Void { if(currentPage == totalPages) { this.nxtBtn_mc._visible = false; } else { this.nxtBtn_mc._visible = true; } } Hope that helps. My scripting leaves much to be desired... Messages in this topic (3) Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Flash_ActionScript/ <*> Your email settings: Digest Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/Flash_ActionScript/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Combined Classes fail Tween Class
>>Both movies have regular scripted tweens. so that is why I am >>afraid they are conflicting with each other Yeah, I mean, I'm not sure I can picture what: > >>"the latest movie plays as > >>if the latest movie stealed all the motion Tweens and used > >>them leaving the first movie "naked" looks like, but you may have conflicting identifers which over-write each other or something. Hard to say without knowing more about your setup. Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/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() - Start parameter
you would have to play it till it call the metadata event first only then you can start manipulating the stream, I would recommend to set the video object to visible false and the set it to visible true on the metadata event, then you should be able to seek it to any point hth, a On 4/4/07, leolea <[EMAIL PROTECTED]> wrote: No workee. Still plays from 0 and spits a NetStream.Seek.InvalidTime On 4/4/07 5:05 PM, "Steven Sacks | BLITZ" <[EMAIL PROTECTED]> wrote: > netStream.play(flvPath); > netStream.seek(5); > > > BLITZ | Steven Sacks - 310-551-0200 x209 > > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of leolea >> Sent: Wednesday, April 04, 2007 12:20 PM >> To: Flashcoders mailing list >> Subject: [Flashcoders] NetStream.play() - Start parameter >> >> Hi, >> >> Has anyone used the Start:Number parameter from the >> NetStream.Play() method ? >> >> There isn't much documentation from Adobe. I want to start >> the playback of a FLV at, say, 5 seconds... So logically I would do: >> >> netStream.play(flvPath, 15); >> >> But it's always playing from 0... >> >> >> >> >> ___ >> Flashcoders@chattyfig.figleaf.com >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/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] Flash 9 CS 3 and Flex framework
Thanks David, That helps, however, I meant more of a workflow, like create the animation in flash cs3 and the animation has certain flash components in it, such as a datagrid at the end of the last frame or the flash animation has a few buttons in it on the side, along with other types such as a textarea. I would want to be able to reference these buttons and components from flex ideally or have some really nice work flow that would allow via as3 to reference those components. That way I can make some re-usable animations and use flex for the main structure, but have all of the animation power needed (this includes having buttons, comboboxes, made in flash cs3) directly accessible through flex. I bring this up as I had thought that there would be a problem with flash 9 cs3 NOT using the flex framework directly and the different types of buttons, datagrids would be an entirely different set of code made specifically for flash 9 cs3 (ie the datagrid in cs3 is not the same datagrid as flex). Im not totally tracking on adobe's plan to handle this issue. I'm just trying to see what the plan on the workflow integration between the to. The data on flash 9 cs3 is a bit general on this point so I want to get this clarified. Best, Austin David Mendels wrote: Hello, I am not sure I understand your question perfectly. If you are asking: "Will I be able to create components in Flash CS3 and then use them inside a Flex application?", then answer is YES. We are working on some things that will make this much easier, in the relatively near term. -David Adobe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Austin Kottke Sent: Wednesday, April 04, 2007 5:01 PM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Flash 9 CS 3 and Flex framework Does anyone know if you're going to be able to call flash 9 CS3 components from flex? Ala accessing a button component in flash 9 cs3 on the stage with the flex framework? That way if you load in a flash 9 cs3 movie you can access the rest of the component set such as a datagrid component made in flash 9 cs3? Best, Austin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/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] Combined Classes fail Tween Class
target is a movieclip, this helps me to instantiate the class in the place I desire for example: var upsApp:Application = new Application(this); var upsApp:Application = new Application(movie1); var upsApp:Application = new Application(movie2); Learned that this week :) On 4/4/07, Merrill, Jason <[EMAIL PROTECTED]> wrote: Also, you are casting the same variable twice: var target: Application; public function Application ( target:MovieClip ) mc = target; is target an application or a movieclip? Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Helmut Granda >>Sent: Wednesday, April 04, 2007 5:14 PM >>To: Flashcoders mailing list >>Subject: [Flashcoders] Combined Classes fail Tween Class >> >>I have a main class that will act as a holder for the rest of >>my classes, somethig like this: >> >>//start sample >>import com.views.*; >> >>class com.Application { >> >>var menuL: MovieClip; >>var contentLL: MovieClip; >>var footerL: MovieClip; >>var mc : MovieClip; >> >>var target: Application; >> >>public function Application ( target:MovieClip ) { >> >>mc = target; >>menuL = mc.createEmptyMovieClip("menuL", >>mc.getNextHighestDepth() ); >>contentLL= mc.createEmptyMovieClip("contentL", >>mc.getNextHighestDepth()); >>contentLL._y = 73; >> >>init(); >> >>} >> >>private function init() { >> >>contentLL.loadMovie("intro.swf"); >>menuL.loadMovie("menu.swf"); >>} >>} >> >>//end sample >>The content load perfectly but only the latest movie plays as >>if the latest movie stealed all the motion Tweens and used >>them leaving the first movie "naked". >> >>Is this something common? >>___ >>Flashcoders@chattyfig.figleaf.com >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/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] Hyperlinks in HTML Enabled Text Field: Accessible?
majordan, Thanks a ton! While I was hoping for some magical switch I could flick for this ;-), this solution works well, though it took me forever to get working in an AS2 Class file. I need to make another pass at my solution, but can share the class if you have any interest. Again, thanks for the help! Jer On 4/3/07, Michael A. Jordan <[EMAIL PROTECTED]> wrote: HTML text-fields are not natively accessible. You'll need to create a proxy movieclip for each link to receive keyboard events. An example in AS2 using CSS and XPath: http://proto.layer51.com/d.aspx?f=1430 In AS1 using prototype methods: http://proto.layer51.com/d.aspx?f=1209 In Flex http://www.majordan.net/test/inlinelinksapp/ -- majordan -Original Message- From: Jer Brand [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 03, 2007 5:15 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Hyperlinks in HTML Enabled Text Field: Accessible? I think I've coded myself into a corner on this, but I'm hoping someone's either found a solution or knows first hand that I'm out of luck. The project I'm working on requires that the user/developer of the swf be able to supply a blurb of text with a list of 1 to n links (text and url). My swf needs to suck in this information from a text/xml file and display it all pretty like and be accessible using keyboard only navigation (this is a tiny part of a larger app). I thought the obvious way to do this would be with an HTML enabled TextField. The user's could type up a simple text file with HTML text and hyperlinks -- HTML is accessible right? I'm hoping I'm missing something stupid here that needs to be done to allow me to move focus to the hyperlink in the TextField to allow the user to follow the link. Am I hopelessly out of luck? Jer ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Combined Classes fail Tween Class
Both movies have regular scripted tweens. so that is why I am afraid they are conflicting with each other On 4/4/07, Merrill, Jason <[EMAIL PROTECTED]> wrote: Where's the code that has the motion tweens? Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Helmut Granda >>Sent: Wednesday, April 04, 2007 5:14 PM >>To: Flashcoders mailing list >>Subject: [Flashcoders] Combined Classes fail Tween Class >> >>I have a main class that will act as a holder for the rest of >>my classes, somethig like this: >> >>//start sample >>import com.views.*; >> >>class com.Application { >> >>var menuL: MovieClip; >>var contentLL: MovieClip; >>var footerL: MovieClip; >>var mc : MovieClip; >> >>var target: Application; >> >>public function Application ( target:MovieClip ) { >> >>mc = target; >>menuL = mc.createEmptyMovieClip("menuL", >>mc.getNextHighestDepth() ); >>contentLL= mc.createEmptyMovieClip("contentL", >>mc.getNextHighestDepth()); >>contentLL._y = 73; >> >>init(); >> >>} >> >>private function init() { >> >>contentLL.loadMovie("intro.swf"); >>menuL.loadMovie("menu.swf"); >>} >>} >> >>//end sample >>The content load perfectly but only the latest movie plays as >>if the latest movie stealed all the motion Tweens and used >>them leaving the first movie "naked". >> >>Is this something common? >>___ >>Flashcoders@chattyfig.figleaf.com >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/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] NetStream.play() - Start parameter
No workee. Still plays from 0 and spits a NetStream.Seek.InvalidTime On 4/4/07 5:05 PM, "Steven Sacks | BLITZ" <[EMAIL PROTECTED]> wrote: > netStream.play(flvPath); > netStream.seek(5); > > > BLITZ | Steven Sacks - 310-551-0200 x209 > > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of leolea >> Sent: Wednesday, April 04, 2007 12:20 PM >> To: Flashcoders mailing list >> Subject: [Flashcoders] NetStream.play() - Start parameter >> >> Hi, >> >> Has anyone used the Start:Number parameter from the >> NetStream.Play() method ? >> >> There isn't much documentation from Adobe. I want to start >> the playback of a FLV at, say, 5 seconds... So logically I would do: >> >> netStream.play(flvPath, 15); >> >> But it's always playing from 0... >> >> >> >> >> ___ >> Flashcoders@chattyfig.figleaf.com >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Software >> Premier Authorized Adobe Consulting and Training >> http://www.figleaf.com http://training.figleaf.com >> > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Flash 9 CS 3 and Flex framework
Hello, I am not sure I understand your question perfectly. If you are asking: "Will I be able to create components in Flash CS3 and then use them inside a Flex application?", then answer is YES. We are working on some things that will make this much easier, in the relatively near term. -David Adobe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Austin Kottke Sent: Wednesday, April 04, 2007 5:01 PM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Flash 9 CS 3 and Flex framework Does anyone know if you're going to be able to call flash 9 CS3 components from flex? Ala accessing a button component in flash 9 cs3 on the stage with the flex framework? That way if you load in a flash 9 cs3 movie you can access the rest of the component set such as a datagrid component made in flash 9 cs3? Best, Austin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/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] Combined Classes fail Tween Class
Also, you are casting the same variable twice: var target: Application; public function Application ( target:MovieClip ) mc = target; is target an application or a movieclip? Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Helmut Granda >>Sent: Wednesday, April 04, 2007 5:14 PM >>To: Flashcoders mailing list >>Subject: [Flashcoders] Combined Classes fail Tween Class >> >>I have a main class that will act as a holder for the rest of >>my classes, somethig like this: >> >>//start sample >>import com.views.*; >> >>class com.Application { >> >>var menuL: MovieClip; >>var contentLL: MovieClip; >>var footerL: MovieClip; >>var mc : MovieClip; >> >>var target: Application; >> >>public function Application ( target:MovieClip ) { >> >>mc = target; >>menuL = mc.createEmptyMovieClip("menuL", >>mc.getNextHighestDepth() ); >>contentLL= mc.createEmptyMovieClip("contentL", >>mc.getNextHighestDepth()); >>contentLL._y = 73; >> >>init(); >> >>} >> >>private function init() { >> >>contentLL.loadMovie("intro.swf"); >>menuL.loadMovie("menu.swf"); >>} >>} >> >>//end sample >>The content load perfectly but only the latest movie plays as >>if the latest movie stealed all the motion Tweens and used >>them leaving the first movie "naked". >> >>Is this something common? >>___ >>Flashcoders@chattyfig.figleaf.com >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/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] Combined Classes fail Tween Class
Where's the code that has the motion tweens? Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Helmut Granda >>Sent: Wednesday, April 04, 2007 5:14 PM >>To: Flashcoders mailing list >>Subject: [Flashcoders] Combined Classes fail Tween Class >> >>I have a main class that will act as a holder for the rest of >>my classes, somethig like this: >> >>//start sample >>import com.views.*; >> >>class com.Application { >> >>var menuL: MovieClip; >>var contentLL: MovieClip; >>var footerL: MovieClip; >>var mc : MovieClip; >> >>var target: Application; >> >>public function Application ( target:MovieClip ) { >> >>mc = target; >>menuL = mc.createEmptyMovieClip("menuL", >>mc.getNextHighestDepth() ); >>contentLL= mc.createEmptyMovieClip("contentL", >>mc.getNextHighestDepth()); >>contentLL._y = 73; >> >>init(); >> >>} >> >>private function init() { >> >>contentLL.loadMovie("intro.swf"); >>menuL.loadMovie("menu.swf"); >>} >>} >> >>//end sample >>The content load perfectly but only the latest movie plays as >>if the latest movie stealed all the motion Tweens and used >>them leaving the first movie "naked". >> >>Is this something common? >>___ >>Flashcoders@chattyfig.figleaf.com >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/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] Combined Classes fail Tween Class
I have a main class that will act as a holder for the rest of my classes, somethig like this: //start sample import com.views.*; class com.Application { var menuL: MovieClip; var contentLL: MovieClip; var footerL: MovieClip; var mc : MovieClip; var target: Application; public function Application ( target:MovieClip ) { mc = target; menuL = mc.createEmptyMovieClip("menuL", mc.getNextHighestDepth() ); contentLL= mc.createEmptyMovieClip("contentL", mc.getNextHighestDepth()); contentLL._y = 73; init(); } private function init() { contentLL.loadMovie("intro.swf"); menuL.loadMovie("menu.swf"); } } //end sample The content load perfectly but only the latest movie plays as if the latest movie stealed all the motion Tweens and used them leaving the first movie "naked". Is this something common? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] NetStream.play() - Start parameter
netStream.play(flvPath); netStream.seek(5); BLITZ | Steven Sacks - 310-551-0200 x209 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of leolea > Sent: Wednesday, April 04, 2007 12:20 PM > To: Flashcoders mailing list > Subject: [Flashcoders] NetStream.play() - Start parameter > > Hi, > > Has anyone used the Start:Number parameter from the > NetStream.Play() method ? > > There isn't much documentation from Adobe. I want to start > the playback of a FLV at, say, 5 seconds... So logically I would do: > > netStream.play(flvPath, 15); > > But it's always playing from 0... > > > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/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 CS 3 and Flex framework
Does anyone know if you're going to be able to call flash 9 CS3 components from flex? Ala accessing a button component in flash 9 cs3 on the stage with the flex framework? That way if you load in a flash 9 cs3 movie you can access the rest of the component set such as a datagrid component made in flash 9 cs3? Best, Austin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] NetStream.play() - Start parameter
You're right the documention is *very* thin. Have you tried getting the effect you're after with NetStream.seek(50)? -Steven --- leolea <[EMAIL PROTECTED]> wrote: > Hi, > > Has anyone used the Start:Number parameter from the NetStream.Play() method > ? > > There isn't much documentation from Adobe. I want to start the playback of a > FLV at, say, 5 seconds... So logically I would do: > > netStream.play(flvPath, 15); > > But it's always playing from 0... > > > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Entities are Hell!
My guess is that you were just using the node itself instead of getting nodeValue (basically using the toString() function). If that's the case then toString probably gives the raw data in the file, while using nodeValue does the full conversion of the data in the node. -Andy On 4/4/07, Steven Loe <[EMAIL PROTECTED]> wrote: Andrew, nodeValue works! I don't even have to convert the special characters to entities to have it display correctly. Thanks very much. Next Question: Do you understand How/Why it works? Thanks, Steven <> --- "Rost, Andrew" <[EMAIL PROTECTED]> wrote: > Play with nodeValue. As a test add the entity code into the XML file and use > nodeValue: > > // XML > > Akbar & Jeff's ActionScript Hut > > // > // AS > theClip.txt.text = xmlNode.firstChild.firstChild.nodeValue; > // > > instead of: > // XML > > Akbar & Jeff's ActionScript Hut > > // > // AS > theClip.txt.text = xmlNode.firstChild.firstChild; > // > > HTH - Andrew > -Original Message- > From: Steven Loe [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 04, 2007 10:24 AM > To: Flashcoders mailing list > Subject: [Flashcoders] Entities are Hell! > > I'm loading xml with special characters. These display as their entity codes > i.e. "&" as "&". If I put enitity codes in the xml, I still get entity > codes displaying on screen. What am I doing wrong? Any thoughts? Thanks!!! > > > Screen Output: > Akbar & Jeff's ActionScript Hut > > my_xml.xml: > > Akbar & Jeff's ActionScript Hut > > > > class: > class LoadXml { > private static var xmlUrl:String = "my_xml.xml"; > private var rootRef; > private var theClip:MovieClip; > > function LoadXml(rootRef) { > this.rootRef = rootRef; > var xmlDoc:XML = new XML(); > xmlDoc.ignoreWhite = true; > xmlDoc.onLoad = function(success:Boolean) { > if (success) { > this.owner.displayData(this); > } else { > trace("error loading xml"); > } > }; > Object(xmlDoc).owner = this; > xmlDoc.load(xmlUrl); > } > > private function displayData(xmlDoc:XML) { > var xmlNode:XMLNode = xmlDoc.firstChild; > if (xmlNode.nodeName.toString() == "hut_data") { > theClip = > this.rootRef.createEmptyMovieClip("theClip", 1); > theClip.createTextField("txt", 10, 10, 10, 250, 20); > theClip.txt.html = true; > theClip.txt.text = xmlNode.firstChild.firstChild; > } > } > } Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/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] Date.getTime rounded in PocketPC player
Maybe that's the case... I'll try to find out via other technologies such as JS or C. I'll post whatever I find here. Cheers, Juan On 4/4/07, Andy Herrman <[EMAIL PROTECTED]> wrote: Is it possible the clocks on the PocketPC architecture just don't have that much precision? If that were the case then you wouldn't be able to get more accurate timing data. -Andy On 4/3/07, Zárate <[EMAIL PROTECTED]> wrote: > Yep, that might be another way of doing it, but i'd like to know why, > apparently, the PocketPC player doesn't do what's supposed to do as > described in the docs. > > Unless I am doing something wrong, I think this is a bug that should > be fixed. While doing so the docs should be updated to warn > developers. > > Don't you think? > > Thanks, > > Juan > > On 4/3/07, Dave Mennenoh <[EMAIL PROTECTED]> wrote: > > I don't have any suggestions regarding the less accurate timing mechanism on > > the PDA, but I'd suggest this: Instead of timing how long it takes to do > > something - maybe you can do something x times in say 10 seconds. So instead > > of the speed via time, you get the speed via number of loop iterations. Can > > you do it that way? > > > > Dave - > > Head Developer > > www.blurredistinction.com > > Adobe Community Expert > > http://www.adobe.com/communities/experts/ > > > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > -- > Juan Delgado - Zárate > http://zarate.tv > http://dandolachapa.com > http://loqueyosede.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 -- Juan Delgado - Zárate http://zarate.tv http://dandolachapa.com http://loqueyosede.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] If statements combined into one
Thanks Jesse, this seems to be what I'm after. I will go ahead and play with it and provide my findings... On 4/4/07, Jesse Graupmann <[EMAIL PROTECTED]> wrote: // RUN function runOnce ( id ) { trace( arguments ); } // CHECK function runCheck ( id ) { if ( doneOnce [ '_' + id ] == undefined ) { doneOnce [ '_' + id ] = true; doneOnce.func.apply (null, arguments); } } // STORE doneOnce = {}; doneOnce.func = mx.utils.Delegate.create (this, runOnce); // TEST runCheck ( 1, 1 ); runCheck ( 1 ); runCheck ( 1 ); runCheck ( 'a', 1, 'arg1', 'arg2', 'arg3' ); runCheck ( 'a', 2 ); runCheck ( 'a', 3 ); runCheck ( 'b', 1 ); runCheck ( 'b', 2 ); _ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 12:30 PM To: Flashcoders mailing list Subject: [Flashcoders] If statements combined into one insted of : bigFunction() { once1 = true; if (once1 == true) { dothisonce(); once1 = false; } once2 = true; if (once2 == true) { dothisonce(); once2 = false; } once3 = true; if (once3 == true) { dothisonce(); once3 = false; } } What I am trying to do is take the if statements out into its own function like bigFunction() { test(one); test(two); test(three); test(var1 ) { once = true; if (once == true) { apply.var1(this); once = false; } } The tricky part is that this functions are being triggered constantly so each function has to fire only once each time is called... Any good ideas? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/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] NetStream.play() - Start parameter
Hi, Has anyone used the Start:Number parameter from the NetStream.Play() method ? There isn't much documentation from Adobe. I want to start the playback of a FLV at, say, 5 seconds... So logically I would do: netStream.play(flvPath, 15); But it's always playing from 0... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash and video optimisation ....
On 4/4/07 2:56 PM, "Muzak" <[EMAIL PROTECTED]> wrote: > I found the sorenson vp6 encoding to be *very very* slow and stopped using it. I had the same experience, and didn't see much of a difference compared to the Flash 8 Video Encoder, which works must faster. FVE also dealt better with alpha channels. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] sync flv with swf
If they both have the same duration, then you can use the percentage from the SWF and apply it to the FLV... var swfPercent:Number = swfmc._currentframe / swfmc._totalframes; flvNetStream.seek(flvDuration * swfPercent); Should work. On 4/4/07 1:42 PM, "robert" <[EMAIL PROTECTED]> wrote: > Im just guessing but how about getting a percentage played of the swf > using currentframe and totalframes, then using that number to target > the matching playhead position in the flv. > > > On Apr 4, 2007, at 6:02 AM, Ellen Sundh wrote: > >> Hi! >> >> I have an identical movie in a swf file and as a flv. >> They loaddifferently but I was wondering if there is a way to match >> the frames so that the flv goes to the same frame in the movie as >> the swf? >> >> The only option I can think is doing it by hand, frame by frame. >> Are there any other solutions? >> >> Thanks in advance! >> >> Ellen >> ___ >> Flashcoders@chattyfig.figleaf.com >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Software >> Premier Authorized Adobe Consulting and Training >> http://www.figleaf.com >> http://training.figleaf.com > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash and video optimisation ....
Seems like alot of hassle still to get vp6 encoding to work. Furthermore the vp6 codec is no longer available from the ON2 website, so you have to google it (and then grab it from some obscure site that offers it for download I suppose). I found the sorenson vp6 encoding to be *very very* slow and stopped using it. regards, Muzak - Original Message - From: "Dennis Roche" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 04, 2007 4:02 PM Subject: Re: [Flashcoders] Flash and video optimisation > Yes. There is a way to On2 VP6 with FFmpeg. > > I found this article when I needed to do automatic video encoding from a > drop folder. > http://sh0dan.blogspot.com/2006/09/command-line-flash-8-flv-encoding.html > > Otherwise I use Sorenson Squeeze 4. It has the Sorenson Pro Codec which is > really nice if you need to publish to Flash 7+. It can only do On2 VP6 > nicely too. > > > On 04/04/07, Muzak <[EMAIL PROTECTED] > wrote: >> >> Does ffmpeg support VP6 flv encoding yet? >> Last time I tried it (quite some time ago though) it only supported >> Sorenson Spark H.263 flv encoding. >> >> ON2 VP6 quality is superior to Sorenson Spark. >> >> regards, >> Muzak >> >> - Original Message - >> From: "Jon Bradley" <[EMAIL PROTECTED] > >> To: >> Sent: Wednesday, April 04, 2007 1:57 PM >> Subject: Re: [Flashcoders] Flash and video optimisation >> >> >> >> On Apr 3, 2007, at 8:12 PM, Kerem Iseri wrote: >> >> > I couldnt find any software directly converts avi to flv better then >> flash. >> > I am open for other ideas : ) >> >> FFmpeg is free and it also will do it just as well as Flash. It's >> just tricky to use and get running, more so if you're on a windows >> platform. OSX setup is a breeze I found. >> >> cheers, >> >> jon ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Question: FMS 2 and CMS managed FLV files
On Apr 4, 2007, at 7:54 AM, Jon Bradley wrote: On Apr 3, 2007, at 10:34 PM, john robinson wrote: On Apr 3, 2007, at 3:41 PM, Jon Bradley wrote: I've got a bit of a question that I'm trying to wrap my head around. Can Flash Media Server 2 take dynamic paths to FLV content? As long as the path exists, then yeah it should be fine. I'm not sure if I understand your question correctly though. Are you saying you'll get a path like below from the CMS? "someserver.com/flash/videos/somefolder/somevideo" If that path exists on the FMS, then it shouldn't be a problem at all. A bit different actually. The CMS system and application we are building is written with Java running on Apache Tomcat. File system paths will be stored like follows: serverURL/fileServlet/filename.flv?GET_ITEM_ID=347&TransformationID=234 So the Flash front-end gets this path from the CMS, correct? If that's the case, then in your Java application, you you then copy the actual flv somewhere like so: "FMS/applications/myApplication/streams/347/filename.flv" With the path you provided, you should be able to rip it apart in Flash and build the correct FMS path from there. Does that help at all? You shouldn't need to setup virtual paths at all. If you do need to setup virtual paths, I believe the FMS has an admin service that you could call from your Server-side AS to add those virtual paths dynamically as needed. John Where the item id is a link to the metadata of the asset stored in a database and the transformation id is the transformed file from that asset. Our servers (flip factory, etc) will generate low res previews and a high res FLV from the original asset, which is mpeg-2. I can probably build a direct path on the HD to the file, but from what I gather, you need to edit virtual paths in FMS for it to recognize the location of the files. I can't do this because each 'asset' is a collection of files, including the FLV I want to stream. Each asset is a folder basically and there may be lots of 'em - 10s of thousands. I don't know. Maybe it's server-side AS that grabs the path from the client side application (also flash) and somehow uses it to retrieve and stream the file. This is definitely unchartered AS territory for me. I'm testing the dev edition of FMS to get a grips on whether or not it'll be best for the job. Red5 or some other tomcat-type installation of a streaming server may be a better selection as I look into it more. thanks, jon ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/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] One more AS3 question!
Ben you're doing the right thing by having MyClass contain the clip you load rather than extend it. You can't cast a MovieClip (or any object) to a new type that's lower in the class hierarchy than the original object. Doug -Original Message- From: ben gomez farrell [mailto:[EMAIL PROTECTED] Sent: Monday, April 02, 2007 9:11 AM To: Flashcoders mailing list Subject: [Flashcoders] One more AS3 question! So, I was wondering if there's anyway to do this I have some graphics in my SWF. I'm embedding them and compiling with the Flex SDK. The graphics are coming in as MovieClips, but I want a little more functionality, so I'd like to extend the clip and encapsulate that additional functionality in a class. I've discovered the magic of typing something as I can bring in a movieclip and do a var mynewsprite:Sprite = mymovieclip as Sprite. But I actually want to type something "up". With type "as" I can only type something as something the object extends from. I can type a movieclip as a sprite or a display object. I want to take my movieclip instance from the library (I don't want to specify a class name, because I'd prefer to avoid the Flash alpha compiler and just do everything in the Flex SDK). I want to bring that movieclip onto the stage and magically make it a MyClass movieclip (where MyClass extends movieclip). For now I'm just working around it by passing it into MyClass, and not making MyClass extend anything, just keeping the movieclip as a variable to use in the class. Anyway, I know I'm being really picky (don't want to specify a class, don't want workarounds), it's really for learning purposes rather than "I need this done right now!!!" So anybody know how to turn a movieclip into an extended movieclip through code? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] sync flv with swf
mail me offlist. i have a library in as3 and as2 which does this. On 4/4/07, robert <[EMAIL PROTECTED]> wrote: Im just guessing but how about getting a percentage played of the swf using currentframe and totalframes, then using that number to target the matching playhead position in the flv. On Apr 4, 2007, at 6:02 AM, Ellen Sundh wrote: > Hi! > > I have an identical movie in a swf file and as a flv. > They loaddifferently but I was wondering if there is a way to match > the frames so that the flv goes to the same frame in the movie as > the swf? > > The only option I can think is doing it by hand, frame by frame. > Are there any other solutions? > > Thanks in advance! > > Ellen > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/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 -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] sync flv with swf
Im just guessing but how about getting a percentage played of the swf using currentframe and totalframes, then using that number to target the matching playhead position in the flv. On Apr 4, 2007, at 6:02 AM, Ellen Sundh wrote: Hi! I have an identical movie in a swf file and as a flv. They loaddifferently but I was wondering if there is a way to match the frames so that the flv goes to the same frame in the movie as the swf? The only option I can think is doing it by hand, frame by frame. Are there any other solutions? Thanks in advance! Ellen ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/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] FLV (like youtube)
Did you even google this? There are many tools that convert to FLV server-side. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Tom Huynen > Sent: Wednesday, April 04, 2007 6:07 AM > To: flashcoders@chattyfig.figleaf.com > Subject: [Flashcoders] FLV (like youtube) > > Hi there, > > A project requires me to create an app that enables people to > upload .avi and mov's. > These movies must be visible in the frontoffice. > > Does anybody know how to convert .avi and .mov into FLV? > Or is there a better alternative? > > Kind regards, > > Tom > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/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] Preloading FLV with NetStream
The PreloadAssetManager class simply preloads your assets into your browser's cache; it is not meant to be used for playback or managing your FLVs once they're preloaded. There's nothing special that you need to do in order to access the preloaded FLVs - just call them as you normally would either using a NetStream object of your own or an FLVPlayback component or whatever. The user's browser will be smart enough to used the cached FLVs instead of going out to the web and downloading them again. You might want to search the Flash Help files for NetStream or FLVPlayback. Jack -Original Message- Date: Wed, 04 Apr 2007 10:59:02 -0400 From: leolea <[EMAIL PROTECTED]> Subject: Re: [Flashcoders] Preloading FLV with NetStream To: flashcoders@chattyfig.figleaf.com Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII Preloading works super fine! Thank you very much for this class. I am preloading a bunch of FLVs. Once they get at 100%, how do I access them using a NetStream object (or other) ? (I need to implement something that initates the playback of the first one, when it reaches the end I must start the second one, so on...) On 4/3/07 6:42 PM, "Jack Doyle" <[EMAIL PROTECTED]> wrote: > Yep, you can preload FLVs with the NetStream. Check out the > PreloadAssetManager class which will handle it all for you: > http://www.greensock.com/ActionScript/PreloadAssetManager > > Jack > > -Original Message- > Date: Tue, 03 Apr 2007 16:04:35 -0400 > From: leolea <[EMAIL PROTECTED]> > Subject: [Flashcoders] Preloading FLV with NetStream > To: Flashcoders mailing list > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=US-ASCII > > Hi, > > Is it possible, using the NetStream object, to "preload" a FLV. > > I have multiple FLV videos that I need to play back-to-back smoothly. I want > all of them to be preloaded so that when I start playback it doesn't buffer > or lag in any way. > > I can't seem to find a way so my next alternative would be to use SWF with > MovieClipLoader. I'd like to avoid 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] eolas fix for IE7
solved: the problem was with a corrupt flash player. i've implemented the fix as you described below, Jason, and i also implemented the swfobject fix. they both work. my computer was on the fritz and ended up passing away this morning and i'm back on a new one and all is working as expected. thanks for everyone's input and responses. matt. - Original Message - From: "Merrill, Jason" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 04, 2007 9:52 AM Subject: RE: [Flashcoders] eolas fix for IE7 You might want to try ObjectSwap - http://blog.neo-archaic.net/2006/04/25/objectswap.htm If all you want to do is circumvent the EOLAS patent issue, and don't care about player detection (and maybe if IE7 is hosing Flash player detection, you don't WANT to worry about it :) ), then just write an external .js file which writes out the Flash embed tags into your HTML page. Really super easy if you know just a little (and I mean little, like JS 101) Javascript. All you really need to know how to do in JS is document.write,put the document.write statements in a function, and how to in HTML link to the .js file and call the function. Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/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] Entities are Hell!
Hello, You could check if your XML file is UTF-8 encoded. Then, if it still isn't working (it should...), you could try to put the text in a CDATA tag: hth, Cedric try puttign this into your movie.. System.useCodepage = true; On 4/4/07, Steven Loe <[EMAIL PROTECTED]> wrote: I'm loading xml with special characters. These display as their entity codes i.e. "&" as "&". If I put enitity codes in the xml, I still get entity codes displaying on screen. What am I doing wrong? Any thoughts? Thanks!!! Screen Output: Akbar & Jeff's ActionScript Hut my_xml.xml: Akbar & Jeff's ActionScript Hut class: class LoadXml { private static var xmlUrl:String = "my_xml.xml"; private var rootRef; private var theClip:MovieClip; function LoadXml(rootRef) { this.rootRef = rootRef; var xmlDoc:XML = new XML(); xmlDoc.ignoreWhite = true; xmlDoc.onLoad = function(success:Boolean) { if (success) { this.owner.displayData(this); } else { trace("error loading xml"); } }; Object(xmlDoc).owner = this; xmlDoc.load(xmlUrl); } private function displayData(xmlDoc:XML) { var xmlNode:XMLNode = xmlDoc.firstChild; if (xmlNode.nodeName.toString() == "hut_data") { theClip = this.rootRef.createEmptyMovieClip ("theClip", 1); theClip.createTextField("txt", 10, 10, 10, 250, 20); theClip.txt.html = true; theClip.txt.text = xmlNode.firstChild.firstChild; } } } _ ___ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/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] simple code- should work but is not.
Thanks for all your help. i put the wineback_btn in the first frame and set the _visible to false and that works. yeah, wasn't sure if this problem belonged in flashcoders. will send to flashnewbies next time. thanks for helping regardless. On 4/3/07, Merrill, Jason <[EMAIL PROTECTED]> wrote: I would move this to the Flashnewbies list, but your problem is in the wine_mc there is no wineback_btn in the first frame, thus Flash can't find it to assign the onPress. In fact, I don't see wineback_btn anywhere in wine_mc - only in the library. Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Thomas Collins >>Sent: Tuesday, April 03, 2007 2:35 PM >>To: flashcoders@chattyfig.figleaf.com >>Subject: [Flashcoders] simple code- should work but is not. >> >>Hi all, >> >>this is my first post on flashcoders. i think this is a >>simple fix and everything is basic, so i can't figure out why >>it isn't working. >> >>my code on the root timeline in the actions layer (frame 21) >>is simply: >> >> ** stop(); >> >>wine_mc.wineback_btn.onPress = function() { >> trace("hello"); >>} >> >>might anyone know why my "wineback_btn" is not registering >>the "onPress"? >> >>i know for sure that my playhead reaches frame 21 where the code is. >> instance names are specified. >> >>any help would be much appreciated. >> >>thanks in advance. >> >>i've uploaded the .fla in case you want to take a closer look. >> >>http://download.yousendit.com/73F37C700CEE66C5 >>___ >>Flashcoders@chattyfig.figleaf.com >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/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] Entities are Hell!
Hi Steven Try: theClip.txt.text = xmlNode.firstChild.firstChild.nodeValue; Jake On 04/04/07, Steven Loe <[EMAIL PROTECTED]> wrote: I'm loading xml with special characters. These display as their entity codes i.e. "&" as "&". If I put enitity codes in the xml, I still get entity codes displaying on screen. What am I doing wrong? Any thoughts? Thanks!!! Screen Output: Akbar & Jeff's ActionScript Hut my_xml.xml: Akbar & Jeff's ActionScript Hut class: class LoadXml { private static var xmlUrl:String = "my_xml.xml"; private var rootRef; private var theClip:MovieClip; function LoadXml(rootRef) { this.rootRef = rootRef; var xmlDoc:XML = new XML(); xmlDoc.ignoreWhite = true; xmlDoc.onLoad = function(success:Boolean) { if (success) { this.owner.displayData(this); } else { trace("error loading xml"); } }; Object(xmlDoc).owner = this; xmlDoc.load(xmlUrl); } private function displayData(xmlDoc:XML) { var xmlNode:XMLNode = xmlDoc.firstChild; if (xmlNode.nodeName.toString() == "hut_data") { theClip = this.rootRef.createEmptyMovieClip("theClip", 1); theClip.createTextField("txt", 10, 10, 10, 250, 20); theClip.txt.html = true; theClip.txt.text = xmlNode.firstChild.firstChild; } } } Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/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] Entities are Hell!
Andrew, nodeValue works! I don't even have to convert the special characters to entities to have it display correctly. Thanks very much. Next Question: Do you understand How/Why it works? Thanks, Steven <> --- "Rost, Andrew" <[EMAIL PROTECTED]> wrote: > Play with nodeValue. As a test add the entity code into the XML file and use > nodeValue: > > // XML > > Akbar & Jeff's ActionScript Hut > > // > // AS > theClip.txt.text = xmlNode.firstChild.firstChild.nodeValue; > // > > instead of: > // XML > > Akbar & Jeff's ActionScript Hut > > // > // AS > theClip.txt.text = xmlNode.firstChild.firstChild; > // > > HTH - Andrew > -Original Message- > From: Steven Loe [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 04, 2007 10:24 AM > To: Flashcoders mailing list > Subject: [Flashcoders] Entities are Hell! > > I'm loading xml with special characters. These display as their entity codes > i.e. "&" as "&". If I put enitity codes in the xml, I still get entity > codes displaying on screen. What am I doing wrong? Any thoughts? Thanks!!! > > > Screen Output: > Akbar & Jeff's ActionScript Hut > > my_xml.xml: > > Akbar & Jeff's ActionScript Hut > > > > class: > class LoadXml { > private static var xmlUrl:String = "my_xml.xml"; > private var rootRef; > private var theClip:MovieClip; > > function LoadXml(rootRef) { > this.rootRef = rootRef; > var xmlDoc:XML = new XML(); > xmlDoc.ignoreWhite = true; > xmlDoc.onLoad = function(success:Boolean) { > if (success) { > this.owner.displayData(this); > } else { > trace("error loading xml"); > } > }; > Object(xmlDoc).owner = this; > xmlDoc.load(xmlUrl); > } > > private function displayData(xmlDoc:XML) { > var xmlNode:XMLNode = xmlDoc.firstChild; > if (xmlNode.nodeName.toString() == "hut_data") { > theClip = > this.rootRef.createEmptyMovieClip("theClip", 1); > theClip.createTextField("txt", 10, 10, 10, 250, 20); > theClip.txt.html = true; > theClip.txt.text = xmlNode.firstChild.firstChild; > } > } > } Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Entities are Hell!
try puttign this into your movie.. System.useCodepage = true; On 4/4/07, Steven Loe <[EMAIL PROTECTED]> wrote: I'm loading xml with special characters. These display as their entity codes i.e. "&" as "&". If I put enitity codes in the xml, I still get entity codes displaying on screen. What am I doing wrong? Any thoughts? Thanks!!! Screen Output: Akbar & Jeff's ActionScript Hut my_xml.xml: Akbar & Jeff's ActionScript Hut class: class LoadXml { private static var xmlUrl:String = "my_xml.xml"; private var rootRef; private var theClip:MovieClip; function LoadXml(rootRef) { this.rootRef = rootRef; var xmlDoc:XML = new XML(); xmlDoc.ignoreWhite = true; xmlDoc.onLoad = function(success:Boolean) { if (success) { this.owner.displayData(this); } else { trace("error loading xml"); } }; Object(xmlDoc).owner = this; xmlDoc.load(xmlUrl); } private function displayData(xmlDoc:XML) { var xmlNode:XMLNode = xmlDoc.firstChild; if (xmlNode.nodeName.toString() == "hut_data") { theClip = this.rootRef.createEmptyMovieClip("theClip", 1); theClip.createTextField("txt", 10, 10, 10, 250, 20); theClip.txt.html = true; theClip.txt.text = xmlNode.firstChild.firstChild; } } } Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/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] Entities are Hell!
You need to decode the entities first. function decodeEntities(entityString:String):String { var x:XML = new XML(""+entityString+""); x.parseXML(); return x.firstChild.firstChild.nodeValue; } Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Steven Loe >>Sent: Wednesday, April 04, 2007 11:24 AM >>To: Flashcoders mailing list >>Subject: [Flashcoders] Entities are Hell! >> >>I'm loading xml with special characters. These display as >>their entity codes i.e. "&" as "&". If I put enitity >>codes in the xml, I still get entity codes displaying on >>screen. What am I doing wrong? Any thoughts? Thanks!!! >> >> >>Screen Output: >>Akbar & Jeff's ActionScript Hut >> >>my_xml.xml: >> >> Akbar & Jeff's ActionScript Hut >> >> >>class: >>class LoadXml { >> private static var xmlUrl:String = "my_xml.xml"; >> private var rootRef; >> private var theClip:MovieClip; >> >> function LoadXml(rootRef) { >> this.rootRef = rootRef; >> var xmlDoc:XML = new XML(); >> xmlDoc.ignoreWhite = true; >> xmlDoc.onLoad = function(success:Boolean) { >> if (success) { >> this.owner.displayData(this); >> } else { >> trace("error loading xml"); >> } >> }; >> Object(xmlDoc).owner = this; >> xmlDoc.load(xmlUrl); >> } >> >> private function displayData(xmlDoc:XML) { >> var xmlNode:XMLNode = xmlDoc.firstChild; >> if (xmlNode.nodeName.toString() == "hut_data") { >> theClip = >>this.rootRef.createEmptyMovieClip("theClip", 1); >> theClip.createTextField("txt", 10, 10, >>10, 250, 20); >> theClip.txt.html = true; >> theClip.txt.text = >>xmlNode.firstChild.firstChild; >> } >> } >>} >> >> >> >> >> >>__ >>__ >>Expecting? Get great news right away with email Auto-Check. >>Try the Yahoo! Mail Beta. >>http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html >>___ >>Flashcoders@chattyfig.figleaf.com >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/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] Entities are Hell!
On 4/4/07, Steven Loe <[EMAIL PROTECTED]> wrote: I'm loading xml with special characters. These display as their entity codes i.e. "&" as "&". If I put enitity codes in the xml, I still get entity codes displaying on screen. What am I doing wrong? Any thoughts? Thanks!!! This: theClip.txt.text = xmlNode.firstChild.firstChild; ...should be: theClip.txt.htmlText = xmlNode.firstChild.firstChild; Better: theClip.txt.htmlText = xmlNode.firstChild.firstChild.nodeValue; Even better: theClip.txt.htmlText = xmlNode.firstChild.childNodes.join(""); -- T. Michael Keesey Director of Technology Exopolis, Inc. 2894 Rowena Avenue Ste. B Los Angeles, California 90039 -- The Dinosauricon: http://dino.lm.com Parry & Carney: http://parryandcarney.com ISPN Forum: http://www.phylonames.org/forum/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Entities are Hell!
Play with nodeValue. As a test add the entity code into the XML file and use nodeValue: // XML Akbar & Jeff's ActionScript Hut // // AS theClip.txt.text = xmlNode.firstChild.firstChild.nodeValue; // instead of: // XML Akbar & Jeff's ActionScript Hut // // AS theClip.txt.text = xmlNode.firstChild.firstChild; // HTH - Andrew -Original Message- From: Steven Loe [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 04, 2007 10:24 AM To: Flashcoders mailing list Subject: [Flashcoders] Entities are Hell! I'm loading xml with special characters. These display as their entity codes i.e. "&" as "&". If I put enitity codes in the xml, I still get entity codes displaying on screen. What am I doing wrong? Any thoughts? Thanks!!! Screen Output: Akbar & Jeff's ActionScript Hut my_xml.xml: Akbar & Jeff's ActionScript Hut class: class LoadXml { private static var xmlUrl:String = "my_xml.xml"; private var rootRef; private var theClip:MovieClip; function LoadXml(rootRef) { this.rootRef = rootRef; var xmlDoc:XML = new XML(); xmlDoc.ignoreWhite = true; xmlDoc.onLoad = function(success:Boolean) { if (success) { this.owner.displayData(this); } else { trace("error loading xml"); } }; Object(xmlDoc).owner = this; xmlDoc.load(xmlUrl); } private function displayData(xmlDoc:XML) { var xmlNode:XMLNode = xmlDoc.firstChild; if (xmlNode.nodeName.toString() == "hut_data") { theClip = this.rootRef.createEmptyMovieClip("theClip", 1); theClip.createTextField("txt", 10, 10, 10, 250, 20); theClip.txt.html = true; theClip.txt.text = xmlNode.firstChild.firstChild; } } } Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/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] Entities are Hell!
I'm loading xml with special characters. These display as their entity codes i.e. "&" as "&". If I put enitity codes in the xml, I still get entity codes displaying on screen. What am I doing wrong? Any thoughts? Thanks!!! Screen Output: Akbar & Jeff's ActionScript Hut my_xml.xml: Akbar & Jeff's ActionScript Hut class: class LoadXml { private static var xmlUrl:String = "my_xml.xml"; private var rootRef; private var theClip:MovieClip; function LoadXml(rootRef) { this.rootRef = rootRef; var xmlDoc:XML = new XML(); xmlDoc.ignoreWhite = true; xmlDoc.onLoad = function(success:Boolean) { if (success) { this.owner.displayData(this); } else { trace("error loading xml"); } }; Object(xmlDoc).owner = this; xmlDoc.load(xmlUrl); } private function displayData(xmlDoc:XML) { var xmlNode:XMLNode = xmlDoc.firstChild; if (xmlNode.nodeName.toString() == "hut_data") { theClip = this.rootRef.createEmptyMovieClip("theClip", 1); theClip.createTextField("txt", 10, 10, 10, 250, 20); theClip.txt.html = true; theClip.txt.text = xmlNode.firstChild.firstChild; } } } Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Preloading FLV with NetStream
Preloading works super fine! Thank you very much for this class. I am preloading a bunch of FLVs. Once they get at 100%, how do I access them using a NetStream object (or other) ? (I need to implement something that initates the playback of the first one, when it reaches the end I must start the second one, so on...) On 4/3/07 6:42 PM, "Jack Doyle" <[EMAIL PROTECTED]> wrote: > Yep, you can preload FLVs with the NetStream. Check out the > PreloadAssetManager class which will handle it all for you: > http://www.greensock.com/ActionScript/PreloadAssetManager > > Jack > > -Original Message- > Date: Tue, 03 Apr 2007 16:04:35 -0400 > From: leolea <[EMAIL PROTECTED]> > Subject: [Flashcoders] Preloading FLV with NetStream > To: Flashcoders mailing list > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=US-ASCII > > Hi, > > Is it possible, using the NetStream object, to "preload" a FLV. > > I have multiple FLV videos that I need to play back-to-back smoothly. I want > all of them to be preloaded so that when I start playback it doesn't buffer > or lag in any way. > > I can't seem to find a way so my next alternative would be to use SWF with > MovieClipLoader. I'd like to avoid 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
RE: [Flashcoders] Video delivery process ...
You can preload FLVs with the NetStream and even see how big the FLV file is as long as you've encoded it properly so that it has MetaData. I know that if you do your compression in Sorenson Squeeze it'll inject the MetaData for you, and I think most other tools do the same automatically. Check out the PreloadAssetManager class which will handle all the preloading for you including reporting the percent loaded: http://www.greensock.com/ActionScript/PreloadAssetManager Jack -Original Message- Date: Wed, 4 Apr 2007 12:56:36 +1000 From: Stephen Ford <[EMAIL PROTECTED]> Subject: [Flashcoders] Video delivery process ... To: "flashcoders@chattyfig.figleaf.com" Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Hi,How do I preload video when the target player is 7?.The delivery technique I'm using is progressive download.Should I be using a proxy SWF to load an external FLV (because the Video class in Flash doesn't have anyway of polling the size of an external FLV, or how much of that FLV is loaded - unless I'm missing something).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] Flash and video optimisation ....
Yes. There is a way to On2 VP6 with FFmpeg. I found this article when I needed to do automatic video encoding from a drop folder. http://sh0dan.blogspot.com/2006/09/command-line-flash-8-flv-encoding.html Otherwise I use Sorenson Squeeze 4. It has the Sorenson Pro Codec which is really nice if you need to publish to Flash 7+. It can only do On2 VP6 nicely too. On 04/04/07, Muzak <[EMAIL PROTECTED] > wrote: Does ffmpeg support VP6 flv encoding yet? Last time I tried it (quite some time ago though) it only supported Sorenson Spark H.263 flv encoding. ON2 VP6 quality is superior to Sorenson Spark. regards, Muzak - Original Message - From: "Jon Bradley" <[EMAIL PROTECTED] > To: Sent: Wednesday, April 04, 2007 1:57 PM Subject: Re: [Flashcoders] Flash and video optimisation On Apr 3, 2007, at 8:12 PM, Kerem Iseri wrote: > I couldnt find any software directly converts avi to flv better then flash. > I am open for other ideas : ) FFmpeg is free and it also will do it just as well as Flash. It's just tricky to use and get running, more so if you're on a windows platform. OSX setup is a breeze I found. cheers, jon ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Go Dennis! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] eolas fix for IE7
>>You might want to try ObjectSwap - >>http://blog.neo-archaic.net/2006/04/25/objectswap.htm If all you want to do is circumvent the EOLAS patent issue, and don't care about player detection (and maybe if IE7 is hosing Flash player detection, you don't WANT to worry about it :) ), then just write an external .js file which writes out the Flash embed tags into your HTML page. Really super easy if you know just a little (and I mean little, like JS 101) Javascript. All you really need to know how to do in JS is document.write,put the document.write statements in a function, and how to in HTML link to the .js file and call the function. Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] FLV (like youtube)
Tools that I know can convert to FLV server-side : Sorenson Squeeze using command-line or watch folder ($$$) On2 Publisher (they ask to write for pricing so I don't know) FFmpeg (free) Check out this thread: http://www.jeroenwijering.com/?thread=152 Useful stuff. On 4/4/07 9:07 AM, "Tom Huynen" <[EMAIL PROTECTED]> wrote: > Hi there, > > A project requires me to create an app that enables people to upload .avi > and mov's. > These movies must be visible in the frontoffice. > > Does anybody know how to convert .avi and .mov into FLV? > Or is there a better alternative? > > Kind regards, > > Tom > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/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] FLV (like youtube)
We use the Flix Engine for one of our clients. http://www.on2.com/developer/flix-engine-sdk/ jord On 4/4/07, Tom Huynen <[EMAIL PROTECTED]> wrote: Hi there, A project requires me to create an app that enables people to upload .avi and mov's. These movies must be visible in the frontoffice. Does anybody know how to convert .avi and .mov into FLV? Or is there a better alternative? Kind regards, Tom ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan L. Chilcott, President Interactivity Unlimited Guelph, Ontario - Tel: (519) 837-1879 eFax: (519) 837-8610 mailto:[EMAIL PROTECTED] http://www.interactivityunlimited.com iChat/AIM: j1chilcott Author: "Building Web Sites with Macromedia Studio MX" Author: "Building Dynamic Web Sites with Macromedia Studio MX" Author: "Flash Professional 8: Training From the Source" Author: "Foundation Flash 8 Video" ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] eolas fix for IE7
You might want to try ObjectSwap - http://blog.neo-archaic.net/2006/04/25/objectswap.htm Karina > -Original Message- > From: Matthew Ganz [mailto:[EMAIL PROTECTED] > Sent: 03 April 2007 17:20 > To: Flashcoders mailing list > Subject: [Flashcoders] eolas fix for IE7 > > hi. > > i've tried implementing the eolas fix using the > flashobject.js method and swfobject.js method and they both > work for IE6 but not for IE7. is there a different fix needed for IE7? > > thanks. -- matt. > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/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] FLV (like youtube)
Hi there, A project requires me to create an app that enables people to upload .avi and mov's. These movies must be visible in the frontoffice. Does anybody know how to convert .avi and .mov into FLV? Or is there a better alternative? Kind regards, Tom ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] sync flv with swf
Hi! I have an identical movie in a swf file and as a flv. They loaddifferently but I was wondering if there is a way to match the frames so that the flv goes to the same frame in the movie as the swf? The only option I can think is doing it by hand, frame by frame. Are there any other solutions? Thanks in advance! Ellen ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Date.getTime rounded in PocketPC player
Is it possible the clocks on the PocketPC architecture just don't have that much precision? If that were the case then you wouldn't be able to get more accurate timing data. -Andy On 4/3/07, Zárate <[EMAIL PROTECTED]> wrote: Yep, that might be another way of doing it, but i'd like to know why, apparently, the PocketPC player doesn't do what's supposed to do as described in the docs. Unless I am doing something wrong, I think this is a bug that should be fixed. While doing so the docs should be updated to warn developers. Don't you think? Thanks, Juan On 4/3/07, Dave Mennenoh <[EMAIL PROTECTED]> wrote: > I don't have any suggestions regarding the less accurate timing mechanism on > the PDA, but I'd suggest this: Instead of timing how long it takes to do > something - maybe you can do something x times in say 10 seconds. So instead > of the speed via time, you get the speed via number of loop iterations. Can > you do it that way? > > Dave - > Head Developer > www.blurredistinction.com > Adobe Community Expert > http://www.adobe.com/communities/experts/ > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Juan Delgado - Zárate http://zarate.tv http://dandolachapa.com http://loqueyosede.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash and video optimisation ....
Does ffmpeg support VP6 flv encoding yet? Last time I tried it (quite some time ago though) it only supported Sorenson Spark H.263 flv encoding. ON2 VP6 quality is superior to Sorenson Spark. regards, Muzak - Original Message - From: "Jon Bradley" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 04, 2007 1:57 PM Subject: Re: [Flashcoders] Flash and video optimisation On Apr 3, 2007, at 8:12 PM, Kerem Iseri wrote: > I couldnt find any software directly converts avi to flv better then flash. > I am open for other ideas : ) FFmpeg is free and it also will do it just as well as Flash. It's just tricky to use and get running, more so if you're on a windows platform. OSX setup is a breeze I found. cheers, jon ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash and video optimisation ....
On Apr 3, 2007, at 8:12 PM, Kerem İşeri wrote: I couldnt find any software directly converts avi to flv better then flash. I am open for other ideas : ) FFmpeg is free and it also will do it just as well as Flash. It's just tricky to use and get running, more so if you're on a windows platform. OSX setup is a breeze I found. cheers, jon___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Question: FMS 2 and CMS managed FLV files
On Apr 3, 2007, at 10:34 PM, john robinson wrote: On Apr 3, 2007, at 3:41 PM, Jon Bradley wrote: I've got a bit of a question that I'm trying to wrap my head around. Can Flash Media Server 2 take dynamic paths to FLV content? As long as the path exists, then yeah it should be fine. I'm not sure if I understand your question correctly though. Are you saying you'll get a path like below from the CMS? "someserver.com/flash/videos/somefolder/somevideo" If that path exists on the FMS, then it shouldn't be a problem at all. A bit different actually. The CMS system and application we are building is written with Java running on Apache Tomcat. File system paths will be stored like follows: serverURL/fileServlet/filename.flv?GET_ITEM_ID=347&TransformationID=234 Where the item id is a link to the metadata of the asset stored in a database and the transformation id is the transformed file from that asset. Our servers (flip factory, etc) will generate low res previews and a high res FLV from the original asset, which is mpeg-2. I can probably build a direct path on the HD to the file, but from what I gather, you need to edit virtual paths in FMS for it to recognize the location of the files. I can't do this because each 'asset' is a collection of files, including the FLV I want to stream. Each asset is a folder basically and there may be lots of 'em - 10s of thousands. I don't know. Maybe it's server-side AS that grabs the path from the client side application (also flash) and somehow uses it to retrieve and stream the file. This is definitely unchartered AS territory for me. I'm testing the dev edition of FMS to get a grips on whether or not it'll be best for the job. Red5 or some other tomcat-type installation of a streaming server may be a better selection as I look into it more. thanks, jon ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Video delivery process ...
a normal GET should do the trick as the caching is done with the browser. On 4/4/07, Stephen Ford <[EMAIL PROTECTED]> wrote: Hi,How do I preload video when the target player is 7?.The delivery technique I'm using is progressive download.Should I be using a proxy SWF to load an external FLV (because the Video class in Flash doesn't have anyway of polling the size of an external FLV, or how much of that FLV is loaded - unless I'm missing something).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 -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Crossdomain Syntax Highlighter
Hello, I'm working on the Syntax Highlighter pilot project. I want to offer it as a part of Google Code Search service or as a parallel separate service, so I sent a few mails to Google team; absolutely no feedback followed. May be someone among flashcoders has a contact in Google, so he could retrieve a bit of a feedback? To see the project running (for now, PC only; latest versions of IE, FF and Opera) open the following links in different browser windows, and tile them on your screen to see both: http://syntaxhighlighter.artlebedev.com/ActionScript2.html - settings manager http://bezier.ru/SyntaxHighlighter/ -sample page Try setting highlight options and see them being applied to the code sample. What you see as the highlight sample for ActionScript 2 code. The highlight model is defined by an XML file, and adding models for other languages is pretty easy. Please note: these pages reside in different domains and are opened in different browser windows (that also could be the windows of different browsers). Developers are used to their favorite IDE and to the way it highlights the code. This project is about enabling them to set the code highlight style for the web sites they visit. Once a developer sets his highlight preferences on Syntax Highlighter settings page, he will see them applied to all the sites that support Syntax Highlighter system. The web masters get the clean and simple way of publishing source code (see sample page source code). If Google starts a service like that, this code highlight mechanics will soon become a web publishing standard and software manufacturers will support it (this would be especially useful for JavaDoc generators and code editors). Thus Google Code Search service gets promoted by all the sites, that support Syntax Highlighter. What's more, owing to this highlighting standard, Google Code Search will get the possibility to easily detect the source programming language and license type. I'm planning to implement license type setting for webmaster who uses Syntax Highlighting system. The pilot project was created to merely show that such a system is possible and may run seamlessly. For now the system is missing some features including: - saving named user presets - named presets ratings - default presets for various languages - statistics and counters - exporting/importing of presets - toolbar design management (including icon sets) - and others Should you have any questions concerning Syntax Highlighter system, please contact me. Thank you! -- Ivan Dembicki __ http://www.artlebedev.ru | http://www.sharedfonts.com | http://www.bezier.ru ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] import own class (use SOME_CONST insteadofMyUtils.SOME_CONST)
> The third is to define the variables before hand in a separate .as file and > include them ( like the VAR example above). This is really just a way of > compartmentalizing the code and doesn't really solve the issue. You're just > storing part of your code in another file and it's including that code when > it runs - I a lot like html includes. #include takes place at compile time, not runtime. regards, Muzak ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] MovieClipLoader ...
Works fine here. Allthough you should consider making the class the MovieClipLoader listener object, rather than creating a seperate object (and using nested functions etc..); I also prefer initializing EventDispatcher outside the constructor (through a static property), because then the mixin only occurs once (instead of each time the constructor is run). If loading the image doesn't work, check to make sure the Library Symbol is setup properly (Linkage) import mx.data.binding.ObjectDumper; import mx.events.EventDispatcher; import mx.utils.Delegate; class TowerVideoPlayer extends MovieClip { private static var dispatcherInit = EventDispatcher.initiliaze(Object(TowerVideoPlayer.prototype)); //-- // PROPERTIES //-- // Class variables for EventDispatcher private var dispatchEvent:Function; public var addEventListener:Function; public var removeEventListener:Function; // String values of class name and class version public var sClassName:String; public var sVersion:String; // Sound object for the video private var sndVideo:Sound; // Value of the video's sound object private var bSound:Boolean; // Data for loading of SWFs private var xmlVideo:XML; // Holder clip for the loaded SWF private var mcHolder:MovieClip; // MovieClipLoader for the SWF private var mclLoader:MovieClipLoader; //-- // CONSTRUCTOR //-- public function TowerVideoPlayer() { setup(); } //-- // FUNCTIONS //-- private function setup():Void { trace("TowerVideoPlayer.setup()"); sClassName = "TowerVideoPlayer"; sVersion = "0.0.1"; bSound = true; createEmptyMovieClip("mcHolder", this.getNextHighestDepth()); mclLoader = new MovieClipLoader(); mclLoader.addListener(this); mclLoader.loadClip("http://www.w3.org/Icons/w3c_main.png";, mcHolder); trace(ObjectDumper.toString(this)); } // function onLoadComplete(mcTarget:MovieClip, httpStatus:Number):Void { trace(">> loadListener.onLoadComplete()"); } // function onLoadInit(mcTarget:MovieClip):Void { trace(">> loadListener.onLoadInit()"); } } - Original Message - From: "Stephen Ford" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 04, 2007 8:27 AM Subject: [Flashcoders] MovieClipLoader ... Can anyone see why the callback events on the oLoadListener object in the following class aren't firing:import mx.data.binding.ObjectDumper;import mx.events.EventDispatcher;import mx.utils.Delegate;class TowerVideoPlayer extends MovieClip {// // PROPERTIES // // String values of class name and class version public var sClassName:String;public var sVersion:String;// Class variables for EventDispatcherprivate var dispatchEvent:Functionpublic var addEventListener:Function;public var removeEventListener:Function;// Sound object for the videoprivate var sndVideo:Sound;// Value of the video's sound objectprivate var bSound:Boolean;// Data for loading of SWFsprivate var xmlVideo:XML;// Holder clip for the loaded SWFprivate var mcHolder:MovieClip; // MovieClipLoader for the SWFprivate var mclLoader:MovieClipLoader; // Load listener for SWFsprivate var oLoadListener:Object;// // CONSTRUCTOR // public function TowerVideoPlayer() {setup();}// // FUNCTIONS // private function setup():Void{ trace("TowerVideoPlayer.setup()");sClassName = "TowerVideoPlayer";sVersion = "0.0.1";bSound = true; oLoadListener = new Object();mcHolder = createEmptyMovieClip("mcHolder", this.getNextHighestDepth());mclLoader = new MovieClipLoader();// Initialise event dispatcher EventDispatcher.initialize(this); oLoadListener.onLoadComplete = function(mcTarget:MovieClip, httpStatus:Number):Void{trace(">> loadListener.onLoadComplete()");} oLoadListener.onLoadInit = function(mcTarget:MovieClip):Void {trace(">> loadListener.onLoadInit()");} mclLoader.addListener(oLoadListener); mclLoader.loadClip("http://www.w3.org/Icons/w3c_main.png";, mcHolder); t
RE: [Flashcoders] MovieClipLoader ...
You email lost it's formatting at my end. Try sending again. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stephen Ford Sent: 04 April 2007 07:27 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] MovieClipLoader ... Can anyone see why the callback events on the oLoadListener object in the following class aren't firing:import mx.data.binding.ObjectDumper;import mx.events.EventDispatcher;import mx.utils.Delegate;class TowerVideoPlayer extends MovieClip { //-- --//PROPERTIES //-- -- // String values of class name and class versionpublic var sClassName:String;public var sVersion:String;// Class variables for EventDispatcherprivate var dispatchEvent:Functionpublic var addEventListener:Function;public var removeEventListener:Function; // Sound object for the videoprivate var sndVideo:Sound;// Value of the video's sound objectprivate var bSound:Boolean;// Data for loading of SWFsprivate var xmlVideo:XML;// Holder clip for the loaded SWFprivate var mcHolder:MovieClip;// MovieClipLoader for the SWFprivate var mclLoader:MovieClipLoader;// Load listener for SWFsprivate var oLoadListener:Object; //-- --//CONSTRUCTOR //-- -- public function TowerVideoPlayer(){setup();} //-- --//FUNCTIONS //-- -- private function setup():Void{ trace("TowerVideoPlayer.setup()");sClassName = "TowerVideoPlayer";sVersion = "0.0.1";bSound = true; oLoadListener = new Object();mcHolder = createEmptyMovieClip("mcHolder", this.getNextHighestDepth()); mclLoader = new MovieClipLoader();// Initialise event dispatcherEventDispatcher.initialize(this); oLoadListener.onLoadComplete = function(mcTarget:MovieClip, httpStatus:Number):Void{trace(">> loadListener.onLoadComplete()");} oLoadListener.onLoadInit = function(mcTarget:MovieClip):Void {trace(">> loadListener.onLoadInit()");} mclLoader.addListener(oLoadListener); mclLoader.loadClip("http://www.w3.org/Icons/w3c_main.png";, mcHolder); trace(ObjectDumper.toString(this));}}___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/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] import own class (use SOME_CONST instead ofMyUtils.SOME_CONST)
Short of someone giving you a better answer, I'd say no. Unless you write something that took a class and put all it's static members in the current scope. Best to wait till someone else answers this though, I'm just guessing :) Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alexander Farber Sent: 04 April 2007 08:41 To: Flashcoders mailing list Subject: [Flashcoders] import own class (use SOME_CONST instead ofMyUtils.SOME_CONST) Hi, I'd like to move few constants and functions my project is using into a separate class, called Util. How could I please make them "importable", i.e. so that I could write just import Util; trace(SOME_CONSTANT); instead of always prepending "Util." in front of the variables: trace(Util.SOME_CONSTANT) I can't find it in the Flash help... Thank you Also I wonder if I can run some function on the import statement or do I have to always call Util.init_my_static_vars() manually? Regards Alex -- http://preferans.de ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] import own class (use SOME_CONST instead ofMyUtils.SOME_CONST)
The problem is that those properties are in another Class, and that's how you have to reference them. You do have a few choices. // // VAR // The first is probably NOT what you want to hear - make a variable for each of the constants. import com.project.MyClass var CONSTANT = MyClass.some_CONSTANT; trace( CONSTANT ); // // IMPORT // The second is the most obvious and something you've already done - resolve the path with import. Import really only gets rid of the directories in dot notation form so you can call it by name and not have to use the path. Without import: trace( com.project.MyClass.some_CONSTANT ) With import: import com.project.MyClass.some_CONSTANT trace( MyClass.some_CONSTANT ) // // INCLUDE // The third is to define the variables before hand in a separate .as file and include them ( like the VAR example above). This is really just a way of compartmentalizing the code and doesn't really solve the issue. You're just storing part of your code in another file and it's including that code when it runs - I a lot like html includes. In classInclude.as: import com.project.MyClass; var CONSTANT = MyClass.some_CONSTANT; in OtherClass.as: #include "classInclude.as" trace( CONSTANT ) // // COPY // The forth is to copy the properties from one Class to another. But this is obviously not the best way to go for a number of reasons. import com.project.MyClass for ( var prop in MyClass ) { this [ prop ] = myClass[ prop ]; } // // GETTERS / SETTERS // The fifth adds a little bulk in the beginning, but let's you retrieve variables in a more condensed way using getters and setters - my favorite. // VER 1 - AS 1.0 approach import com.project.MyClass function getCONSTANT (){ return MyClass.some_CONSTANT }; this.addProperty ('CONSTANT', getCONSTANT, null ); // set getter / setter trace( CONSTANT ) // VER 2 - AS 2.0 approach import com.project.MyClass public function get CONSTANT (){ return MyClass.some_CONSTANT } public function myFunction(){ trace( CONSTANT ) } _ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Farber Sent: Wednesday, April 04, 2007 12:41 AM To: Flashcoders mailing list Subject: [Flashcoders] import own class (use SOME_CONST instead ofMyUtils.SOME_CONST) Hi, I'd like to move few constants and functions my project is using into a separate class, called Util. How could I please make them "importable", i.e. so that I could write just import Util; trace(SOME_CONSTANT); instead of always prepending "Util." in front of the variables: trace(Util.SOME_CONSTANT) I can't find it in the Flash help... Thank you Also I wonder if I can run some function on the import statement or do I have to always call Util.init_my_static_vars() manually? Regards Alex -- http://preferans.de ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] [JOB] as3/flex2 developer, Antwerp (Belgium)
Verso bvba, an Antwerp based Adobe partner specialized in RIA-development, is looking for a contract and long-term as3/flex2 developer. Requisite skills needed are: - Strong Actionscript 3.0 and Flex 2 coding skills - Experience in RIA development - Proficiency with Coldfusion, JAVA, SQL-db Positions are full-time, short(3 months)and long-term with Flash/Flex/Apollo team. Work is onsite. Start immediately. Respond off-list to: [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] import own class (use SOME_CONST instead of MyUtils.SOME_CONST)
Hi, I'd like to move few constants and functions my project is using into a separate class, called Util. How could I please make them "importable", i.e. so that I could write just import Util; trace(SOME_CONSTANT); instead of always prepending "Util." in front of the variables: trace(Util.SOME_CONSTANT) I can't find it in the Flash help... Thank you Also I wonder if I can run some function on the import statement or do I have to always call Util.init_my_static_vars() manually? Regards Alex -- http://preferans.de ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] If statements combined into one
// RUN function runOnce ( id ) { trace( arguments ); } // CHECK function runCheck ( id ) { if ( doneOnce [ '_' + id ] == undefined ) { doneOnce [ '_' + id ] = true; doneOnce.func.apply (null, arguments); } } // STORE doneOnce = {}; doneOnce.func = mx.utils.Delegate.create (this, runOnce); // TEST runCheck ( 1, 1 ); runCheck ( 1 ); runCheck ( 1 ); runCheck ( 'a', 1, 'arg1', 'arg2', 'arg3' ); runCheck ( 'a', 2 ); runCheck ( 'a', 3 ); runCheck ( 'b', 1 ); runCheck ( 'b', 2 ); _ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 12:30 PM To: Flashcoders mailing list Subject: [Flashcoders] If statements combined into one insted of : bigFunction() { once1 = true; if (once1 == true) { dothisonce(); once1 = false; } once2 = true; if (once2 == true) { dothisonce(); once2 = false; } once3 = true; if (once3 == true) { dothisonce(); once3 = false; } } What I am trying to do is take the if statements out into its own function like bigFunction() { test(one); test(two); test(three); test(var1 ) { once = true; if (once == true) { apply.var1(this); once = false; } } The tricky part is that this functions are being triggered constantly so each function has to fire only once each time is called... Any good ideas? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com