Archive for March, 2006

Flex 2 Example Page Created

In the course of reading and learning I often write little example applications. The example applications some time serf the purposes of R&D, solutions to problems, or just for fun apps. You can find quick and dirty portal for the Flex 2 examples here.

Add comment March 27th, 2006


Compc - Error: could not find a JVM.

I fired up a command prompt and wanted to learn a little about “compc”. Well I got this error message. To no avail all I could find on google was a url in Japanese Here is the page.

The page gave me enough info to go look for a “jvm.config” located in the Flex install folder (C:\Program Files\Macromedia\Flex” folder for me, its in the “bin” folder where “compc” is also.

Then the jvm.config page itself shed some more light on the situation.

#
# VM configuration
#
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself
#
# If no java.home is specified a VM is located by looking in these places in this
# order:
#
# 1) JAVA_HOME environment variables (same rules as java.home above)
# 2) bin directory for java.dll (windows) or lib//libjava.so (unix)
# 3) ../jre
# 4) registry (windows only)
#

I opted for commenting out the java.home line and letting it pick up my JAVA_HOME variable.

So if you ever run into the “Error: could not find a JVM.” while using compc, hopefully this post has been spidered so you wont have to translate (or decipher) a page in Japanese.

1 comment March 21st, 2006

Flex 2 Beta 2 and Flex Developer Derby

Flex 2 Beta 2 was released today and along with it there is a “Adobe Flex Developer Derby”.

Adobe Flex Developer Derby

This is a very interesting way of reaching out to the community. It should create quite a stir. It makes me almost quit my day job and create the coolest Flex 2 app ever, lol.

Six winners will each receive:

* A 42-inch Samsung plasma TV plus a Microsoft Xbox 360. See TV specs.
* Your application showcased on Adobe’s website, along with an application name and description and a link to your personal website or blog (if applicable)
* Your application showcased in Adobe’s booth at the JavaOne Conference, May 16–19, 2006, in San Francisco

Add comment March 20th, 2006

Flex Framework Source Code

I just learned about some ways to get at the Flex Framework source code (mostly with 1.5). The code is not there to be reused but you can learn from it to help extend the framework classes. Here are the links I found:

Find the source files in your mx_debug.swc

Viewing the source while debuging

I am seeing chatter about Flex 2 framework source code, they say it will be available upon release of Flex2.

Read the FlexCoders Posts Here

Add comment March 20th, 2006

Flash Media Server on Fedora Core 2

I tried getting a Flash Media Server installed on a Fedora Core 2 box. I spent hours figuring out why after running the start script nothing would happen. It wasn’t until I tried running “./fmsmaster” by it self that I got an error back.

./fmsmaster: error while loading shared libraries: libnspr4.so: cannot open shared object file: No such file or directory

Then it took me some google searching to find that the libnspr4.so belongs to the
“mozilla-nspr-1.7.6-1.2.5.i386.rpm” (for fedora core 2 that is).

ES4 required “seamonkey-nspr” to make the libnspr4.so error to go away.

A little yum-ing and it was all better.

Learn More: remote server monitoring software to help diagnose any potential issues on servers and networks

5 comments March 18th, 2006

The “Dynamic What Not”

There should be a term coined the “Dynamic What Not”. It would be whatever you want when you need it. It will also change its definition as you change you requirements. Logically it will work, but semantically it would change with the wind.

Add comment March 15th, 2006

Flex2 and AMFPHP 1.2 (revisited)

My first post here started the basis for simple Flex2 and AMFPHP.

You can download some code here. This code uses a actionscript connection class and Flex2 Beta 1 Flex Framework (so things still can change).

Add comment March 15th, 2006

Flash and AJAX unite

Here is an article talking about Adobe’s development of Flex-AJAX bridge frameworks.


Adobe Bridges Flash, Flex with AJAX

FABridge

This is a great move by Adobe.

Add comment March 8th, 2006

CakePHP DB_ACL install

In trying to install the new CakePHP DB_ACL functionality I ran across some issues with my php CLI setup.

I was following the link here CakePHP ACL.

My setup was created by the “xampp-win32-1.5.1-installer.exe” installer. Basically a light version of Apache 2.2.0, PHP 5.1.1, windows XP installer.

I fired up the command prompt to run the command line code as outline in the CakePHP ACL instructions and came across some errors.

First Error:
Warning: require_once(CORE_PATHcake\libs\neat_array.php): failed to open stream: No such file or directory in C:\xampplite\htdocs\cake\cake\basics.php on line 392

I fixed this by added “define(’CORE_PATH’, CAKE_CORE_INCLUDE_PATH.DS);” to line 44 of acl.php

Second Error:
Fatal error: Class ‘Inflector’ not found in C:\xampplite\htdocs\cake\cake\libs\model\connection_manager.php on line 111

I fixed this error and later errors by adding the below lines of code right after line that says “require ‘cake’.DS.’basics.php’);”,
define(’LIBS’, CORE_PATH.’cake’ .DS. ‘libs’.DS);
require LIBS.’inflector.php’;

Then the acl.php script was able to be run as a php CLI command line script. Not sure if this is a common error with this script or if its just with my setup and php.exe configuration.

1 comment March 6th, 2006


Disclaimer: I work as a Flash/Flex Developer for Adobe Systems Incorporated. The opinions expressed here represent my own and not those of my employer.

My Amazon.com Wish List

Calendar

March 2006
S M T W T F S
« Feb   Apr »
 1234
567891011
12131415161718
19202122232425
262728293031  

Posts by Month

Posts by Category


Flex.org - The Directory for Flex