A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Freeing Up Resources

  1. #1
    Hi, thanks for taking the time to read this.

    My site pops up a new browser window to display each Flash project. This means to view a Flash project you have to have 2 browser windows open (the site window and the project window). This is a problem because it cuts down on system resources and animation/playback rates start to drop noticeably.

    Is there a way to free up the resources of the site window thereby increasing performance in the project window?

    My site can be found here http://www.pixelwit.com if you'd like to see what I'm talking about.

    Thanks for your time.

    -PiXELWiT
    http://www.pixelwit.com

  2. #2
    Monkey Moderator Lexicon's Avatar
    Join Date
    Jul 2001
    Location
    UK
    Posts
    2,038
    One little window with static graphics is not gonna take up any resources at all really (unless you are running a computer made out of old toasters), so dont worry about it. If you are really set on this then use javascript to close the original window or sommat, therefore freeing any resources it uses.

    javascript:window.close();

    -L-

  3. #3
    So, I'm "imagining" the whole thing or my PIII600 is made from old toasters?

    Closing my site window isn't an option since I want the visitor to be able to check out more than just one project before I boot them off the site.

    Thanks for taking the time to post a reply though, maybe somebody else will have a more insightful reply.

    -PiXELWiT
    http://www.pixelwit.com

  4. #4
    Senior Member
    Join Date
    Apr 2001
    Posts
    433
    The only thing I can think of is to produce a rather involved sequence of javascript commands.
    You'd need a frame for your main movie with a toned-down version of your site, perhaps with less animation, simplified buttons.. something to lessen the cpu strain (which I don't notice..but I am running a pretty fast computer..)
    when someone clicks on a project, you'd go to the simplified frame.
    To make the system more complete, you'd need to assign a variable name to the return value of the window.open and then test whether or not the window is open -- if it's closed, you can procede to restoring the full-featured version.

    Complicated? Yes..I'm sorry to say I can't think of a better way, other than to open the projects in the main site window........

    I'm sure someone else can think of something better
    Arctic

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