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

2009-07-29 Thread Chris Foster
Or you could create a new 'duplicate' sprite (instead of scaling the original) and re-parent the children to the new sprite using: newParent.addChild(objectToReparent); C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.co

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

[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.r

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.

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 wrote: > Tha

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 may

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

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.

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: flashcod

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

2009-07-29 Thread Karl DeSaulniers
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 A

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] 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 converte

[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 mai

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: Hel

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 curr

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 wrote: > 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 b

Re: [Flashcoders] Extending Flex UIComponent in flash SWC

2009-07-29 Thread Matt Muller
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 wrote: > there is no class attached. its just to get ui graphics fro

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:Dict

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 wrote: > Yup, using CS4. > > Doing the same thing as you described: > > - select File -> Publish Settings > - in Formats tab: > - deselec