Archive for March, 2009

Adobe AIR from Flash a big disaster?

Does anyone have any experience with building AIR apps from within Flash CS3? I inherited an AIR app that is being build from within Flash and is doing my head in to get build.

First of all, the AIR app doesn't run from with the Flash IDE. There is no document class and when I place a trace statement on the first frame it never actually traces (yes, Omit trace actions in the publish settings is un-ticked). I see an application window (with an AIR icon) but it's not actually doing anything. It is as if the code is never executed.

Second, I'm not sure what should be included in the AIR package. It currently tries to package up all my source code when I create an AIR file, including my .svn folders.

It seems to be impossible to use relative paths in either the dialog that Flash presents (under the Controls menu) or a separate descriptor file. From Flash's point of view, what is the relative path anyway, where the Fla is placed or where the swf is placed? (currently different folders in my project).

Lastly, does anyone know of any good tutorials that talk more about the inner workings of AIR? Not that marketing or "hello, world" mambo jumbo that Google constantly seems to come up with...

Thanks, Luke

Read the original question at Top Questions - Stack Overflow.

Leave a Comment

WCF Call .Net 3.5 service from .Net 2.0

Read the original question at Recent Questions - Stack Overflow.

Leave a Comment

Perl module Net::Amazon::MechanicalTurk failing tests

Read the original question at Recent Questions - Stack Overflow.

Leave a Comment

Cannot simply use PostgreSQL table name (“relation does not exist”)

Read the original question at Top Questions - Stack Overflow.

Leave a Comment

how to find CPU cycle for an assembly instruction

Read the original question at Recent Questions - Stack Overflow.

Leave a Comment

Forcing Frame by Frame rendering in Microsoft’s Virtual Earth 3D

I'm writing a plugin for Virtual Earth 3D and I'd like to force rendering frame by frame so that each frame is rendered 100%. Currently when I use it's built in movement methods, movement is more important than rendering, so the frames are blurry to say the least.

Does anyone know how I can do this?

Thanks.

Read the original question at Top Questions - Stack Overflow.

Leave a Comment

How to configure classloader for ear in websphere 6.1 (specifically wsdl4j)

I have a war file (actually not my own, it's Apache ODE 1.2) that fails to deploy into WAS 6.1 because of a classloader issue - and a specific incompatibility with wsdl4j. If I manually edit the classloader for ODE and create a shared-library for wsdl4j1.6.1 it's all fine.

However, the client has come back stating this is not acceptable and that I should provide an ear that is a self-contained install, with no manual steps involved.

I've been able to build the ear file that bundles the war, but I cannot find any relevant information on how to include a shared-lib within the ear - and have that used at the start of the classloader (needs to take preference over the wsdl4j bundled with WAS). Do I need to modify the ear file construct? Or the application.xml?

Can anyone offer any help? As you may guess, I am from a "tomcat just needs a war file" background, struggling to get to grips with ear files.

My application.xml just contains: http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"> XXX ODE ode.war ode etc

Read the original question at Top Questions - Stack Overflow.

Leave a Comment

Is there an online tester for xPath selectors?

Read the original question at Recent Questions - Stack Overflow.

Leave a Comment

Accessing Sabre Web Services using PHP

I have been approached to create a website using Sabre Web Services to power the reservations system. All documentation I have seen refers to .NET or Java solutions, I was in doubt whether PHP can be used as access is performed using SOAP. I have found no further information about this, I assume the answer is yes, but wonder why there is not a single reference to this being possible - all solutions seem to be .NET

Any suggestions?

Thanks!

Read the original question at Top Questions - Stack Overflow.

Leave a Comment

C++ random float

How do I generate random floats in C++?

I thought I could take the integer rand and divide it by something, would that be adequate enough?

Read the original question at Top Questions - Stack Overflow.

Leave a Comment