"Consistency is the last refuge of the unimaginative.", Oscar Wilde
"Probably the best wish for a dreamer: Be underestimated", 잫읻 젤지옥루
RSS icon Home icon
  • Flash CS5 iPhone dream ( nightmare ? )

    Posted on December 4th, 2009 Cahit Crcioglu No comments

    Apple JuiceHowever this is not a recent news, i wanted to note some facts on my blog too.

    First of all, it’d be good to note that i have been using/coding on flash since year 1998; which makes it 12 years of experience till today. It’s fullname was Macromedia Flash 3. So i’m not an enemy of the Flash, animation and actionscript.

    Warning! Some of these sentences may tease you; read them calmly before shouting at me, there is an extra paragraph related to these teasing sentences (:

    First of all, for those who are not aware of the topic: Adobe announced that, CS5 will have a feature to export Flash applications as iPhone applications. iPhone will continue to NOT support SWF files in anyway. There will not be (at the time of this post – not announced by Apple) a Flash plugin even for Safari for iPhone. Flash will convert your Flash project into native/somewhat compiled iPhone application. You (currently) will not be able to test it on your computer (iPhone simulator), you have to install it to your device to try it… Ofcourse you still have to be a certified Apple iPhone developer by paying $100 per year (at the time of this post).

    Read the rest of this entry »

  • Flash HD Video Players’ Common Mistake

    Posted on March 27th, 2009 Cahit Crcioglu 2 comments

    People are using flash’s fullscreen ability in the wrong way; they are not using the advantage of hardware-acceleration enough.

    I have made a flash player (not-hd supported) in 2005 from scratch. It wasn’t using any flash component related to video playback. So it was’t using skins. Starting from those days, nothing really much changed when opening video in fullscreen.

    After sometime, adobe gave us a big update which lets us use h264 codec in flash. Internet connections got faster and faster, h264 hardware acceleration was started to be used in graphics cards and in many different kinds of devices.

    However  we see many blog posts, articles, tutorials about “how to go into fullscreen” or “true fullscreen mode in flash” or smiliar topics..

    Nearly all of them says we have to use the following:

    function toggleFullScreen(){
        if(Stage["displayState"]=="normal"){
            Stage["displayState"]="fullScreen";
        } else{
            Stage["displayState"]="normal";
        }
    }
    // OR "stage.displayState = StageDisplayState.FULL_SCREEN;"
    // according to the version you use

    Ok. This is not wrong. Infact, you have to do it. But this is not the right way to do it, i was possibly one of the first ones who asked this to adobe, i got no answer and interestingly nobody said anything about my question. ( it was open to public ) After sometime, i saw that that is what it should be. Now i’ll tell you what i’m talking about:

    Read the rest of this entry »