loader

Zend framework web app not coming up?

I am trying to get a web app made on Zend Framework up but am encountering this error Warning: require_once(Zend/Loader.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/worm/index.php on line 17 Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader.php' (include_p...

AS3: streamlining a 'universal loader'

In Flash Actionscript 3, when you need to load text, you use a class called 'URLLoader', and when you need to load an image (or .swf) you use a class called 'Loader.' As far as I know, loading a .bmp with URLLoader is as useless as loading an .xml into a Loader - it doesn't compute. I'm making a class that handles a queue of external as...

AS3 Loader ignoring .png transparency

In Flash CS4, open a new document, change the background colour to something recognizeable (like magenta) and add the following code: var loader:Loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, function(e:Event){addChild(e.target.content);}); loader.load(new URLRequest('newsnakelub8.png')); ... replacin...

How to load a preloader in Actionscript3?

I want to load a preloader (call it "target app") into my own Flash application (call it "hosting app") via Loader. The target app loads like a typical preloader several other SWF files via relative paths and starts the target app. If the hosting app and the target app are residing in the same directory everything works fine. If the opp...

Problem displaying image on the movieclip

Have little bit of problem for my flash apps I have a loader which load the image from the server. I also have a large movieclip that hold a list of small movieclips that are used to preview an image using the loader class. It can display the image if I used the loader to add it directly on the large movieclip but it doesn't display t...

Does the Java JVM load an entire jar or ear if it only uses one class from it?

Lets pretend you have a 3 Gb jar file and your application only uses a small class within it. Does the JVM load the whole jar file into memory or does it read the Table of Contents and load only the pieces it needs? Is this behavior controllable? ...

AS3 Wrapper Accessing AS1 Variables

Okay, so I have a Flash CS3 (+ AS3) program which is loading another flash program (called "pacman_main.swf" in this example). I've determined this is a rather old SWF, as it is made in Flash 5 and AS1 (yippee!). I want the parent SWF (a.k.a. the wrapper) to be able to access the variables, specifically the score, of the child SWFG (a.k...

Any hand-on exercise to understand how a program is loaded into memory and get executed

Hi, I am curious about the things happend before main() is called , such like load the executable into memory , dynamic load of shared library. Do you have any suggestions how to understand these things by a hand-on exercise? The tools amd things I know of ,and using now, includes: strace disassemble readelf /proc/pid/map NOTES: ...

Flex modulleader url, why cant it just look at the root ?

We are using pureMVC multicore as the flex Framework, When we need to load a module we use the first line "moduleEval.swf";. It works well in local for testing. But not on the production server which is obvioulsy online, in which case i need to put he full URL. Is that normal ? moduleLoader.url = "moduleEval.swf"; //moduleLoader.url...

AS3 Assign Class to XML Loaded element

I need to load a set of images with from XML and assign Interactivity to them first I load the XML import flash.display.Loader; import flash.net.URLRequest; var loader:Loader = new URLLoader(); var request:URLRequest = new URLRequest("myXML.xml"); loader.load(request); loader.addEventListener(Event.Complete, proessFi...

Getting a Specific Object from a Loader in Actionscript 3.0

Hello. I am learning ActionScript 3.0 and I am seeing this paradigm often: package util { import flash.display.Sprite; import flash.display.Bitmap; import flash.display.Loader; import flash.display.LoaderInfo; import flash.net.URLRequest; import flash.events.Event; public class BitmapLoader extends Sprite ...

Trouble With ActionScript Loader Events

Hello, I am working with a loader to request an image from a WMS(Web Mapping Service). Everything thing is fine and dandy with a valid request. When a bad request is made to a WMS, a Standard Exception Document(XML) is usually returned. However, the loader doesn't fire any event (specifically the Complete or IOError events) when a ...

load-time ELF relocation

Hi, I am writing a simple user-space ELF loader under Linux (why? for 'fun'). My loader at the moment is quite simple and is designed to load only statically-linked ELF files containing position-independent code. Normally, when a program is loaded by the kernel's ELF loader, it is loaded into its own address space. As such, the data ...

Shared library internal

I wish to know how the Shared library works I am asking in terms of Symbol table reference. Is it like when we include a shared library it exports the Symbol table to process then based on some pointers we execute the respective function. What is the meaning of Shared library Strip ? Edit :- I wish to know that how shared library works...

gif loader centered as top layer

I have a php form. After this form is submitted, if all data is valid, then it executes a python script which takes 5-10 seconds. For this wait period I would like to have a progress bar (.gif) displaying in the middle of the screen. If I could also 'fade away' the background so that the progress bar was like a top layer and the backgrou...

Flash AS3: Unable to view loaded swf after loading it inside of package

Good morning friendly Flashers ;) So I've been trying since yesterday to just load a SWF file into my main movie. I've done this before just placing code inside a movieClip, but this time I'm working inside of Class files. I have my main class which calls a function inside of my sub class which contains the loader. My problem is that the...

Flash AS3 : how to stop data loading before completion ?

Hi, I'm developing a system which use resources(image/sound) from server. on user action, I download specific resources and use them. now, before all those resources downloading completes, If user perform another action, I want to discontinue/cancel downloading current ones. Is this possible? I tried with Loader.stop() method but it ...

Loading external SWF, cannot cast document class to shared base class

I have a parent SWF file that defines a Widget base class. I then load an external SWF into the parent. The external SWF's document class derives from the Widget base class -- let's call it DerivedWidget for example. The problem is that when I load the external SWF, I cannot cast the Loader.content (shows in debugger as having the Der...

Why do components in Flash CS3 fail so hard when loaded with a Loader.

The ComboBox shows up fine when I run a SWF by itself. The rowCount property set in the property inspector works just fine; the dataProvider property populates the box just fine; everything works fine. HOWEVER, when I load that SWF into a parent SWF with the Loader class, everything goes to hell. The ComboBox shows up empty. All the ...

How to unload cleanly an Adobe Captivate SWF from Flash Player 9 (not 10)

Why doesn't Adobe follow their own advice and have a Captivate swf listen for its own UNLOAD event, and clean up all its timers, event listeners, external references, etc. I'm finding it VERY DIFFICULT to get an Adobe Captivate swf out of the flash player's memory once loaded in with the Loader. Clearly, the unloadAndStop method isn't ...