ActionScript 2.0 :: Drag, Minimize, Maximize ,Close?
Jun 24, 2004
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
View 2 Replies
Similar Posts:
Aug 20, 2010
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()
View 3 Replies
Mar 31, 2011
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?
View 1 Replies
Feb 5, 2012
have exec a fscommand with customized dimensions, but I would hide the resize, maximize, minimize button how can I do this
View 1 Replies
Aug 20, 2010
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. Any working code for websites.
here is my html code: <
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[code].....
View 1 Replies
Mar 2, 2005
how you launch a popupwindow so that it goes fullscreen and only has the close minimize and restore functions left in the right corner. (if no way in flash javascript will do too)
View 3 Replies
Feb 1, 2010
Has any one experienced a crash when using "test movie" in Flash CS4 on Windows 7?For me, it started when I began working on an Actionscript 2.0 project. It happens every time I test a movie, then minimize the window.I have tried re-installing Flash, but the problem still remains. The weird thing is, it waits until I minimize the window. No other time.
Test movie --> Close it --> Minimize Flash --> Wait a second or two --> Crash
View 5 Replies
Apr 7, 2011
I have an HD video that I shot of curtains or drapes opening and closing. I would like to make something in Flash where someone could click one side of the curtain and pull it open. When they release the mouse it should close back. In the video both sides open at the same time so I'm not sure if I can make the sides independent or not. If I can do this I may also want to make a version where the curtain stays where they released it.After I make a web version I am going to try to turn it into an app for a smart phone. The online use with a mouse is way more important at this time.
View 6 Replies
Jul 27, 2009
i want to close browser by clicking on close button embedded swf. I have tried fscommand("quit"), but which is not working on browser.
View 9 Replies
May 24, 2010
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.
View 2 Replies
Sep 1, 2008
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?
View 6 Replies
Dec 14, 2010
I'm trying to figure out what I'm doing wrong but I'm stuck!
In my Flash code, I added a section to react on Resize, It looks like that:
[Code]...
View 1 Replies
Jan 24, 2009
I have tried to do something with fscommand, but I haven't succeed .
Code:
fscommand("fullscreen", "false");
fscommand("allowscale", "false");
How do you disable this button?
View 7 Replies
Nov 29, 2010
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.
View 3 Replies
Jun 9, 2011
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.
View 3 Replies
Aug 16, 2010
I have a presentation built in Flash using AS3 and would like the projector to launch NOT in fullscreen, but as a maximized window.
View 2 Replies
Feb 19, 2009
I'm trying to minimize the size of my SWF, but I can't find the tools that I need. HI need a tool that will take my SWF (or .as files would work as well, I suppose) and deconstruct it, analyzing how many bytes each class contributed to the final SWF file size. I would like this analysis to occur for both 'built-in' Flash classes ('flash.util.*', etc), as well as my own hand-written classes. (Other languages, such as C, Java, OpenLaszlo, etc, provide this functionality in a straightforward manner, but I'm stumped with AS3). (Note that I'm compiling with CS3, but Flex SDK solutions are also welcome)
Armed with this information, I'll be able to identify which classes are contributing the most to file size, and optimize them as necessary. For example, Flash's Button class is a bit bloated for simple applications - this tool would help me realize the inordinate number of bytes the Button class is contributing and re-write a simpler Button class for my needs (which inadvertently, I've already done ).
View 2 Replies
Mar 22, 2009
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).
View 1 Replies
Dec 19, 2009
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?
View 7 Replies
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?
View 3 Replies
May 19, 2011
i'm trying to automate a video to maximize the window when loaded.
View 2 Replies
Jan 30, 2009
I was wondering is there such thing as Listener which listens for maximize button press?
View 2 Replies
Aug 20, 2003
I've been trying to get a bit of control over the "getURL" action. I want the window that pops up to be a particular size, centered and have the maximize button accessible (it always seems to be greyed-out).
heres the code I've been using:
on (release) {
getURL("javascript:openNewWindow('http://www.google.com','thewin','height=600,width=400,max imize=yes,toolbar=no,sc
[Code].....
I've tried a few of the components that are supposed to make this easy but, I haven't found one that works properly yet.
View 2 Replies
Dec 19, 2009
[URL]Using Query String to Maximize Code Reuse 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?
View 1 Replies
Jun 23, 2010
Is it possible to limit number of 'imports' in AS3 code by defining them in parent class or in any other way?
View 2 Replies
Feb 21, 2011
I am having an issue with a playbook app I am working on. This is the first one i've done using Flex Burrito Hero, and on the simulator I noticed that the app fails to minimize gracefully (when multi-tasking etc). Are there any resources for handling minimization or anything that could help guide me to debug whats going on with that?
View 1 Replies
Jan 22, 2010
I'm having a little problem with my resize event... I created a component myself, and this component, at each resize event, runs a complex method. Here is the problem: When I maximize or restore my window, this event is called several times in a real short period of time, not letting enough time to my method to run completely before another one starts... I'd like to know if there is anyway of only run this method in the end of each resize movement.
View 4 Replies
Feb 11, 2010
I've made a video player based on the flvplayback component. I didn't get the player to fit the screen when i turned of fullscreenTakeover so i turned it on again.
But i at least want the user to be able to double click their out of fullscreen mode. I have tried adding a mouseEvent to both the player and the stage but i don't get it to work. Is there a way to do this?
View 2 Replies
Jan 3, 2011
I am creating a media player that is supposed to run in the background and thus not obscure any other applications that the user runs.The playe is essentially a lot of AS3 with a minimum of graphics � just enough to set volume and toggle some parameters.uestion:How can I make my graphics so that it can be minimized and only appear on the tastbar?As it is now it can be maximized to cover the full screen and made small so tha it shrivels up down in the left corner of the screen.
View 2 Replies
Aug 1, 2011
I have created a button with this function to minimize my application window, in AS3 for an AIR app:
function mbtn(e:MouseEvent):void
{
stage.nativeWindow.minimize();
}
On the stage, I have an empty movieclip which loads an AS class file. It works fine and shows up where I have put the empty movieclip which acts as a holder. But, if I hit the button that minimizes the window, and then open my application again the content of my AS class move some pixels below and go off stage.
View 1 Replies