ActionScript 2.0 :: Simple Utility That Will Disable Maximize Of Projector
Jan 25, 2012
I am aware of Zinc (which was disappointing) and SWF Studio (demo didnt work for some reason, I contacted them with nor eply just yet) but there were problems with these and they simply offer more than I need. Is there a simple utility that will allow me to eliminate the users ability to maximize the player window? Something that wont force me to bundle my 50 FLV videos into the EXE making an EXE thats like 300 MB...something that will not change anything about how the projector works but allow some projector top bar modifications?I tend to remember long ago there was a very simple 1-2 screen utility that allowed you to simply check a few boxes, export and it acted in every way like a regular projector (exe) but simply disable a few options (like maximize).Anyone know of such a utility?
I am aware of Zinc (which was disappointing) and SWF Studio (demo didnt work for some reason, I contacted them with nor eply just yet) but there were problems with these and they simply offer more than I need. Is there a simple utility that will allow me to eliminate the users ability to maximize the player window? Something that wont force me to bundle my 50 FLV videos into the EXE making an EXE thats like 300 MB...something that will not change anything about how the projector works but allow some projector top bar modifications?
I tend to remember long ago there was a very simple 1-2 screen utility that allowed you to simply check a few boxes, export and it acted in every way like a regular projector (exe) but simply disable a few options (like maximize).
Since full screen mode disables most keyboard input, it's a non-starter for me.
Is there a way to automatically maximize the Flash Player window when using a projector? In other words, when someone double-clicks the projector EXE, I want it to start in a Maximized window.
This boils down to being able to listen to key presses when the application doesn't have the focus. I've tried adding listeners to both stage and NativeApplication, but when the app is minimized it doesn't seem to listen to key events.
Just for the record, I'm trying to implement an app that behaves in the way Spotlight does. It runs on the background and it appears to the user after a keyboard shortcut combination.
If this is not possible, I think I would have to use some sort of helper app to listen to the keys and pass them on to the AIR app via NativeProcess, but it seems a little bit too complicated.
I'm planning to get this working on AIR 2 beta in at least Win and Mac.
I have a fairy sizable class, a`nd an mx:Application that will periodically instantiate a new object of this class, which results in member functions of the class being assigned as event listeners to the application, and also other member display objects of the class being added as children to the application. When the application creates a new object of this class the old object is destroyed: to accomplish this, removeEventListener and removeChild are called on various members of the old object (to decouple them from the parent application) and then the final reference to the old object is set to null, and then finally the well known localConnection hack is called to force FP to actually free the memory.
And the thing is, the above destruction procedure always works to deallocate an object - except for the very first object allocated. it has proved impossible thus far to release the memory of the first such object created, or find out what is preventing it (i.e. find out what is still referencing it). So my question is - is there any useful utility that will tell you what is still referencing an object and keeping it from being garbage collected. Someone implied to me that the flex profiler would do this (which I do not have access to) but another 3rd party profiler I found for flex would not do this (i.e. tell you what is referencing an object and keeping it from being deleted.)
I have a web application created using Flash Pro and I want to use external ActionScript files to support it. I have a package with multiple classes. I want to be able to create utility functions to do things across classes. How do I make these functions accessible to any of the classes? I know I can create a class with these functions and then instantiate the class with a dummy variable to be able to access the methods but is there a better way?
As a web developer we are always concerned with SEO. I understand that Flash now supports SEO to a certain extent. What can we can do to maximize the SEO capabilities of Flash?
I am trying to get a handle on interfaces with AS3 and am kind of at a sticking point. Someone tried to explain them to me using legos¯ and conceptually I get the idea of consistent interaction. Where I seem to get stuck is, I don't really see how the implementation of interfaces¯ accomplishes this.
I would like to dynamically create squares and distribute them as evenly as possible in a given area. Because the given area can be of any size, I would like to make the squares in the grid be of any size so they maximize the available space. The number of squares is fixed. The purpose of these squares is to display the alphabet: A-Z. So there will be 26 squares. The squares will be spaced apart by some number of pixels: i.e. 3 pixels. So the size of the squares can be variable.The size of the available area is variable.The number of rows and columns of the grid are variable.The only factors that are not variable are the spacing and the number of squares.
Usually maximize, and minimize works while I am opening video player in windows, but when I upload it on website, I cant use maximizie and minimize option.
Here is my html code: Select all<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]"> <html xmlns="[URL]"><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Gagi's Gym</title> <style type="text/css"> [Code] .....
I've added allowFullScreen but with no sucsess, IE gives me this: Code: Select allSecurityError: Error #2152: Full screen mode is not allowed. at flash.display::Stage/set displayState() at f4:player/fullScreenHandler()
I want to have layer pop in my flash movie that allows the user to click and drag it around the screen. I also want this to have minimize, maximize, and close buttons on
I am seeing fms utility time during the playback. What could be casuing it to timeout. when size around 179KB it starts to throw this error. Don't know exact size when it throws. For small sizes it is successful.
I have just uploaded a new swf and its packages to my server, and it works has expected. However, inside my Document Class I have two imports: import com.utils.calendarFunctions;import com.adobe.serialization.json.JSON; Neither of these are on my Server - believe me I've checked, repeatedly. So how is it possible that my swf still functions as if these two packages where there. Does the import actually embed these inside the swf or what?
Is there an existing javascript library for relaying key press events in the browser (or certain divs) into flash? I am hoping there might be a library kind of like this one for mousewheel events?Something like this handles javascript keyboard shortcuts great. I suppose I could just listen for those events and pass the ones I want into flash?These are great examples, however, if flash has focus, then javascript keystrokes are lost. How can you ensure that all key events go through javascript?
[url]...I've downloaded clippy and have tried compiling on Mac, Linux, and Windows and I keep getting the same result: The swf compiles with no apparent errors but when I try to load the clippy.swf in my webpage it is unresponsive. I've tried custom builds that others have done and it works fine - just building my own results in a dud. (and yes I do have haxe and swifmill installed). The only thing I can think of is perhaps the latest version of swifmill or haxe is causing the issue.
I have a bunch of functionality which is going to be used throughout the application.I already have some utilities which work ok such as changing an AS3 object into XML.public static function convertMyObjectToXML(o:Object): XMLThis can go in a UTIL class somewhere.nother thing i would like to do is create a "createDirectory" via php. public static function createDirectory(name:string, path:String): voidThe problem is, in order to get the response from the server, i need to listen for the load to complete (or fail).So am i right to think that static methods are not possible or desirable here? How else can i solve the problem of reusing such a method throughout an application?
i'm using Sephiroth XMLObject to parse Xml and it works nice (handling actions inside the Xml Onload event), but i would like to cut shorter coding writing a class calling Xml and XMLObject, it's possible?. This is an attempt but it doesn't work, or better, Xml file is parsed correctly but is not available.
This is the class:
Code: import mx.utils.Delegate; import XMLObject; class XMLLoader { private var xmlFileName:String;
I have a class just full of random STATIC functions and vars that I use often on alot of other classes. things like the classic randRange(min, max) function. . just silly things i dont want cluttering my code My question is does importing this class into other classes increase the memory used by instances of the class. Cause i may import this class of 30 objects and only use 2 of them. I'm thinking it doesn't. But i could be wrong as I haven't found much material on flash memory usage other than garbage collector stuff.
i've read a tutorial about passing variables to HTML. But this tutorial isnt clear for me.. [URL] EXAMPLE 1 Using Query String to Maximize Code Reuse I really dont have an idea what to do inside flash, bec the author only said: Quote: Assuming the image filename is image1.jpg, located at a folder named images. And assuming that the Flash movie will use a variable named imageFilename to refer to the file, then we can do this
How do I do that? Like having a empty movie clip and giving an instance name of imageFilename?
In my adobe flex interface window there is two graph at a time .Is it possible to add maximizing & minimizing functionality to these graph so that one can view both graph at a time and if required minimize one ,which leads the other graph to occupy the minimized graphs place.and vice versa. it?