googleAdsense_widever


Flex : mouse wheel event handler FLEX/Flash





2009년 7월 20일 월요일

flex mouse wheel 이벤트

ui.addEventListener(MouseEvent.MOUSE_WHEEL, onMouseWheel);

 

위와 같은 식으로 휠 이벤트를 받는다.

 

public function onMouseWheel(event:MouseEvent):void

 

위에서 event.delta 값이 음수, 양수 형태로 넘어오는데 그 값을 처리하면 된다.






공유하기 버튼

 

Flex : Runtime 중에 컴포넌트 width, height를 percentage 값으로 변경 FLEX/Flash






component.percentHeight = 10;
// it means 10%

component.percentWidth = 20;

위 attribute 를 사용.




공유하기 버튼

 

Flex mobile application porting to desktop air FLEX/Flash

공유하기 버튼

 

Mac : Preference folder Linux & Mac



각 애플리케이션의 plist 파일을 변경하려면

~/Users/<yourname>/Library/Preferences/com.domain.app.plist

위가 경로.





공유하기 버튼

 

action script error : values of type mx.collections.IList cannot be represented in text. FLEX/Flash



Initializer for 'dataProvider': values of type mx.collections.IList cannot be represented in text.


(1) : dataProvider="array"
(2) : dataProvider="{array}"


(1) >> (2) 변경.

공유하기 버튼

 

FlexMobile : list Component Optimizing Mobile Dev



list skin = spark.skins.mobile.ListSkin

cacheAsBitmap = 'true'

가능하다면  app.xml 에서 <render>gpu</render>

itemRenderer에서 포한된 이미지는 smooth='false' and check "image emdeb"



공유하기 버튼

 

console에서 php실행시 parameter 전달 Server/SQL



getParamInShell.php
------------------------------
<?php

$argc = $GLOBALS['argc']; 
$argv = $GLOBALS['argv'];

echo $argc . $PHP_EOL;
echo $argv[0] . $PHP_EOL;
echo $argv[1] . $PHP_EOL;

?>
------------------------------

> $ php getParamInShell.php PARAM_1;
> 2
> getParamInShell.php
> PARAM_1

위와 같이 사용.



php.ini 에서 
register_argc_argv=true 
옵션 필요.








공유하기 버튼

 

development / distrbution 별 푸시 수신 서버 URL Mobile Dev

https://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/ProvisioningDevelopment/ProvisioningDevelopment.html

위 링크 참고




  • Sandbox
    : The sandbox environment is used for initial development and testing of the provider application. It provides the same set of services as the production environment, although with a smaller number of server units. The sandbox environment also acts a virtual device, enabling simulated end-to-end testing.

    You access the sandbox environment at gateway.sandbox.push.apple.com, outbound TCP port 2195.

  • Production: Use the production environment when building the production version of the provider application. Applications using the production environment must meet Apple’s reliability requirements.

    You access the production environment at gateway.push.apple.com, outbound TCP port 2195.










  • 공유하기 버튼

     

    1 2 3 4 5 6 7 8 9 10 다음


    공지

    어서오십시오.
    트위터 : @FCliver
    제2함선 : http://cliver.tistory.com
    기저심리학 : 네이버카페
    미투데이 : ssimzi
    카카오톡 : FCliver
    페이스북 : Fredric Cliver

    통계 위젯 (화이트)

    18121
    139
    98184

    접속자 위치