+ Reply to Thread
Results 1 to 9 of 9

Thread: activating flash outside of flash

  1. #1
    bunglebrown is offline x10 Sophmore bunglebrown is an unknown quantity at this point
    Join Date
    Aug 2008
    Posts
    157

    Question activating flash outside of flash

    wondering if there is anyway to activate a flash animation with a regular image (outside of flash) so that when you press on the image the animation will begin?

  2. #2
    Nathan H is offline x10 Elder Nathan H is an unknown quantity at this point
    Join Date
    Apr 2006
    Posts
    562

    Re: activating flash outside of flash

    well, you might be able to use javascript to force the flash to play, but i have never attempted such a thing.
    Nathan H Formerly UnFoundBug



    http://www.theadmin.co.uk - Yes i know the colours don't go, I'm working on it.

    VPS Admin | x10-commandments

    So thats where it went! I thought i was losing my mind.

  3. #3
    bunglebrown is offline x10 Sophmore bunglebrown is an unknown quantity at this point
    Join Date
    Aug 2008
    Posts
    157

    Re: activating flash outside of flash

    yes - it must be possible.

    Any other takers willing to resolve this one?

  4. #4
    Nathan H is offline x10 Elder Nathan H is an unknown quantity at this point
    Join Date
    Apr 2006
    Posts
    562

    Re: activating flash outside of flash

    another alternative, is to have a script re-write a div. for example have the first frame as an image, then onclick change to the flash object
    Nathan H Formerly UnFoundBug



    http://www.theadmin.co.uk - Yes i know the colours don't go, I'm working on it.

    VPS Admin | x10-commandments

    So thats where it went! I thought i was losing my mind.

  5. #5
    bunglebrown is offline x10 Sophmore bunglebrown is an unknown quantity at this point
    Join Date
    Aug 2008
    Posts
    157

    Question Re: activating flash outside of flash

    sorry - how would I go about doing all that?

    That sounds like it could be the one!

  6. #6
    port5900's Avatar
    port5900 is offline x10 Sophmore port5900 is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    NYC BrOokLyn!
    Posts
    150

    Re: activating flash outside of flash

    Yes it can be done. Here is a link to a tutorial.
    http://www.permadi.com/tutorial/flashjscommand/

  7. #7
    bunglebrown is offline x10 Sophmore bunglebrown is an unknown quantity at this point
    Join Date
    Aug 2008
    Posts
    157

    Wink Re: activating flash outside of flash

    port5900 that was an extremely useful link - thanks so much!!

    Only one thing really I want to jump to different frames within the flash animation, i.e. certain buttons trigger the animation from various places. Any further insights??

  8. #8
    Nathan H is offline x10 Elder Nathan H is an unknown quantity at this point
    Join Date
    Apr 2006
    Posts
    562

    Re: activating flash outside of flash

    Well, you *could* do one of two things as far as i can think of

    1) split the animation up into seperate files, and get them to load eachother

    2) in the flash animation, get it to read a text file at regular intervals (say every second) then use JS or some other method (maybe php) to change this text file. You could use the text file as an interface between js and flash
    Nathan H Formerly UnFoundBug



    http://www.theadmin.co.uk - Yes i know the colours don't go, I'm working on it.

    VPS Admin | x10-commandments

    So thats where it went! I thought i was losing my mind.

  9. #9
    bunglebrown is offline x10 Sophmore bunglebrown is an unknown quantity at this point
    Join Date
    Aug 2008
    Posts
    157

    Thumbs up Re: activating flash outside of flash

    thanks

    to jump to certain frames I used this:


    Code:
     
    function Jumptoframe50()
    {
     var flashMovie=getFlashMovieObject("moviename");
     var currentFrame=flashMovie.TGetProperty("/", 1);
     var Frame50=parseInt(currentFrame);
     if (Frame50>=0)
      Frame2=50;
     flashMovie.GotoFrame(Frame50);
     flashMovie.Play();
    }

+ Reply to Thread

Similar Threads

  1. Flash Templates
    By Lukasz in forum Review My Site
    Replies: 13
    Last Post: 05-22-2008, 08:07 AM
  2. Doing flash for cash!
    By zograf in forum The Marketplace
    Replies: 3
    Last Post: 03-30-2008, 12:28 PM
  3. Biometric Flash Drives
    By mygorillanet in forum Computers & Technology
    Replies: 5
    Last Post: 01-14-2008, 08:04 PM
  4. Replies: 5
    Last Post: 12-14-2007, 11:50 AM
  5. Flash Sig - Need help!
    By N2PGames in forum Off Topic
    Replies: 0
    Last Post: 03-29-2006, 11:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers