Re: [flexcoders] Setting width/height not affecting visual display?

2010-07-13 Thread Mayur Bais
Two things 1) Try setting the height and width of the container. 2) I tried to read the adobe docs and it says The SpriteVisualElement class is a light-weight Sprite-based implemention of IVisualElement. and there are no height and width property available for this class. where are there are

[flexcoders] Re: cropping image under mask

2009-02-24 Thread Mayur Bais
any suggestions On Mon, Feb 23, 2009 at 3:53 PM, Mayur Bais mayur.b...@gmail.com wrote: I am trying to crop image in different different shape, for this , I am trying to use the technique of masking here is what i am trying to do : function drawBMP(): void { var

[flexcoders] cropping image under mask

2009-02-23 Thread Mayur Bais
I am trying to crop image in different different shape, for this , I am trying to use the technique of masking here is what i am trying to do : function drawBMP(): void { var bd:BitmapData = new BitmapData(maskedImage.width, maskedImage.height, true, 0);

[flexcoders] Flv not playing ..please help

2008-09-29 Thread Mayur Bais
Hi all, here is my code for flv player.. Flv gets loaded but it does not play at all.. can any Plz tell me what i am doing wrong ?xml version=1.0 encoding=utf-8? mx:Panel xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% xmlns:controls=com.fxcomponents.controls.*

[flexcoders] error while extending dictionary error ..

2008-05-13 Thread Mayur Bais
Hi all, I have class extending a dictionary class: public class mydict extends Dictionary { publicstatic instance:mydict // done to maintain singleton class function mydict (){ super(); } public static funtion getInstance():mydict { return instance; }

Re: [flexcoders] Maintaining styles and locales(proeprties files)

2008-05-13 Thread Mayur Bais
can u not keep the styles and text file..in once folder.. and add that folder as a external source path ..to all ur locale project.. and there by only one copy gets used across all projects... On 5/13/08, mydarkspoon [EMAIL PROTECTED] wrote: Hi, I'm currently working on a project where both

Re: [flexcoders] error while extending dictionary error ..

2008-05-13 Thread Mayur Bais
. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Mayur Bais *Sent:* Tuesday, May 13, 2008 2:11 AM *To:* [EMAIL PROTECTED]; flexcoders@yahoogroups.com *Subject:* [flexcoders] error while extending dictionary error .. Hi all, I have

Re: [flexcoders] error while extending dictionary error ..

2008-05-13 Thread Mayur Bais
for singletons, I believe. -J On Wed, May 14, 2008 at 2:43 PM, Mayur Bais [EMAIL PROTECTED] wrote: Any specific reason why we should not extend dictionary..? I got it working by writing one getter method in the class which returned dictionary... just curious On Tue, May

Re: [flexcoders] error while extending dictionary error ..

2008-05-13 Thread Mayur Bais
to provide the weakKeys functionality, and that's why you can't subclass it. -J On Wed, May 14, 2008 at 3:04 PM, Mayur Bais [EMAIL PROTECTED] wrote: :) :) sure ...there is nothing that I could not do without extending dictionary... with singleTon , I wanted to have the only once

Re: [flexcoders] state enter /exit

2007-09-21 Thread Mayur Bais
So, It means not to use state...I could it working by hiding and making visible Thanks On 9/21/07, Alex Harui [EMAIL PROTECTED] wrote: If the canvas gets destroyed and recreated, then it will call init() as it gets recreated. You would need to prevent re-creation by hiding and showing

Re: [flexcoders] Re: compiling java classes for flex data services

2007-05-28 Thread Mayur Bais
Thanks for replying, but for compiling java class why would i need swc? though I have one in my class library path. Regards PS ε On 5/28/07, simonjpalmer [EMAIL PROTECTED] wrote: I think you are probably missing fds.swc from your library path. If you are using the Eclipse IDE, search for

Re: [flexcoders] var in Loop

2006-10-11 Thread Mayur Bais
yeah thanks it was helpfull :) On 10/11/06, EECOLOR [EMAIL PROTECTED] wrote: Hello, Its not that the concept of the for..in loop has changed (i think), but the way classes are defined internally has changed. Properties and methods ofclasses that are defined inside the class definition