Hi I'm loading an external swf into a MovieClip, and I want it to stop until I choose to play. Currently it plays upon loading immediately.
var mc:MovieClip;
var swfLoader:Loader = new Loader();
swfLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, eventLoaded);
var request:URLRequest;
request = new URLRequest("external.swf");...
I am using the 1.2 version of Uza's Global singleton (http://www.uza.lt/codex/as3-global-object/). The container swf stores some data and a link to a function in the "global" object.
Then another swf is loaded inside the container, it gets it's global instance with Global.getInstance();, and i suppose i can access the data and function...
I'm fairly new to jquery and haven't had much time to explore more and was wondering if anyone could help me. Here is the code I have which I pulled from different places:
$("a").filter(function() {
return this.hostname && this.hostname !== location.hostname;
})
...
Hi guys i have a bit of a problem with a few classes, and i would be very grateful if someone can help me out. So i have:
Already compiled executable (for
whom i don't have the source)
A class in that program that i want to call
The program doesn't have export for the class, and that's my problem i don't have definition for this clas...
Is there an easy way to map a directory in the web.xml or other deployment descriptor (jetty.xml, etc) files?
For example, if I have a directory /opt/files/ is there a way that I can access its files and sub-directories by visiting http://localhost/some-mapping/? It strikes me that there should be some simple way of doing this, but I ha...
I have Mac OS widget with flash. If to click on flash the URL in a window of a browser should open. But it does not occur. I use code like this:
DETAILS_HTML='object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="700" height="460"...
In my Fortran code I made the following call to the dnrm2 routine:
d = dnrm2(n, ax, 1)
Just a simple call that would return me a double precision result.
The question is, should I declare the function at the start of my script? I found that if I don't declare it, when I compile the code in 32 bit Windows, then the result is correct.
...
I have a JSON feed (which I don't directly control, I have to ask the server admins to update it), that is returning NULL, or otherwise not working when I try to access it from another server. The actual feed works fine, but I can't get it to work like a normal API.
Why can I use Flickr, WhitePages, Twitter, etc's JSON APIs, but for:
ht...
Is it possible to launch a program from an anchor in IE? For example, iTunes had links like itms:blahblah that would open up iTunes and go directly to the appropriate page. If so, what is the best way to do this?
...
My project contains 2 source folder, one is generic J2EE application another is smartCleintGWT,
I want to use some already existing DTO classes from first source folder (src)
Note that class used on client side and on server side of GWT project!
When I do that I getting error
[ERROR] Errors in 'file:/C:/..Projects/Admin/DMX/src_conso...
Hello everybody,
I've got a question concerning nasm and its linkage to C++. I declare a litte test function as
extern "C" void __cdecl myTest( byte i1, byte i2, int stride, int *width );
and I call it like this:
byte i1 = 1, i2 = 2;
int stride = 3, width = 4;
myTest( i1, i2, stride, &width );
the method only serves to debug assembl...
Hello,
I'm trying to put an animated PNG dynamically from external .js file. First I found a simple animated png solution, which draws an animation wherever you put the code within <script> tags, but now it looks like I don't know how to call the function properly from external file.
The script is from AnimatedPNG, and it looks some...
I'm building a small Flash Projector file. I'm loading external SWFs into a main SWF. The external SWFs will contain a scrollbar (sometimes 2) imported from a folder.
The scrollbar works fine in the external SWF, but when I try to all the SWF to the main SWF, I get the following error. I'm still a novice to AS3.
[object maschera_8]
Type...
I want to copy all external dependency libraries to a directory, but I don't want to do this job manually, since there are quite lot of libraries. I wonder if there is a way to let the eclipse do it for me automatically.
...
Hi friends,
I am trying to implement the blackberry application which will help the user to update his status through application.
Its like user will enter the username, password and status it will update his status on twitter.
I have seen Twitter API docs but didnt understood how to start. It has many things like application registra...
I`m currently working on a script, and I have the following situation.
function somnicefunction()
{
require 'someexternalclass.php';
$somevar = new SomeExternalClass();
}
For some reason, the above breaks the function. I'm not sure why, I haven't seen much documentation in php.net regarding this, plus google returned no real r...
I set up a static IP and did port forwarding on my notebook, and now I have a static IP address, but it's relatively static, every time I re-start the machine, I get another address, and since I have a "static" IP I can now do Paypal IPN messaging. But how can I get this static IP from my Java program ? One way I can think of is to visit...
After setting up static IP and port forwarding, I ran my servlet and replaced "localhost" with my external IP [ got from http://portforward.com/ ], but it failed to get any info from my servlet, why ?
I thought if I use "localhost", the browser just gets the info from my own PC without getting onto the Internet, basically a local trip, ...
Hi
I'm trying to get an external swf to load when the flv content of another external swf finishes playing.
I've only been using actiosncript 3 for about a week and I've got to this point from tutorials, so my knowledge is limited.
This is what I've got so far:
Code for External swf (with flv content):
import fl.video.FLVPlayback;
...
I have a DLL that I am trying to link with a libjpeg LIB using MSVC 2008 that is generating Unresolved External Symbol errors for the libjpeg functions. I also have a test project that links with the exact same libjpeg library file and links without error and runs fine too.
I have triple-checked my LIB path and dependent LIBS list se...