loader

AS3 unloading swfs loaded with Loader::load()

Hi folks, I'm using Loader::load() successfully to load swfs into my main swf and then I add them as a child of a Sprite. When other events occur I want to remove the swfs as needed. I have looked at unload() and at removeChildAt() without success. I only added the addChild() call to try to pin down the loaded instance so I could ...

Any tool(s) for knowing the layout (segments) of running process in Windows?

I've always been curious about How exactly the process looks in memory? What are the different segments(parts) in it? How exactly will be the program (on the disk) & process (in the memory) are related? My previous question: http://stackoverflow.com/questions/1966920/more-info-on-memory-layout-of-an-executable-program-process In m...

Is it possible to replace Loader of an OS? Any way to obtain the control over Loader?

Hello, I was just wondering if it is possible to replace Loader (executable program loader not the boot loader) of an Operating System (Windows is my choice). Are there any third party loaders available that would patch the default one. Is there any way through which I can obtain the control over the OS Loader? I mean, I want things it...

VA (Virutual Adress) & RVA (relative virtual address)

A file that is given as input to the linker is called Object File. The linker produces an Image file, which in turn is used as input by the loader. A blurb from Microsoft Portable Executable "and Common Object File Format Specification" RVA (relative virtual address). In an image file, the address of an item after it is lo...

I never really understood: what is Application Binary Interface (ABI)?

I never clearly understood what is an ABI. I'm sorry for such a lengthy question. I just want to clearly understand things. Please don't point me to wiki article, If could understand it, I wouldn't be here posting such a lengthy post. This is my mindset about different interfaces: TV remote is an interface between user and TV. It is an...

Trying to change a child movieclips variable through the parent.

Hey guys, I been toying around with the new loader() event. I create 2 files. One named par.swf with the code below in it, and the other named chi.swf. chi.swf has 2 frames. on frame one it has an input box with the instance name of textboxonframe1 and on frame 2 there is a input box named textboxonframe2 (I am creative, I know.) For ...

array of loaders?

How does one create an array of loaders? The bigger picture: I have written a mapping program in flex. I want to change my mapping program so that all I need to do is drop in a new xml file instead of going into my flex file and adding the exact number of item loaders I need. So I guess I'm looking for an array of loaders that can load...

google.loader.ClientLocation: What does it return for "region" for US users?

I can't seem to find this info anywhere: When you get geo info about a user who's in the US through Google AJAX APIs, does google.loader.ClientLocation.address.region return the full state name (e.g. "California") or the abbreviation ("CA")? If you're in the US: What result do you get for "Region" on http://www.thewhyandthehow.com/javas...

AS3 Stop external swf

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");...

What is "Alignment" field in binary formats? Why is it needed?

In ELF file format we have an Alignment field in Segment Header Table aka Program Header Table. In case of Windows PE file format they take it to next level the Sections have two alignment values, one within the disk file and the other in memory. The PE file header specifies both of these values. I didn't understand a thing about this...

Div with typeface JS doesn't display In popable content div

Hi, I made a jQuery loader for my content div. However it doesn't display my div class="typeface" anymore. This means I can't use different fonts. The rest of the content div works properly. Can anyone help me? Javascript code: (for elements) $(document).ready(function() { // Check for hash value in URL var hash = window.l...

What does the Kernel Virtual Memory of each process contain?

When say 3 programs (executables) are loaded into memory the layout might look something like this: I've following questions: Is the concept of Virtual Memory limited to user processes? Because, I am wondering where does the Operating System Kernel, Drivers live? How is its memory layout? I want to know more about kernel side memory...

AS3: Setting size of loaded swf

I'm using Loader to load an external swf into my swf and adding that loaded swf to the stage using event.target.content. If i set the width and height of the loaded swf I actually resize the movieclip inside my loaded swf. What I wanna do is change the stage size of the loaded swf. Any way of doing that? ...

iPhone SDK - (void)viewDidLoad { } - Show Progress

I have a long - (void)viewDidLoad { } function that uses the internet to load a page, and whenever the application loads the URL, the screen is black. I have a UIActivityIndicator setup to show that the address is loading, but I don't know how to prevent it from seeming as if the application is not responding, and I don't want to show t...

Need Recommendation for a Page Loader (html content)

A client has asked for a page loader, something "attractive" to let the visitor know that the content is on its way. This is for standard html content - text, images, etc. I have seen a few on the web, but many of them are dated and rather clunky. I am looking for something that is not a pain to implement but still looks decent. Thanks...

Complete state of a process

hi all, I wrote a small program which is as follows: #include<stdio.h> int c=0; int main() { int a=10,b=20; printf("Hello World\n"); c = a+b; printf("%d\n",c); return 0; } I can create a.out file using the command gcc -save-temps helloworld.c. The save-temps flag allows us to save the intermediate files, helloworl...

Setting LD_LIBRARY_PATH in Apache PassEnv/SetEnv still cant find library

I am trying to test the Cybersource 3d party implementation. I was able to get the test files running fine from the command line, which requires that on Linux I export the path to the payment libraries to LD_LIBRARY_PATH. to try to test this on my server I have created the apache config below <VirtualHost 127.0.0.1:12345> AddHandler ...

Windows loader problem - turn on verbose mode

Hi, I'm in the process of reorganizing some of the legacy libraries in our application which has unmanaged code calling into libraries of managed code. While I have the code reorganized, it produces the following loader error: ... 'app.exe': Loaded 'C:\WINDOWS\system32\CsDisp.dll' 'app.exe': Loaded 'C:\WINDOWS\system32\psapi.dll' '...

How do I load the Oracle schema into memory instead of the hard drive?

I have a certain web application that makes upwards of ~100 updates to an Oracle database in succession. This can take anywhere from 3-5 minutes, which sometimes causes the webpage to time out. A re-design of the application is scheduled soon but someone told me that there is a way to configure a "loader file" which loads the schema into...

How to load an external swf to the main stage from an instanced child class?

Hi, I am trying to get an instance of a class to the load an external swf and show it. So far I have the following: 1) I wrote a class that uses the Loader class to load an external swf "loadExtSWF". 2) I have a fla named "MainSWF.fla" that uses a document class "MainSWF.as". 3) I have the MainSWF.as file that instances "loadExtSWF" an...