Re: Any way to use openscales without flex?

133 views
Skip to first unread message

rdu...@trinitytg.com

unread,
Apr 4, 2013, 3:41:16 PM4/4/13
to opensca...@googlegroups.com
I am not using Flex at all  I have built and Actionscrpt application that use Mad Components and 3DAway.   You can build your entire applicaiton without using MXML/Flex.  Take a look at the examples.
 
Randy

On Monday, April 1, 2013 11:03:35 AM UTC-7, Greg Thorson wrote:
Seems that the documentation I can find assumes that I intend to build an openscales app with flex.

I'm going to keep looking, but any pointers on how to do this without going through MXML/Flex at all would be helpful. Tutorial links from the home page are coming up 404 for me, so not much help there...

Seems the crux of the matter is that I'm getting this error when I try to create a new instance of Map:
VerifyError: Error #1014: Class mx.core::ByteArrayAsset could not be found.

ByteArrayAsset from what I can see is part of the flex sdk, and apparently not available if I just want to use flash.

Anything that can get me started will be much appreciated.

Greg Thorson

unread,
Apr 12, 2013, 2:20:34 PM4/12/13
to opensca...@googlegroups.com
Thanks! Not getting too far with this though.

Just for importing org.openscales.core.Map I get a problem no matter what:

Flash Builder 4.7, actionscript project:

Class mx.core::ByteArrayAsset could not be found.

Flash Builder 4.7, flex project:
Class mx.core::UIComponent could not be found (even if I import mx.core.UIComponent)

Flash CS6
Class mx.core::BitmapAsset could not be found.

So it seems that I'm always missing a piece of mx.core. Google's not helping much with this, so it seems there's something I'm assumed to know about but don't?

rdu...@trinitytg.com

unread,
Apr 25, 2013, 6:08:27 PM4/25/13
to opensca...@googlegroups.com
Sorry, I have been away for a while.   What I have noticed is this.   Many of the examples provided use Flex.   I focused on the mobil tracker sample application as my starting point.   I imported the open scales core Library and several others.  I am current away from the office.   Later tonight I can post the libraries I am using.    I think beyond the Openscales Core you only need a couple more.   
 
Also you will notice that alot of the code is more or less duplicated between the opescales-core, openscales-FX  and opescales-fx-examples.   I do not use any of the FX in my applications.  I use MadComponents for the UI.  
Reply all
Reply to author
Forward
0 new messages