Results 1 to 6 of 6

Thread: help: how do I cycle through a menu image with a mouse click? (flash?)

  1. #1
    Newbie
    Join Date
    Mar 2006
    Posts
    7

    help: how do I cycle through a menu image with a mouse click? (flash?)



    I'm working on a skin to use in my Ford Focus. I would like it to look like above, but I would like the car picture in the middle to cycle through different images when I click on it (ie. I click on the picture, it changes to a different one).

    I have downloaded the trial copy of SwishMax Flash editor, so I could make a flash "video" with help if thats what I need to do.

    Any help would be greatly appreciated, as this is the last screen than I need to finish the skin (for now...) for what I use it for.

  2. #2
    Maximum Bitrate DiNASTY's Avatar
    Join Date
    Mar 2005
    Location
    Concord, California
    Posts
    598
    create a new sprite and name it "container"

    then use this code to load the image into the sprite (it will load into the top-left corner of the sprite):

    container.loadMovie("FordFocus3.png");

    This is just a basic idea of how to get an image into Flash. CdR knows how to re-size the images dynamically and you can ask on some flash forum for help as well.

  3. #3
    Maximum Bitrate DiNASTY's Avatar
    Join Date
    Mar 2005
    Location
    Concord, California
    Posts
    598
    woops! sorry i forgot the flash player can only load jpg's. the correct code would be:

    container.loadMovie("FordFocus3.jpg");

  4. #4
    Variable Bitrate jthiani's Avatar
    Join Date
    May 2005
    Location
    Raleigh, NC.... Nbi, Alpha quadrant (1 00 N, 38 00 E ) !!!
    Posts
    374
    good idea dinasty...alternatively a simpler solution would be to just create multiple menu skin jpg files and name each of them in acsending order like menu1.jpg, menu2.jpg etc.....then place a button object over the picture to call the next menu skin in line......you can also make it more interesting by adding small numbers to one of the corners that can call any perticular number without having to follow the sequence. But this is the easy way...

  5. #5
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    There's also a command "LOADIMG" that lets you load images directly into the skin (on any layer: ON/OFF/DOWN/EMPTY/OUTPUT), and you could easily use switchbutton to swtich between the images -- as long as there's a limited/fixed number of them.. the advantage of flash is that your images can be placed under other objects (i.e buttons) without actually drawing those in the image itself.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  6. #6
    Low Bitrate
    Join Date
    Aug 2005
    Location
    Athens,Greece
    Posts
    63

    Question

    Quote Originally Posted by guino
    There's also a command "LOADIMG" that lets you load images directly into the skin (on any layer: ON/OFF/DOWN/EMPTY/OUTPUT), and you could easily use switchbutton to swtich between the images -- as long as there's a limited/fixed number of them.. the advantage of flash is that your images can be placed under other objects (i.e buttons) without actually drawing those in the image itself.
    Hello,

    Adding to this; is there an option like switchbutton on the same menu to cycle through flash movies? What I want to do is in a single menu with say 4 buttons and in the middle have different flash played depending to the button pressed.

    I know about creating 4 menus but I'm looking something more "programatically" safe

    Thanks!
    George

Similar Threads

  1. RightEmu - test needed
    By BeamRider in forum Software & Software Development
    Replies: 18
    Last Post: 10-29-2009, 07:46 PM
  2. sending keystrokes to flash?
    By Nitrov8 in forum Road Runner
    Replies: 7
    Last Post: 04-07-2006, 12:51 AM
  3. FT: Various items, Looking for Screen.
    By Fusion-One in forum Classified Archive
    Replies: 2
    Last Post: 09-25-2005, 04:37 PM
  4. right mouse click like on pocket pc's
    By psuter in forum Operating System Optimization
    Replies: 4
    Last Post: 03-23-2005, 08:39 AM
  5. PS2 3 Button(Rotary Wheel) Mouse Properties?
    By nFiniteTuning in forum Input Devices
    Replies: 4
    Last Post: 03-12-2005, 09:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •