Re: [PHP] PHP, MySQL and Flash

2003-07-09 Thread Dan Anderson
Why don't you just write a program in Java?  It would be simple to do,
wouldn't require Flash, and might make your life easier.

-Dan


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] PHP, MySQL and Flash

2003-07-09 Thread Ralph Guzman
Might want to look at: http://polar-lights.com/en/

-Original Message-
From: Rankin, Randy [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 09, 2003 5:30 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP] PHP, MySQL and Flash

Does anyone know of any articles on integrating PHP, MySQL and Flash to
perform a drag and drop routine for updating a db?

Specifically, I have a client who is _INSISTING_ that I integrate a drag
and
drop feature into his railcar storage application. He wants to be able
to
view two railcar storage tracks, Track A and Track B, then drag and drop
cars from Track A to Track B ( or Track B to Track A ). Once he
positions (
orders ) all the cars properly on each track, I need to update a MySQL
db to
reflect the changes. 

I have already developed the above feature so that he can do this
'textually', but he is _determined_ that he must have the graphic 'drag
and
drop' feature. 

There may be another method ( Javascript ? ) to accomplish the same
effect.
I am certainly open to any advice and/or opinions. Any pointers would be
_greatly_ appreciated.

Thanks, 

Randy Rankin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP, MySQL and Flash

2003-07-09 Thread Miles Thompson
Randy,

Flash is so damned graphically oriented, but the graphic bits aren't 
necessarily connected to bits of data ...

I'm just talking off the top of my head here  w/o knowing any specifics 
of your requirements.

Assuming you have n cars, then two tracks would have to be created, each 
with n track elements. I guess these would be an array of movie clips.

Then a set of car movie clips would be created, each car loaded with the 
information necessary, at a minimum, to uniquely identify it.

These get loaded on to one track, each car superimposed over a track element.

Then the cars can be dragged to the appropriate places on the tracks.

When everything is positioned just so, then clicking Update would process 
each track array, updating the database with the car and track-position data.

So, having blabbered on, I'm not much wiser. but this is much like a puzzle 
game isn't it? How do the Flash games store their state?

It would also be nice to be able to shove a car in between two other cars.

So, if this model works, the bottom layer (scene?) has to be able to 
identify what overlies it.

Try posting this on FlashCoders.

Cheers - Miles

At 07:30 AM 7/9/2003 -0500, Rankin, Randy wrote:
Does anyone know of any articles on integrating PHP, MySQL and Flash to
perform a drag and drop routine for updating a db?
Specifically, I have a client who is _INSISTING_ that I integrate a drag and
drop feature into his railcar storage application. He wants to be able to
view two railcar storage tracks, Track A and Track B, then drag and drop
cars from Track A to Track B ( or Track B to Track A ). Once he positions (
orders ) all the cars properly on each track, I need to update a MySQL db to
reflect the changes.
I have already developed the above feature so that he can do this
'textually', but he is _determined_ that he must have the graphic 'drag and
drop' feature.
There may be another method ( Javascript ? ) to accomplish the same effect.
I am certainly open to any advice and/or opinions. Any pointers would be
_greatly_ appreciated.
Thanks,

Randy Rankin


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php