A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: click to activate and use the control

  1. #1
    Junior Member
    Join Date
    Feb 2002
    Posts
    6

    click to activate and use the control

    Hello,
    I have created swf file, with buttons, actionscrip ...
    version 8

    whet I open my file in internet explorer browser, it works correctly, but when i open it in opera browser, I need to click on my flash animation to activate the controls, buttons
    How can I resolve that problem?

    Thanks
    Aram Harutyunyan
    www.look.am

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    edit your html file to -
    PHP Code:
    <body onLoad="window.document.${application}.focus();"

  3. #3
    Junior Member
    Join Date
    Feb 2002
    Posts
    6
    My file's name is: index.html
    current content is:
    <html>
    <body>
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="780" height="330">
    <param name="movie" value="flash.swf">
    <param name="quality" value="high">
    <embed src="flash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="780" height="330"></embed>
    </object>
    </body>
    <html>

    I change my script as you told
    changed file name is: index.php
    changed content is:
    <html>
    <body onLoad="window.document.${application}.focus();">
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="780" height="330">
    <param name="movie" value="flash.swf">
    <param name="quality" value="high">
    <embed src="flash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="780" height="330"></embed>
    </object>
    </body>
    <html>

    have I done all right?
    Aram Harutyunyan
    www.look.am

  4. #4
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    is it still failing in Opera ?

    try a google search -- opera window focus

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