Passing inputs to flash

  • makhan
  • Novice
  • Novice
  • makhan
  • Posts: 31

Post 3+ Months Ago

My flash movie opens up an image and I can do some color picking on it. I want to provide an interface where I can define the number of colors which can be picked.

Can someone guide me should this input be on the html page containng the flash movie or the flash movie itself.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

This seems like it should be taken care of in the colorpicker code of the Flash movie at the moment.

Perhaps you could be a little more specific about what you're trying to accomplish.
  • makhan
  • Novice
  • Novice
  • makhan
  • Posts: 31

Post 3+ Months Ago

Thanks joebert, actually my flash movie displays the color in a small box of the point where I click. I want to give user the option to select how many points.

Like

One input is background color(interger) e.g if background color is two I can select only two back ground color and pass the x and y values of those two points to php.
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

Let me know if this helps you out at all.

It's a ZIP file that contains an FLA, & a PHP file.

Image

The PHP file is a basic flash embed HTML page that has a basic $_POST variable dump at the top of it to see what's going on.

The FLA is for version 8 of Flash, I tried to comment everything as much as possible.
There's Actionscript in three places.
  1. _root Timeline
  2. pickerUI MovieClip in the library
  3. picker MovieClip in the library


I wasn't sure what you meant by allowing the visitor to select how many points, & I wanted to do a colorpicker awhile ago anyway, so this seemed like a good idea to put together. :D

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 11 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.