Re: [flexcoders] Re: HTTPService Synchronization

2008-09-08 Thread Tomas Lin
you can chain your calls in your result functions in either your
httpservice calls or using a framework like MATE

On Mon, Sep 8, 2008 at 1:29 PM, rupal_2381 [EMAIL PROTECTED] wrote:
 I have a app which has multiple HTTPService calls where the service
 calls are dependent on the result of previous service calls. Is it
 possible that I can check the result of first service call before
 invoking the second one.

 Regards,

 --- In flexcoders@yahoogroups.com, Igor Costa [EMAIL PROTECTED] wrote:

 Rupal
 The Flex CookBook could help you at here.

 http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailsproductId=2postId=7184


 Regards
 Igor Costa
 www.igorcosta.org

 On Fri, Sep 5, 2008 at 7:02 PM, rupal_2381 [EMAIL PROTECTED] wrote:

  Hi All,
 
  Is there any framework in place to make multiple HTTPService requests
  synchronous. Also, does making concurrency=last helps?
 
  Regards,
 
 
 



 --
 
 Igor Costa
 www.igorcosta.com
 www.igorcosta.org


 


Re: [flexcoders] Re: #2038: File I/O Error

2008-07-03 Thread Tomas Lin
have you tried appending a JsessionId with your session id at the end?

http://bugs.adobe.com/jira/browse/FP-78

On Thu, Jul 3, 2008 at 10:56 AM, lytvynyuk [EMAIL PROTECTED] wrote:
 Update:
 I works under IE7 doesn't work with Rirefox 2.0.0.15!
 Doesn't work with Opera as well! I suspect this is not browser issue,
 this is FlashPlayer issue, because Firefox and Opera uses same Flash
 Player binaries!

 --- In flexcoders@yahoogroups.com, lytvynyuk [EMAIL PROTECTED] wrote:

 I getting this error, but when I put breakpoint at my server side code
 nothing coming through!! When I created little HTML page with file
 upload filed to same servlet location - IT WORKS!

 I used Live HTTP headers to see activity on HTTP requests -
 nothing nothing going through, also I used Wireshark - same effect.

 So what is going on ? any Ideas?

 AS code is extremely simple:

 var request:URLRequest = new URLRequest();
 request.url = UPLOAD_URL;
 fr.upload(request);
 fileNameLabel.text = fr.name;


 


Re: [flexcoders] Issues panning a swf loaded via SWFLoader

2008-07-02 Thread Tomas Lin
You can use a box to mask the content area ---

mx:Box id=loaderMask backgroundColor=black width=918
height=424 x=1 y=1 /

mx:SWFLoader id=grillNav
source={ServerLink.getImageURL('swf/grills.swf') }
unload=unloadSWF() complete=initSWF(event)
height=424 width=918 x=0 y=0 mask={loaderMask}
/

this will restrict the display area of the embedded swf file



On Wed, Jul 2, 2008 at 1:10 PM, Sean Clark Hess [EMAIL PROTECTED] wrote:
 Do you have clipContent='true' on the container?

 On Wed, Jul 2, 2008 at 9:14 AM, djepyon [EMAIL PROTECTED] wrote:

 I'm loading a swf into a SWFLoader (earth-shattering, I know). The swf
 document size itself is set 2800x960, but there is an additional
 element beneath this in the pasteboard (what was the flash 8
 workarea) that is about 500px in length. I need to be able to pan
 down to this element. If make a call to set the y value of the
 SWFLoader to -500 (to pan downward) the top portion breaks out and
 hovers above my other components instead disappearing at the top border.

 I went a step further and wrapped the swfLoader in a Canvas object.
 Setting the y value to -500 on the MXML object did just what I wanted
 to. I then began setting this dynamically, which produced the same
 results as before. I also tried to run validateDisplayList() hoping it
 would fix things but to no avail.

 Any suggestions would be greatly appreciated :)


 


[flexcoders] Type Coercion errors with SWFLoader

2008-07-01 Thread Tomas Lin
Hiya all,

I have a papervision SWF file that works really well standalone, all
my images are being loaded from a remote location.

So when I call localhost:8080/swf/myfile.swf, everything is fine.

However, when I embed it into my SWFLoader

mx:SWFLoader source=http://localhost:8080/swf/myfile.swf;
width=100% height=469 horizontalAlign=left
verticalAlign=top mask={loaderMask} x=0 y=0
/

I get the following error.

TypeError: Error #1034: Type Coercion failed: cannot convert
Function-1981 to org.papervision3d.core.geom.renderables.Triangle3D.
at org.papervision3d.core.proto::GeometryObject3D/createVertexNormals()
at org.papervision3d.core.proto::GeometryObject3D/set ready()
at org.papervision3d.objects.primitives::Plane/buildPlane()
at org.papervision3d.objects.primitives::Plane()
at com.flashloaded.Wall3D::Wall3DThumbnail()
at com.flashloaded.Wall3D::Wall3DImage()
at com.flashloaded.Wall3D::Wall3D/parseXML()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()

Has anyone ever seen something like this? Is there a solution for it?
I find it bizarre that the swfloader will break an embedded flash
file.

Thanks,


Re: [flexcoders] Flex 3 Maven plug-in?

2008-05-09 Thread Tomas Lin
http://code.google.com/p/flex-mojos/
http://www.servebox.com/foundry/doku.php?id=m2f2plugin
http://www.israfil.net/projects/mojo/maven-flex2-plugin/



On Thu, May 8, 2008 at 4:44 PM, baztheman [EMAIL PROTECTED] wrote:
 Hi,

 We are moving from Flex 2 to Flex 3 and currently using an altered
 version of Flex2Mojo (I think from ServerBox).

 Is there any Flex 3 Maven plug-in out there? I am only using Flex 3
 SDK and Flex 3 eclipse plug-in.

 Thank you.

 A.