A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: How to open new swf on the top of my web

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Posts
    25

    How to open new swf on the top of my web

    Hi there I just finished my website and I want My gallery open on the top of may web wen I click on gallery like new swf file is there any one the can help
    me to that please !!

    Regard

  2. #2
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    check out flashbox, it does pretty much exactly what you want and it looks ver slick

    http://www.matthijskamstra.nl/blog/i...r-box/#example
    Evolve Designs Interactive Media
    the natural selection

  3. #3
    Junior Member
    Join Date
    Jan 2008
    Posts
    25

    help

    Thank you for replayed but is not that what I want .

    I just want to open new swf on the top of my website becouse I want my

    Gallery appear separate is that make sense ?

    Regard

  4. #4
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    is your website all flash? If so you would use loadMovie to load your gallery swf file.

    PHP Code:
    this.createEmptyMovieClip("container"this.getNextHighestDepth());
    container.loadMovie("galleryName.swf");
    this.onEnterFrame = function(){
         if(
    container._width != 0){
              
    container._x Stage.width/container._width/2;
              
    container._y Stage.height/container._width/2;
              
    delete onEnterFrame;
         }

    ps I just coded that in this window so there could be errors but the idea is that I made an empty movieclip, then loaded your gallery.swf into that movieclip, then once the gallery has loaded I centered it inside your site.

    good luck!
    Evolve Designs Interactive Media
    the natural selection

  5. #5
    Junior Member
    Join Date
    Jan 2008
    Posts
    25

    Hi there again

    hi EvolveDesigns I think the cod you sent it to me has error and do I have
    to add it to the key frame or to the button ?

    Many thnaks
    Regard

  6. #6
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    you would add it to a keyframe, it seems to work for me
    Evolve Designs Interactive Media
    the natural selection

  7. #7
    Junior Member
    Join Date
    Jan 2008
    Posts
    25

    Hi there again

    Thanks but still not working for me because when I test the movie my gallery swf play on the same page !

    if you take look this one that,s how I want my gallery open in new window

    http://www.nunosilvaphotography.com


    Thanks

  8. #8
    Junior Member
    Join Date
    Jan 2008
    Posts
    25

    Hi

    so I just want open (Gallery .swf) into separate window thats all .

    Many thanks

  9. #9
    Member
    Join Date
    Jun 2007
    Posts
    30
    did u ever figure this thing out because .... because if i m understanding u .. i m having the exact problem...

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