Re: [Ming-dev] SWFBitmap in a SWFButton

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Darien, could you please file a bug on bugs.libming.org
and attach a testcase for it ?

--strk;

On Thu, Jun 03, 2010 at 09:52:20AM -0500, Darien Alonso Camacho wrote:
> Hi all.
> I'm using ming 0.4.3, the official release, with C++ (mingpp.h).
> I am trying to create a SWFButton in which the SWFBUTTON_UP|
> SWFBUTTON_HIT state is a SWFBitmap, here is my code:
> 
> SWFBitmap* image = new SWFBitmap( "label.png" );
> ...
> SWFButton* button = new SWFButton();
> button->addCharacter( image, SWFBUTTON_UP|SWFBUTTON_HIT );
> ...
> SWFDisplayItem* buttonDI = swfmovie->add( button ); 
> buttonDI->moveTo( 10, 10 );
> ...
> but it does not work for me, the stage is empty in the created .swf
> file.
> I know the path of the image ("label.png") is fine.
> 
> Is this a bug, a known issue or am I doing something wrong???
> Any advice will be welcome.
> Thanks 
> 	-dac-
> 
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Ming-devr mailing list
> Ming-devr@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/ming-devr

-- 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Ming-users mailing list
Ming-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ming-users


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux