A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Auto activate button

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Posts
    1

    Auto activate button

    Hello i am new to koolmoves and now i need a way to auto click a button onLoad



    It shoed work like this at least this is the idea i wish to implement:



    If some one enters my flash site (swf move loaded in a html doc) there is a button that opens a iframe but the user must first click the button to activate

    the iframe or it wont show.



    I got the ActionScript at: http://necromanthus.com/main.html

    (iframe.fun) under Tab: miscellaneous/iframes



    I know that if i make shore that the button is to be activated onLoad my problem is solved can some one help me solve this

    by activated i mean like some one really clicks it

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Just so you know that won't work in FireFox. But if you really need to load the iframe without someone clicking you can't force a click but you can recreate the code in actionscript panel and call it on the first frame of the flash file.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center