2.18.2011

Flash CS5 Update for iOS(iPhone and iPad) ReadMe.pdf

以下は WEBコミュニケーション、ディスカッションのために。
Flash CS5 Update for iOS(iPhone and iPad) ReadMe.pdf

より 転載したものです。英文→和文の翻訳にミスがあったので 訂正してお知らせします。


iOS 用 Adobe® Flash® Professional CS5 アップデート Adobe Systems Incorporated 概要
本 Flash Professional CS5 アップデートは Apple のアプリケーション提出ツールに関する変更に伴 い、Apple の App Store にiOS 用 AIR アプリケーションを提出する際に起こる問題に対処します。
重要: 本 iOS 用アップデートをインストールする前には Flash Professional CS5 11.0.2 アップデー トをダウンロードし、インストールしてください。
インストール手順
vol.001.
重要: ヘルプ > アップデート... メニューを選択し、
Flash Professional CS5 11.0.2 アップデートを 実行する。

vol.002.
アップデートが完了したら、Flash がインストールされているフォルダーを開く。
このフォルダーがあ る典型的な位置は、

Windows では

C:\Program Files\Adobe\Adobe Flash CS5\

Macintosh では

Application/Adobe Flash CS5/

です。

 ※pdf原文ではApplicationを翻訳してしまっていましたが、
  ディレクトリパスなので翻訳しないのが基本ですね。

vol.003.
PFI フォルダーを PFI_old という名前に変更する。

vol.004.
解凍した zip ファイルから
PFI フォルダーを Adobe Flash CS5 フォルダーに移動する。


注: PFI フォルダーが存在しない場合は,

iPhone Packager を
インストールしないオプションを選択していた

ということです。

その場合は、Flash CS5 をアンインストールし、

再びインストーラーを実行してから、上記の手順を行ってください。



© 2010 Adobe Systems Incorporated. All rights reserved.



                   〜以下 原文〜



Adobe Flash Professional CS5 Read Me
Adobe® Flash® Professional CS5 Update for iOS Read Me
Adobe Systems Incorporated
Overview
This update to Flash Professional CS5 addresses issues when submitting AIR applications for iOS to Apple’s App Store that resulted from changes to Apple’s application submissions tools.
IMPORTANT: Please download and install the Flash Professional CS5 Update 11.0.2 prior to installing this update for iOS.
Installation Instruction

1. Important: run the Flash Professional CS5 Update 11.0.2 by selecting Help > Updates...

2. Upon completion browse to the Flash installation folder. Typical location on

Win:

C:\Program Files\ Adobe\Adobe Flash CS5\
,
Mac:

Applications/Adobe Flash CS5/

3. Rename the PFI folder to PFI_old.

4. Move the PFI folder from the extracted zip file to the Adobe Flash CS5 folder.

NOTE: If the PFI folder does not exist, it means you have selected not to install the iPhone Packager. Uninstall Flash CS5 and run the installer again then follow the above steps.

© 2010 Adobe Systems Incorporated. All rights reserved.

2.16.2011

XCODE のObjective-C の UILabelで FlashのTextFieldみたいなものをつくって 表示上でデバッグしたいとき。















01 : XCODE で iPhone の Window Based Projectで プロジェクトを作ったら。


02 : /Classes/[プロジェクト名].m を以下の様に書きます。



//
// IphoneWindowBacedAppDelegate.m
// IphoneWindowBaced
//
// Created by whaisoniosdeveloper on 11/02/16.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "IphoneWindowBacedAppDelegate.h"

@implementation IphoneWindowBacedAppDelegate

@synthesize window;


#pragma mark -
#pragma mark Application lifecycle

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

// Override point for customization after application launch.
[self.window makeKeyAndVisible];

//////////////////////////////////書き加えたポイント//////////////////////////////////

UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(20, 0, 200, 200)];
label.text = @"qwe";
label.backgroundColor = [UIColor redColor];
[window addSubview:label];
[label release];

/////////////////////////////書き加えたポイント//////////////////////////////////


return YES;
}


- (void)applicationWillResignActive:(UIApplication *)application {
/*
Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
*/
}


- (void)applicationDidEnterBackground:(UIApplication *)application {
/*
Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
If your application supports background execution, called instead of applicationWillTerminate: when the user quits.
*/
}


- (void)applicationWillEnterForeground:(UIApplication *)application {
/*
Called as part of transition from the background to the inactive state: here you can undo many of the changes made on entering the background.
*/
}


- (void)applicationDidBecomeActive:(UIApplication *)application {
/*
Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
*/
}


- (void)applicationWillTerminate:(UIApplication *)application {
/*
Called when the application is about to terminate.
See also applicationDidEnterBackground:.
*/
}


#pragma mark -
#pragma mark Memory management

- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application {
/*
Free up as much memory as possible by purging cached data objects that can be recreated (or reloaded from disk) later.
*/
}


- (void)dealloc {
[window release];
[super dealloc];
}


@end




こうすると i Phone 内 の 画面 表示 で デバッグできるよん。

XCODE のObjective-C でprintf("%d",124567890) とかNSlog(@"1234567890") で trace(1234567890) みたいに出力した結果をみる。

XCODE のObjective-C でprintf("%d",124567890) とかNSlog(@"1234567890") で trace(1234567890) みたいに出力した結果をみる。

XCODE でprintf("%d",124567890) =trace(1234567890) した結果をみる。

XCODE でNSlog(@"1234567890") =trace(1234567890) した結果をみる。



そのためには デバッグウィンドウでもなくて、コンソールで 出力結果 がみられる。


英:Run >Console


和:実行>コンソール





01 : みたいなかんじでパネルを開く。

















02 : みたいなかんじでパネルを開く。


こっちのパネルは メモリ の 稼働状況 なんかがみれる