Incorrect compiler output.

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

 



Hello people.

I'm trying to make a flash movie using Ming 0.4, and get a debug output:

Warning: Reference to undeclared variable, 'image'

Image is assigned in the flash code like this:

$f1 = $movie->add($jpg);
$f1->setName("image");
$f1->moveTo(round(($img_w - $img_w)/2), round(($wdw_h - $img_h)/2));

_before_ it is operated on by events.

Now, if I use listswf, I notice that the order of things is inverted, and
the references in the listed code access 'image' before it is defined,
explaining the problem.

How can I solve this?

Thanks in advance.
John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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