Re: name a text field, preloader

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

 



strk wrote:
> SWFDisplayItem it = SWFMovie_add(....);
> SWFDisplayItem_setName(it,<name>);
>
> --strk;
>
>   Free GIS&  Flash consultant/developer      ()  ASCII Ribbon Campaign
>   http://foo.keybit.net/~strk/services.html  /\  Keep it simple!
hey strk, thanks a lot. i over,looked this entry in the doc..
it worked, but now i am getting the following error (php):

*Catchable fatal error*: SWFAction::__construct() [swfaction.--construct 
<http://localhost/ming/name/swfaction.--construct>]: var percent: ^ Line 
3: Reason: 'syntax error' in

i think the ming posibilities for working with actionscript, are not as 
big as i thought.
or does this error means something different?

here is the actionscript (i tried different versions):

$preLoaderAs = "
var percent:Number = 0;
loading = _root.getBytesLoaded();
total = _root.getBytesTotal();
percent -= (percent-((loading/total)*100));
per = Math.round(percent);
percentage = per+\"%\";
prozent_mc.textfeld.text = percentage;
ladebalken._width = per*2;
prozent_mc._x = ladebalken._x+per*2;
if (per>99) {
    _root.gotoAndPlay(\"intro\");
}";

//robert


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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