Hi,

My name is Jochen, I run a small web development company. I have a project
visualizing some data in line charts, the data will be delivered through a
PHP application backend. We decided to build the line charts based on flash
because of the interactivity that is possible as seen on Google Finance...
I've looked at this tutorial here by Mike Potter and downloaded a trial of
Flex Builder 3
http://blogs.adobe.com/mikepotter/Flex%20Spry%20and%20PHP%20tutorial.pdf

I got the tutorial mostly working with my existing PHP Development
environment, however without actually changing the swf file that comes with
the tutorial source code. Now I'm kind of stuck with getting the swf file
modified and build with Flex Builder.

I got some general questions and some specific ones:

General:
- Can anyone recommend tutorials of how to actually build the swf file with
Flex Builder. Most tutorials on the web seem to explain how all the
technologies and communication work together - I don't seem to have too many
problems with that, as I've looked at smilar stuff with PHP, AJAX, etc..
Specifically I find the directory structure confusing, probably because I
have my own mind of a directory structure and just like to dump the swf in
there.
Also, an overview of all the file types used would probably clarify a lot
for me.


- Would you recommend to go with Flex Builder, keeping in mind I'm not the
graphical person that does the final design on the chart. Mind you I will
probably have to manage and train /implement for the graphical person. Or is
it maybe better to do use the command line compiler?


Specific problem:

I got in my mxml file:

import com.adobe.serialization.json
>
> .JSON;
> public function bindJSONToChart( JSONString:String ):void {
> var arr:Array = (JSON.decode(JSONString) as Array);
> linechart.dataProvider = new ArrayCollection(arr);
> }
>
>
> and in my project properties under "Flex Build Path" I got included "
> corelib.swc" from http://code.google.com/p/as3corelib/
>
> This is what I found on the web as a resolution for the error message:
> "access of undefined property JSON", but I can't seem to get that error
> message to go away.
>
>
>
> ---> Ok, while I checked settings for this problem, I resolved the problem
> myself: I have the whole corelib folder under a folder libs in my project
> and under project settings had both the "lib" path as an SWC folder added
> and corelib.swc as an swc file.
>
> Is there generally a problem including the same resource twice. It would
> be great if someone could explain why this setup didn't work.
>
> Thanks for any pointers and advice on the above.

Reply via email to