If you are wanting to use pregenerated FLASH scripts ( and not build them on
the fly with libswf or ming) then what you want to do, without having to buy
Generator for your server is...
In the beginning of you falsh file, do a load variables from a PHP page,
that queries a database or whatever, gets the data, and echoes it out to the
FLASH file in the format expected by load variables. Tack on a variable at
the end called loadDone and set it to 1 (or true)
In flash, you have to put in a loop in the second frame, or after the
loadvariables command, that checks to see if loadDone==1, to make sure that
all the variables have loaded.
You cannot assume that the variables will load within a certain time period.
If they don't, the rest of your scripts will break.
That, is how you can pass a lot of dynamic information into your flash file,
without the use of server side generator install from macromedia.
On 4/2/01 11:14 AM, "Godd" <[EMAIL PROTECTED]> wrote:
> Now VRML and PHP may be possible but if you can get Flash to get in the mix
> that will be so bad.
>
> What I really want to do is to get a flash file that will use the pictures
> that I send to it via php and let it use that picture to do the animation.
>
> Now what I am looking at is a flash file that displays info on a product.
> now given the picture of the product and the information on the product, I
> want flash to use that info with the events that I will place in the flash
> file and let it do its thing.
>
> now that will be good. I am not sure what macromedia has along this line.
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]