Please also note that :

The Flash player restricts access to other domains other than the current
one where the app is hosted (even if it is on your local machine) if you are
in control of the remote host where the REST data is, check that you have a
*crossdomain.xml* on the domainĀ“s root folder. So  crossdomain.xml must be
in the root folder of the domain you are trying to acess. Not the domain
from which you are making the request.
 If you are not in control or you cannot request such file AND the app will
be on a different domain you will need to workarround that security setting
by creating a local script that will handle remote requests as a proxy (php,
jsp, asp, etc).


2011/6/20 Alain Ekambi <jazzmatad...@googlemail.com>

> I guess the problem might be the video  file you are trying to load. Are
> you loading it from another domain ?
> Please send me a TestCase implementing EntryPoint.
> I ll have a look at it ?
> Regards,
>
> Alain
>
>
> 2011/6/20 Iqbal Yusuf <iyu...@dcl-online.com>
>
>> Hi Alain:
>>
>> I just wanted to try out your code for the first time and basically took
>> your Video Display code to do it. Here is what I have done.
>>
>> Downloaded gwt4air 2.1
>>
>> Put gwt4air-2.1.jar in my class path by putting it under /war/WEB-INF/lib
>> and added it through my Eclipse
>>
>> Put gwt4air folder with all those swf files  under /war
>>
>> Then basically tried the code from your example which deals with Video
>> display.
>>
>> I'll try the code again and send you the source code.
>>
>> I'm trying to run it from my laptop's localhost using Jetty in hosted
>> mode. I also tried to run the code outside hosted mode from Jetty with same
>> error message.
>>
>> Thanks.
>>
>>
>> On Sun, Jun 19, 2011 at 3:09 AM, Alain Ekambi <
>> jazzmatad...@googlemail.com> wrote:
>>
>>> Hello Yusuf,
>>> What exactly are you trying to do ? Run gwt4air from localhost ? XSite
>>> Request ?
>>> Do you have a small testcase implementing EntryPoint for me ?
>>>
>>> Best,
>>> Alain
>>>
>>>
>>> 2011/6/19 IQBAL YUSUF <iqbalyusufd...@gmail.com>
>>>
>>>> Hey Alain:
>>>>
>>>> Bugging you again. I was trying to run gwt4air on my local box but ran
>>>> into some cross browser issue. I do have a crossdomain.xml under "war"
>>>> folder but still getting it. Don't know what I'm doing wrong.
>>>>
>>>> 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 view this discussion on the web visit
>>>> https://groups.google.com/d/msg/google-web-toolkit/-/u9PvlfXw5dEJ.
>>>>
>>>> To post to this group, send email to
>>>> google-web-toolkit@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>>> 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 google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> 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/
>
>
>


-- 

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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to