Skip navigation
Currently Being Moderated

Flash iPhone OS

Sep 4, 2012 9:14 AM

Tags: #iphone

I am reworking my website, which is in flash.  I find it terribly slow, due to the fact that i am a photographer and I have WAY too many pictures on the site.  In pulling up flash I noticed there is an option for iPhone OS.  Is anyone familiar with this? 

 

If I design in this will it allow everyone to see it?

 
Replies
  • kglad
    63,093 posts
    Jul 21, 2002
    Currently Being Moderated
    Sep 4, 2012 9:54 AM   in reply to Little Ricky Productions

    the publish for iOS is for creating an iPhone application that can be installed on an iPhone.  it does not create something you can put on your website and will be viewed by iPhone users.

     

    p.s.  you can probably improve the performance of your website by enabling cacheAsBitmap for your images (unless they are already bitmaps).

     
    |
    Mark as:
  • kglad
    63,093 posts
    Jul 21, 2002
    Currently Being Moderated
    Sep 8, 2012 10:48 AM   in reply to Little Ricky Productions

    i can't read that code very well because your code is unformated (in the forum) but i can see you're nesting functions and you have tweens that are local to functions both of which are potential problems.

     

    but an even greater problem is you're not unloading anything. so, you may be able to get away with simply unloading your loaded galleries.  try:

     

    var swfLoader:Loader = new Loader();

    addChild(swfLoader);

    home_mc.buttonMode = true;

    home_mc.addEventListener(MouseEvent.CLICK, home);

    function home(e){

     

            swfLoader.load(new URLRequest("/phot/fla/current_show.swf"));

     

    }

    begin_mc.buttonMode = true;

    begin_mc.addEventListener(MouseEvent.CLICK, beg);

    function beg(e){

               swfLoader.load(new URLRequest("/phot/fla/riverVale.swf"));

     

    }

    previous_mc.buttonMode = true;

    previous_mc.addEventListener(MouseEvent.CLICK, prev);

    function prev(e){

               swfLoader.load(new URLRequest("/phot/fla/riverVale.swf"));

     

    }

    next_mc.buttonMode = true;

    next_mc.addEventListener(MouseEvent.CLICK, nex);

    function nex(e){

               swfLoader.load(new URLRequest("/phot/fla/riverVale2.swf"));

     

    }

    last_mc.buttonMode = true;

    last_mc.addEventListener(MouseEvent.CLICK, las);

    function las(e){

               swfLoader..load(new URLRequest("/phot/fla/riverVale4.swf"));

    }

     
    |
    Mark as:
  • kglad
    63,093 posts
    Jul 21, 2002
    Currently Being Moderated
    Sep 8, 2012 10:49 AM   in reply to Little Ricky Productions

    you're welcome.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points