Re: [Flashcoders] Extending Flex UIComponent in flash SWC

2009-07-29 Thread Matt Muller
there is no class attached. its just to get ui graphics from flash into
flex. add to mx:Box and using layout props.



On Wed, Jul 29, 2009 at 3:06 AM, Muzak p.ginnebe...@telenet.be wrote:

 Yup, using CS4.

 Doing the same thing as you described:

 - select File - Publish Settings
 - in Formats tab:
   - deselect HTML
 in Flash tab
   - select Flash Player 9   - select ActionScript 3
   - select Export SWC

 - create Movieclip symbol, fill in a class name (export for ActionScript)
 - select the Movieclip in Library, select Commands - Convert Symbol to
 Flex Component
 - File - Publish


 I'm only asked to change the framerate to 24 when converting the MovieClip
 to Flex Component.
 Other than that it just works..

 What does the class look like (the one attached to the MovieClip symbol)?

 regards,
 Muzak

 - Original Message - From: Matt Muller matthewmul...@gmail.com
 To: Flash Coders List flashcoders@chattyfig.figleaf.com
 Sent: Wednesday, July 29, 2009 12:09 AM
 Subject: Re: [Flashcoders] Extending Flex UIComponent in flash SWC


  yep. are you using cs4?

 i was just exporting swc and add to flex but then had to use rawchildren
 and
 couldnt use positioning.

 when i select the clip in the lib and then go to commandsmake flex
 component the warning pops up.

 MaTT


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] dynamically capture and display the name of the currently executing function in the Output panel

2009-07-29 Thread Hans Wichman
Yep only in debug player.
Annoying as this was perfectly possible in as 2 (and easy as well). No good
way in as3 though.

Here is one method beside throwing an error and parsing the stack, but it
has to be improved, just show the basic idea (which is kinda the same as in
as2):

  private var d:Dictionary = new Dictionary();

  public function TestOne():void
  {
   var methodNames:Array = getNonstaticAccessors(TestOne);
   for (var i:Number = 0; i  methodNames.length; i++ ) {
d[this[methodNames[i]]] = methodNames[i];
   }

   init();
  }

  public static function getNonstaticAccessors(classOfInterest:Class):Array
{
   var xmlDescriptionOfClass:XML = describeType(classOfInterest);
   var nonstaticAccessorsXML:XMLList = xmlDescriptionOfClass.factory.method;
   var accessors:Array = [];
   for each (var accessorXML:XML in nonstaticAccessorsXML) {
accessors.push(accessorx...@name);
   }
   return accessors;
  }

public function init(e:Event = null):void
  {
  trace (d[arguments.callee]);
}

Only works for public methods though, private methods have to be registered
explicitly.

I think that a utility to parse the bytecode and add this information on the
fly should be possible though:)

regards,
JC



On Tue, Jul 28, 2009 at 11:27 PM, Steve Mathews happy...@gmail.com wrote:

 There is a way to this as a hack. No good way though.
 The hack way is to do a try catch, throw an error in the try and parse the
 error message in the catch. Only works with the debug player I believe.


 On Tue, Jul 28, 2009 at 11:51 AM, Cor c...@chello.nl wrote:

  Question: Is there a simple way to dynamically capture and display the
 name
  of the currently executing function in the Output panel?
 
  Sample function:
 
  function doStuff ():void {
  trace (Function: doStuff() );
  //run doStuff code...
  }
 
  Without hardcoding the name of the function in the trace statement shown
  above, can I somehow display the function name dynamically when it runs?
  I've never seen this done but thought I'd ask anyway
 
  TIA
  Cor
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Extending Flex UIComponent in flash SWC

2009-07-29 Thread Matt Muller
figured it out. you need to have FlexComponentBase in the lib for FP9
export.



On Wed, Jul 29, 2009 at 10:13 AM, Matt Muller matthewmul...@gmail.comwrote:

 i made a video of whats happening...

 http://screencast.com/t/cvTKLGch

 go figure. unless im meant to make a class that ecenteds something other
 than mc before creating the component?


 On Wed, Jul 29, 2009 at 8:16 AM, Matt Muller matthewmul...@gmail.comwrote:

 there is no class attached. its just to get ui graphics from flash into
 flex. add to mx:Box and using layout props.




 On Wed, Jul 29, 2009 at 3:06 AM, Muzak p.ginnebe...@telenet.be wrote:

 Yup, using CS4.

 Doing the same thing as you described:

 - select File - Publish Settings
 - in Formats tab:
   - deselect HTML
 in Flash tab
   - select Flash Player 9   - select ActionScript 3
   - select Export SWC

 - create Movieclip symbol, fill in a class name (export for ActionScript)
 - select the Movieclip in Library, select Commands - Convert Symbol to
 Flex Component
 - File - Publish


 I'm only asked to change the framerate to 24 when converting the
 MovieClip to Flex Component.
 Other than that it just works..

 What does the class look like (the one attached to the MovieClip symbol)?

 regards,
 Muzak

 - Original Message - From: Matt Muller 
 matthewmul...@gmail.com
 To: Flash Coders List flashcoders@chattyfig.figleaf.com
 Sent: Wednesday, July 29, 2009 12:09 AM
 Subject: Re: [Flashcoders] Extending Flex UIComponent in flash SWC


  yep. are you using cs4?

 i was just exporting swc and add to flex but then had to use rawchildren
 and
 couldnt use positioning.

 when i select the clip in the lib and then go to commandsmake flex
 component the warning pops up.

 MaTT


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] dynamically capture and display the name of the currently executing function in the Output panel

2009-07-29 Thread Cor
Thanks Hans

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Hans Wichman
Sent: woensdag 29 juli 2009 9:55
To: Flash Coders List
Subject: Re: [Flashcoders] dynamically capture and display the name of the
currently executing function in the Output panel

Yep only in debug player.
Annoying as this was perfectly possible in as 2 (and easy as well). No good
way in as3 though.

Here is one method beside throwing an error and parsing the stack, but it
has to be improved, just show the basic idea (which is kinda the same as in
as2):

  private var d:Dictionary = new Dictionary();

  public function TestOne():void
  {
   var methodNames:Array = getNonstaticAccessors(TestOne);
   for (var i:Number = 0; i  methodNames.length; i++ ) {
d[this[methodNames[i]]] = methodNames[i];
   }

   init();
  }

  public static function getNonstaticAccessors(classOfInterest:Class):Array
{
   var xmlDescriptionOfClass:XML = describeType(classOfInterest);
   var nonstaticAccessorsXML:XMLList = xmlDescriptionOfClass.factory.method;
   var accessors:Array = [];
   for each (var accessorXML:XML in nonstaticAccessorsXML) {
accessors.push(accessorx...@name);
   }
   return accessors;
  }

public function init(e:Event = null):void
  {
  trace (d[arguments.callee]);
}

Only works for public methods though, private methods have to be registered
explicitly.

I think that a utility to parse the bytecode and add this information on the
fly should be possible though:)

regards,
JC



On Tue, Jul 28, 2009 at 11:27 PM, Steve Mathews happy...@gmail.com wrote:

 There is a way to this as a hack. No good way though.
 The hack way is to do a try catch, throw an error in the try and parse the
 error message in the catch. Only works with the debug player I believe.


 On Tue, Jul 28, 2009 at 11:51 AM, Cor c...@chello.nl wrote:

  Question: Is there a simple way to dynamically capture and display the
 name
  of the currently executing function in the Output panel?
 
  Sample function:
 
  function doStuff ():void {
  trace (Function: doStuff() );
  //run doStuff code...
  }
 
  Without hardcoding the name of the function in the trace statement shown
  above, can I somehow display the function name dynamically when it runs?
  I've never seen this done but thought I'd ask anyway
 
  TIA
  Cor
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash doesn´t detect MOUS E_LEAVE event while dragging outside stage on Firefox

2009-07-29 Thread Ruy Adorno
The last time I came across this problem, I used an MOUSE_MOVE loop to 
check everytime if the x and y mouse positions were inside the stage 
area, and if not I called the same function that should be called on the 
MOUSE_LEAVE event...


Ruy Adorno
http://www.ruyadorno.com

Isaac Alves wrote:

Hello,

Is there any workaround to the issue with Adobe Flash where a Flash Movie
does not receive a MOUSE_LEAVE event if the mouse is dragged outside of the
movie? Neither when i MOUSE_UP outside the stage.

stage.addEventListener(Event.MOUSE_LEAVE, dropIt);

function dropIt(e1:MouseEvent = null, e2:Event = null):void {
textField.text =  OK ;  // extreme debug method
full_mc.stopDrag();
stage.removeEventListener(MouseEvent.MOUSE_UP, dropIt);
stage.removeEventListener(Event.MOUSE_LEAVE, dropIt);
}

That actually works when I run the SWF file, and even on IE.

But on Firefox and Chrome nothing happens, it continues dragging the
MovieClip when the cursor returns to stage. The dropIt function doesn´t run
( the textField.text doesn´t update)

Thanks a lot!
Isaac
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Seek bar not working with FLVPlayback Component?

2009-07-29 Thread TS
Anyone have any ideas why the playback seek bar isn't working?

The video was encoded using FFMPEG. 

http://labs.cleargraphix.com/AS3/flvplayer/

Does it need to be encoded a certain way with cue points or something?

Thanks ahead, T

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] palet of an index based image

2009-07-29 Thread Hans Wichman
Hi folks,

the subject is probably incorrect english, but what I meant was:
is it possible when saving an indexed coloured image from say photoshop, to
load it in flash (as2) and access and modify the underlying palette
directly?

As far as my tests have shown, the image data is completely converted to
32-bit pixel data, and the palette is lost.
Correct?

regards,
JC
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Seek bar not working with FLVPlayback Component?

2009-07-29 Thread Karl DeSaulniers

Yes.

On Jul 29, 2009, at 3:14 PM, TS wrote:


Anyone have any ideas why the playback seek bar isn't working?

The video was encoded using FFMPEG.

http://labs.cleargraphix.com/AS3/flvplayer/

Does it need to be encoded a certain way with cue points or something?

Thanks ahead, T

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Seek bar not working with FLVPlayback Component?

2009-07-29 Thread TS
Thanks Karl

Am I using the right terminology. Do I need to look for something that can
add cue points? If so, would it be possible to inject cue points as the
movie is downloaded progressively. Like in a while receiving data loop or
something?

Thanks, T


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Wednesday, July 29, 2009 3:09 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Seek bar not working with FLVPlayback Component?

Yes.

On Jul 29, 2009, at 3:14 PM, TS wrote:

 Anyone have any ideas why the playback seek bar isn't working?

 The video was encoded using FFMPEG.

 http://labs.cleargraphix.com/AS3/flvplayer/

 Does it need to be encoded a certain way with cue points or something?

 Thanks ahead, T

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Seek bar not working with FLVPlayback Component?

2009-07-29 Thread TS
Hmm, I feel like there should be a way to seek by time without cuepoints. I
mean if I play it locally in MediaClassicPlayer on windows, their seek bar
works fine. Very strange.

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Wednesday, July 29, 2009 4:05 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Seek bar not working with FLVPlayback Component?

Um. I am not sure dynamically, but my experience is to make your cue  
points in your movie then export your movie. Import that into flash  
flv maker and it will read the cue points in your movie and will  
display them so you can assign them var names. Been a while though and  
I was working in AS2.

Karl

Sent from losPhone

On Jul 29, 2009, at 4:51 PM, TS sunnrun...@gmail.com wrote:

 Thanks Karl

 Am I using the right terminology. Do I need to look for something  
 that can
 add cue points? If so, would it be possible to inject cue points as  
 the
 movie is downloaded progressively. Like in a while receiving data  
 loop or
 something?

 Thanks, T


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
 DeSaulniers
 Sent: Wednesday, July 29, 2009 3:09 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] Seek bar not working with FLVPlayback  
 Component?

 Yes.

 On Jul 29, 2009, at 3:14 PM, TS wrote:

 Anyone have any ideas why the playback seek bar isn't working?

 The video was encoded using FFMPEG.

 http://labs.cleargraphix.com/AS3/flvplayer/

 Does it need to be encoded a certain way with cue points or  
 something?

 Thanks ahead, T

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Karl DeSaulniers
 Design Drumm
 http://designdrumm.com

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Seek bar not working with FLVPlayback Component?

2009-07-29 Thread Peter B
From what I can see TS the issue isn't cue points but keyframes. As
in, there are none in your FLV except one at the start and one at the
end. FlashPlayer can only seek to an actual key frame, hence the
behaviour you are seeing. AFAIK, the only solution to the issue is to
re-encode the video, this time setting your encode settings to create
more keyframes. When I've done work encoding video that needed
reasonably accurate seeking, I explicitly set keyframes at half second
intervals. Makes the file a little larger but...
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Extending Flex UIComponent in flash SWC

2009-07-29 Thread Muzak

FlexComponentBase is added automatically here, is that not the case for you?
Just watched the screencast.. :) it's being added.

Odd though, I don't get that warning.. maybe it's a Mac thing?


And just wondering, why are you using a Flex component just for skins?
There's no need for that, but maybe I'm missing something.

For instance, if your skinning buttons, use a Flex Button and style it through 
CSS, using png's or movieclip symbols from swf's.

// png images, using 9-grid scaling for some
.menuButton {
upSkin: Embed(source=/skins/LinkButton_upSkin.png);
overSkin: Embed(source=/skins/LinkButton_overSkin.png);
downSkin: Embed(source=/skins/LinkButton_downSkin.png);
disabledSkin: Embed(source=/skins/LinkButton_selectedSkin.png, scaleGridLeft=10, scaleGridRight=56, scaleGridTop=1, 
scaleGridBottom=15);

}

// symbols from swf
Tab {
upSkin: Embed(source=/assets/PMSGraphical.swf, symbol=Tab_upSkin);
overSkin: Embed(source=/assets/PMSGraphical.swf, symbol=Tab_overSkin);
downSkin: Embed(source=/assets/PMSGraphical.swf, symbol=Tab_downSkin);
}

If they're not skins, but graphical elements, you can do the same by using png's or 
symbols as container backgrounds.

// CSS
.bgCanvas {
   backgroundImage: Embed(source=/assets/Graphical.swf, 
symbol=CanvasBackground);
}

// MXML
mx:Canvas stylename=bgCanvas
   //other stuff here
/mx:Canvas

regards,
Muzak

- Original Message - 
From: Matt Muller matthewmul...@gmail.com

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Wednesday, July 29, 2009 11:30 AM
Subject: Re: [Flashcoders] Extending Flex UIComponent in flash SWC



figured it out. you need to have FlexComponentBase in the lib for FP9
export.



On Wed, Jul 29, 2009 at 10:13 AM, Matt Muller matthewmul...@gmail.comwrote:


i made a video of whats happening...

http://screencast.com/t/cvTKLGch

go figure. unless im meant to make a class that ecenteds something other
than mc before creating the component?


On Wed, Jul 29, 2009 at 8:16 AM, Matt Muller matthewmul...@gmail.comwrote:


there is no class attached. its just to get ui graphics from flash into
flex. add to mx:Box and using layout props.




On Wed, Jul 29, 2009 at 3:06 AM, Muzak p.ginnebe...@telenet.be wrote:


Yup, using CS4.

Doing the same thing as you described:

- select File - Publish Settings
- in Formats tab:
  - deselect HTML
in Flash tab
  - select Flash Player 9   - select ActionScript 3
  - select Export SWC

- create Movieclip symbol, fill in a class name (export for ActionScript)
- select the Movieclip in Library, select Commands - Convert Symbol to
Flex Component
- File - Publish


I'm only asked to change the framerate to 24 when converting the
MovieClip to Flex Component.
Other than that it just works..

What does the class look like (the one attached to the MovieClip symbol)?

regards,
Muzak

- Original Message - From: Matt Muller 
matthewmul...@gmail.com
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Wednesday, July 29, 2009 12:09 AM
Subject: Re: [Flashcoders] Extending Flex UIComponent in flash SWC


 yep. are you using cs4?


i was just exporting swc and add to flex but then had to use rawchildren
and
couldnt use positioning.

when i select the clip in the lib and then go to commandsmake flex
component the warning pops up.

MaTT



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders







___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Seek bar not working with FLVPlayback Component?

2009-07-29 Thread Sam Brown
If you want to simply add cuepoints that you can trigger off of with AS, try
the Flash Media Encoder -
http://www.adobe.com/devnet/flash/quickstart/video_encoder/  that will allow
you to seek to point in the video and more.

hope that helps,
Sam



On Wed, Jul 29, 2009 at 2:51 PM, TS sunnrun...@gmail.com wrote:

 Thanks Karl

 Am I using the right terminology. Do I need to look for something that can
 add cue points? If so, would it be possible to inject cue points as the
 movie is downloaded progressively. Like in a while receiving data loop or
 something?

 Thanks, T


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
 DeSaulniers
 Sent: Wednesday, July 29, 2009 3:09 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] Seek bar not working with FLVPlayback Component?

 Yes.

 On Jul 29, 2009, at 3:14 PM, TS wrote:

  Anyone have any ideas why the playback seek bar isn't working?
 
  The video was encoded using FFMPEG.
 
  http://labs.cleargraphix.com/AS3/flvplayer/
 
  Does it need to be encoded a certain way with cue points or something?
 
  Thanks ahead, T
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Karl DeSaulniers
 Design Drumm
 http://designdrumm.com

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Seek bar not working with FLVPlayback Component?

2009-07-29 Thread Karl DeSaulniers

Oops, I said  flash flv maker
but I meant Flash Video Encoder (pre CS4)
sry.
But I do believe that you should set up your cue points in your video
before you import to the Flash Video Encoder for a more seamless  
transition.

It will read the points and you can then do what Sam is suggesting.

Nice post Sam.

Karl

On Jul 29, 2009, at 10:52 PM, Sam Brown wrote:

If you want to simply add cuepoints that you can trigger off of  
with AS, try

the Flash Media Encoder -
http://www.adobe.com/devnet/flash/quickstart/video_encoder/  that  
will allow

you to seek to point in the video and more.

hope that helps,
Sam



On Wed, Jul 29, 2009 at 2:51 PM, TS sunnrun...@gmail.com wrote:


Thanks Karl

Am I using the right terminology. Do I need to look for something  
that can
add cue points? If so, would it be possible to inject cue points  
as the
movie is downloaded progressively. Like in a while receiving data  
loop or

something?

Thanks, T


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Wednesday, July 29, 2009 3:09 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Seek bar not working with FLVPlayback  
Component?


Yes.

On Jul 29, 2009, at 3:14 PM, TS wrote:


Anyone have any ideas why the playback seek bar isn't working?

The video was encoded using FFMPEG.

http://labs.cleargraphix.com/AS3/flvplayer/

Does it need to be encoded a certain way with cue points or  
something?


Thanks ahead, T

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] as3 -re-dimensioning spirte but not its children

2009-07-29 Thread Isaac Alves
Hi list,

Is it possible to alter the width or height of a sprite dynamically without
altering the width and height of its children ?

Even when I add children to a Sprite that had its dimensions altered
dynamically, these children have their dimensions changed.

Could I do something like sprite.resetScaleXandY ?

What do you suggest in this kind of situation?

Thanks in advance,
Isaac
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] as3 -re-dimensioning spirte but not its children

2009-07-29 Thread Ashim D'Silva
I'd say extend a new class from Sprite, and override the getters and
setters for width and height, and scaleX and scaleY if you need them.

However, if you don't want to do that, make two sprites inside your
sprite. One with things you want to change and one width those you
don't. Then just resize the sprite that you want to.

Ashim

The Random Lines
My online portfolio
www.therandomlines.com



2009/7/30 Isaac Alves isaacal...@gmail.com:
 Hi list,

 Is it possible to alter the width or height of a sprite dynamically without
 altering the width and height of its children ?

 Even when I add children to a Sprite that had its dimensions altered
 dynamically, these children have their dimensions changed.

 Could I do something like sprite.resetScaleXandY ?

 What do you suggest in this kind of situation?

 Thanks in advance,
 Isaac
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders