Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Sep 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    inserting Javascript in Flash

    I have a flash movie .swf file i want to add my javascript nav bar and scrolling text box on top of the movie in different frames or in a table format.

    Is it possible to do this? and if so how do you do this? or is there another way around it?

    Thanks.

  • #2
    Regular Coder
    Join Date
    Aug 2002
    Location
    USA
    Posts
    625
    Thanks
    0
    Thanked 0 Times in 0 Posts
    "God so loved the world that he gave his only begotten son, so that whosoever believed in him would not perish, but have everlasting life. For God did not send his son into the world to condemn the world, but so that through him the world might be saved. "

  • #3
    New to the CF scene
    Join Date
    Sep 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have already made the .swf transparent. but im not sure on the coding to insert my javascript.

  • #4
    Regular Coder
    Join Date
    Aug 2002
    Location
    USA
    Posts
    625
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You want to put your js menu in your movie?

    I'm still using F5, but unless they've changed something in MX+, that is not possible, nor can I imagine any circumstance under which it would be desirable.


    -james
    "God so loved the world that he gave his only begotten son, so that whosoever believed in him would not perish, but have everlasting life. For God did not send his son into the world to condemn the world, but so that through him the world might be saved. "

  • #5
    New to the CF scene
    Join Date
    Sep 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    http://www.bacsol.co.uk/test999.html

    this is the link to the page im stuck on, all the stuff in the table below the red lines want to go on top of the red lines which are .swf the text scroller is javascript and so is the nav bar. hope this makes sense and you could suggest any ideas?

    Thanks

  • #6
    Regular Coder
    Join Date
    Aug 2002
    Location
    USA
    Posts
    625
    Thanks
    0
    Thanked 0 Times in 0 Posts
    http://www.macromedia.com/support/fl...ents/wmode.htm

    each element is embedded in the page, use css to position, and z-index to layer them.


    -james
    "God so loved the world that he gave his only begotten son, so that whosoever believed in him would not perish, but have everlasting life. For God did not send his son into the world to condemn the world, but so that through him the world might be saved. "

  • #7
    Regular Coder
    Join Date
    Aug 2002
    Location
    USA
    Posts
    625
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I see that you still haven't fixed the page, so I made an example for you:


    http://www.ekigroup.com/wmodeTrans.html


    Just view source.


    -james
    "God so loved the world that he gave his only begotten son, so that whosoever believed in him would not perish, but have everlasting life. For God did not send his son into the world to condemn the world, but so that through him the world might be saved. "


  •  

    Posting Permissions

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