A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: [CS3] actionscript help

  1. #1
    Member
    Join Date
    May 2008
    Posts
    33

    [CS3] actionscript help

    ive created a buttons menu on flash and when i try putting it on dreamweaver and then uploading it online i cant the see the flash menu. i tried putting an embed code for the flash object but that doesn't work. can someone fix the actionscript for it.

    Code:
    Home.onRelease = function ()
    {
        getURL("index.html", "_self");
    };

  2. #2
    trace("AKA: Biro Barna");
    Join Date
    Oct 2007
    Location
    RO.Timişoara
    Posts
    1,403
    There's nothing wrong with your code. If you are not seeing the .swf at all that means that you didn't embed it correctly. In that case, you'll need to go back into DW and see what's bad. Or, simply use the publish settings in Flash and publish a .html file too ( not only a .swf ).



    | Windows MSN: birobarna [at] hotmail [dot] com | Skype: barna.biro |
    WebLog: http://blog.wisebisoft.com/ |
    | Software Developer / Flash & Flex Developer | Student ( Computer Science ) | Interested in: Sharing Knowledge |
    |
    Romanian Adobe Flash, Flex, AIR Forum: http://www.flashforum.ro/
    | By perseverance the snail reached the ark. |


  3. #3
    Member
    Join Date
    May 2008
    Posts
    33
    for some reason when i upload the files i am able to see the .swf file alone if i type in for example http://www.mysite.com/menu.swf ,but when i go to index.php(homepage) i cannot see it at all. i tried many different embed codes but none of them worked. can you explain exactly what i should do so it will work correctly.

  4. #4
    trace("AKA: Biro Barna");
    Join Date
    Oct 2007
    Location
    RO.Timişoara
    Posts
    1,403
    Embed your file with SWFObject: http://blog.deconcept.com/swfobject/



    | Windows MSN: birobarna [at] hotmail [dot] com | Skype: barna.biro |
    WebLog: http://blog.wisebisoft.com/ |
    | Software Developer / Flash & Flex Developer | Student ( Computer Science ) | Interested in: Sharing Knowledge |
    |
    Romanian Adobe Flash, Flex, AIR Forum: http://www.flashforum.ro/
    | By perseverance the snail reached the ark. |


  5. #5
    Member
    Join Date
    May 2008
    Posts
    33
    i couldn't figure out how to do the swfobject. is there another way to embed it.

  6. #6
    trace("AKA: Biro Barna");
    Join Date
    Oct 2007
    Location
    RO.Timişoara
    Posts
    1,403
    ^ SWFObject is the right and best way. They even have examples there, just try again and pay more attention to their steps. It's not hard at all.



    | Windows MSN: birobarna [at] hotmail [dot] com | Skype: barna.biro |
    WebLog: http://blog.wisebisoft.com/ |
    | Software Developer / Flash & Flex Developer | Student ( Computer Science ) | Interested in: Sharing Knowledge |
    |
    Romanian Adobe Flash, Flex, AIR Forum: http://www.flashforum.ro/
    | By perseverance the snail reached the ark. |


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