well whne I create the components i set the percentage widhts and heights
<mx:VBox id="videoHolder_VBox" width="80%" height="100%" >
<mx:Canvas id="slidesBackgroundHolder_Cnvs"
width="100%" height="95%"
resize="canvasResized(event);">
<mx:SWFLoader id="backgrounds_SWFLoader" width="100%"
height="100%" />
<mx:SWFLoader id="slides_SWFLoader" width="100%"
height="100%" />
</mx:Canvas>
</mx:VBox>
So when I resize the main VBOX from width 80% to width 100%
all the children resize as well, and like I mentioned it seems to work fine
on most machines but
then one of the machines does that weird not scaling its childrens error ...
thanks
cheers :)
firdosh
On 2/28/07, Firdosh Tangri <[EMAIL PROTECTED]> wrote:
well whne I create the components i set the percentage widhts and heights
<mx:VBox id="videoHolder_VBox" width="80%" height="100%" >
<mx:Canvas id="slidesBackgroundHolder_Cnvs"
width="100%" height="95%"
resize="canvasResized(event);">
<mx:SWFLoader id="backgrounds_SWFLoader" width="100%"
height="100%" />
<mx:SWFLoader id="slides_SWFLoader" width="100%"
height="100%" />
</mx:Canvas>
</mx:VBox>
So when I resize the main VBOX from width 80% to width 100%
all the children resize as well, and like I mentioned it seems to work
fine on most machines but
then one of the machines does that weird not scaling its childrens error
...
thanks
cheers :)
firdosh
On 2/28/07, jwopitz <[EMAIL PROTECTED]> wrote:
>
> What is the code for your resize and on what event are you resizing?
> I had a similar issue with a panel subclass where I was sticking buttons in
> the header. I can't remember the event that caused similar issues, but it
> was something like resize (duh justin). I ended up putting my resize logic
> as an updateComplete handler and it worked fine.
>
>
> On 2/27/07, Firdosh Tangri < [EMAIL PROTECTED]> wrote:
> >
> > Hey all,
> > ok I have been banging my head over this for 2 days
> > straight. I have created a simple Canvas which holds two SWFLoader
> > components
> > one holds the background , and one holds the image.
> >
> > On my machine both over lay fine and when I resize the the canvas
> > everything rezises fine. the back ground and the image [GOOD_RESIZE.jpg ]
> >
> > But on my co workers machine the resizing doesnt work well , as in
> > the SWFLoader holding the background clip doesnt resize [BAD_RESIZE.jpg ]
> >
> >
> > Its weird cause even when I open it in the native SAFlashPlayer it
> > does the same thing but on my machine it works fine. I event tested it on
> > some other machines and seemed
> > to resize fine.
> >
> >
> > cheers :)
> > firdosh
> >
> >
>
>
> --
> justin w. opitz
> 617.771.6639
> jwopitz(at)gmail.com
>
>
>