Results matching “Flash” from Naoki Hada: Healthy, Lucky, Wealthy & Happy with HadaSeicha's Green Tea
Wrong default setting:
C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\3.5.0\fbpro\projects\datavisualization\src
Correct path on Win 64 bit OS
C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\3.5.0\frameworks\projects\datavisualisation\src
Thank you,
Naoki
Some tips I got trapped.
We need Mac to create provision file. Windows only environment does not work. I got Mac mini. We need to pay $100 to be iOs developer.
p12
It requires "iPhone certificate" file. File extension is .p12. We need to create from KeyChain on Mac. When we create we need to select "iPhone Developer Certificate" and "Personal Secret Key" and click to export as P12 file. One file will be created with password.
mobileprovision
This file can be created on Windows after some part on Mac.
iTunes
When we deploy through we need drag and drop mobileprovision file. IPA file will be added by just double clicking.
pfi.bat
It does not work Java 64 bit version. So I installed 32 bit version on C:\java32\ folder. But still command line called 64bit version even after I changed PATH. So I modified pfi.bat file.
Before
@java -Xms256m -Xmx1024m -jar "%~dp0\..\lib\pfi.jar" %*
After
C:\java32\jdk1.6.0_22\bin\java -Xms256m -Xmx1024m -jar "%~dp0\..\lib\pfi.jar" %*
C:\packagerforiphone\bin\pfi -package -target ipa-test -provisioning-profile "Jeanette_Loan_Calc.mobileprovision" -storetype pkcs12 -keystore "iOs_Dev_Naoki.p12" -storepass PASSWORD "loan_calc.ipa" "loan_calc-app.xml" "loan_calc.swf"
===================
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<application xmlns="http://ns.adobe.com/air/application/2.0">
<id>loancalc.hada.org</id>
<version>1.0</version>
<filename>loan_calc</filename>
<description/>
<!-- To localize the description, use the following format for the description element.<description><text xml:lang="en">English App description goes here</text><text xml:lang="fr">French App description goes here</text><text xml:lang="ja">Japanese App description goes here</text></description>-->
<name>Jeanette Hada Loan Calc</name>
<!-- To localize the name, use the following format for the name element.<name><text xml:lang="en">English App name goes here</text><text xml:lang="fr">French App name goes here</text><text xml:lang="ja">Japanese App name goes here</text></name>-->
<copyright/>
<initialWindow>
<content>loan_calc.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<fullScreen>false</fullScreen>
<aspectRatio>portrait</aspectRatio>
<renderMode>auto</renderMode>
<autoOrients>false</autoOrients>
</initialWindow>
<icon/>
<customUpdateUI>false</customUpdateUI>
<allowBrowserInvocation>false</allowBrowserInvocation>
<iPhone>
<InfoAdditions>
<![CDATA[<key>UIDeviceFamily</key><array><string>1</string><string>2</string></array>]]>
</InfoAdditions>
</iPhone>
</application>
===================
Now I can convert kids app I made for Aislee for iPad.
Thank you,
Naoki
Windows 7/Vista
Flash log file location
C:\Users\{UserName}\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt
mm.cfg file location
C:\Users\{UserName}\mm.cfg
mm.cfg file setting (sample)
====================
PolicyFileLog=1 # Enables policy file logging
PolicyFileLogAppend=1 # Optional; do not clear log at startup
ErrorReportingEnable=1
TraceOutputFileEnable=1
MaxWarnings=0
====================
JSFL location on Windows 7
C:\Users\USER_NAME\AppData\Local\Adobe\Flash CS4\en\Configuration
WonderFL.net is ActionScript 3 mixer. We can change script and run online.
URL parameter
Flex 3
=== begin ===
Application.application.parameters
=== end ===
Flex 4
=== begin ===
import mx.core.FlexGlobals;
FlexGlobals.topLevelApplication.parameters
=== end ===
Application layout
Flex 3
=== begin ===
<mx:Application layout="vertical">
.....
</mx:Application>
=== end ===
Flex 4
=== begin ===
<s:Application>
<mx:Vbox>
.....
</mx:Vbox>
</s:Application>
=== end ===
CSS: external file
Flex 3
=== begin ===
<mx:Style source="style.css" />
=== end ===
Flex 4
=== begin ===
<fx:Style source="style.css" />
=== end ===
CSS
Flex 3
=== begin ===
Application {
backgroundColor: #888888;
}
=== end ===
Flex 4
=== begin (Flash) ===
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/halo";
s|Application {
backgroundColor: #888888;
}
=== end (Flash) ===
=== begin (AIR) ===
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/halo";
s|WindowedApplication{
backgroundColor: #888888;
}
=== end (AIR) ===
Array
Flex 3
=== begin ===
<mx:Array>
=== end ===
Flex 4
=== begin ===
<fx:Array>
=== end ===
Graph related
Flex 3
=== begin ===
<mx:lineStroke>
<mx:Stroke />
</mx:lineStroke>
=== end ===
Flex 4
=== begin ===
<mx:lineStroke>
<mx:SolidColorStroke />
</mx:lineStroke>
=== end ===
Flex 3
=== begin ===
<mx:itemRenderer>
<mx:Component>
<mx:CircleItemRenderer/>
</mx:Component>
</mx:itemRenderer>
=== end ===
Flex 4
=== begin ===
<mx:itemRenderer>
<fx:Component>
<mx:CircleItemRenderer/>
</fx:Component>
</mx:itemRenderer>
=== end ===
She was born at home. There were 4 people. (Mama, Papa, Midwife and assistant).
For her 1 year birthday party, over 40 people came.
Thank you very much for all.
After 1 year:
Before 1 year.
How to use:
- Click button or hit space key with saying "Thank you".
Awards:
- Your age multiple 10,000 times : You will receive 1st miracle.
- Your age multiple 20,000 times : You will receive 2nd miracle.
- Your age multiple 30,000 times : You will receive 3rd miracle.
- You have to say "Thank you". Not just thinking. Action is better than thinking.
- Even you don't think "thank you", just saying is OK.
- If you say nod good word, complaining, this counter will reset. (very important)
- If you say "cancel" with in 10 second, the counter will not get reset. If you don't notice you said, it will reset.
- Other people say "thank you" to you, it counts.
- Actual count is done by god or guardian angel or something great, so you don't need to count by yourself.
Here's just counter http://www.hada.org/counter/thankyou/.
-Naoki
My wife and I liked a lot.
We are clicking around with mouse last night.
http://www.adobe.com/creativemind/
Click "ENTER" to open new window.
I was amazed FLASH's capability.
Try it, you'll like it.
-Naoki