This is really wired. I ve never seen this error before Will have a look at it and get back to to you
2011/6/20 Iqbal Yusuf <[email protected]> > Here is in detail what I've done so far. > > Step 0: > Created a GWT application using Eclipse IDE with default settings. > > Step 1: > Followed your instruction as stated here ==> > http://code.google.com/p/gwt4air/wiki/FlexStart > > Step 2: > Here is my entry point class; > > *package com.bdeshtv.gwtairtest.client;* > * > * > *import com.ekambi.gwt.web.flex.client.core.framework.FLEX;* > *import > com.ekambi.gwt.web.flex.client.core.framework.FlexInitializationHandler;* > *import com.google.gwt.core.client.EntryPoint;* > *import com.google.gwt.core.client.GWT;* > * > * > *public class Gwt4AirTest implements EntryPoint {* > * > * > * * > *private static final String SERVER_ERROR = "An error occurred while "* > * * > *+ "attempting to contact the server. Please check your network "* > * * > *+ "connection and try again.";* > * > * > * * > *private final GreetingServiceAsync greetingService = GWT* > * * > *.create(GreetingService.class);* > * * > *public void onModuleLoad() {* > * > * > * * > * FLEX.init(new FlexInitializationHandler() {* > * * > * @Override* > * * > * public void onInitialization() {* > * * > * * > * * > * // your code here* > * > * > * * > *}});* > * * > > } > } > > > > Here is the error message again. I didn't have to use any controls to > invoke the error message. Just adding init method will invoke it. I do see > some folders are getting accessed from the error message. I don't even have > this folder or E: drive on my laptop. > > An ActionScript error has occured: > ReferenceError: Error #1056: Cannot create property allowCodeImport on > flash.system.LoaderContext. > at mx.core::CrossDomainRSLItem/completeCdRslLoad()* > [E:\dev\hero_private\frameworks\projects\framework\src\mx\core\CrossDomainRSLItem > *.as:277] > at > mx.core::CrossDomainRSLItem/itemCompleteHandler()[E:\dev\hero_private\frameworks\projects\framework\src\mx\core\CrossDomainRSLItem.as:386] > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at flash.net::URLLoader/onComplete() > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- GWT API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
