Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Drag, Minimize, Maximize ,Close



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 it. Thanks in advance for any help you can provide. Thanks,Bobby bobby@bleutuna.com



KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 06-24-2004, 06:50 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Drag, Minimize, Maximize ,Close
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 it. Thanks in advance for any help you can provide.

Thanks,
Bobby

bobby@bleutuna.com

Minimize,maximize,close
how can i add minimize,maximize,close buttons to movieclip?whats the script.(im beginner )

Minimize,maximize,close
how can i add minimize,maximize,close buttons to movie clip.whats the script.

Window Drag, Minimize, And Close
I am working on this project that will show thumbnails as links and when you click on them the enlarge for viewing. The enlarged state is draggable and depending on the number open you can click to set depth. The problem I am having is the script to get it back to where it came from.

My buttons inside of my movieClips won't work (not sure why) and my close button work almost but it conflicts with my drag code a bit.

The fla included is real clean so hopefully it won't take anybody willing to take a look a great deal of time to see the problem.

Thanks for the help

Minimize-Maximize
Hello, I just posted my site, but there is one thing I'm concerned about. I'm trying to allow the user turn it from downsized wondow to a full screen window. As a quick bandaid I made two different swf files and two different html pages, the only difference between the two swfs is the button in the upper right hand corner, in code and symbols. If I can I would like to accomplish this without using 2 differnt swf files, two html files isn't a problem. The site is http://www.amphmix.com. Thanks in advance-J

p.s. On top of that, let me know what you think of my site, thanks.

How To Minimize And Maximize?
hi friends,

is there any script which allows to minimize and maximize a full screen flash player without the help of any thirdparty softwares?

any good ideas?

Minimize, Maximize Buttons
Hello,


Can any one tell me how to create minimize and maximize buttons just like windows i.e. when I click on minimize button the application window minimizes and rests on the task bar and when clicked on maximize button it will restore as full screen?


Thanks,

Trupti

MINIMIZE MAXIMIZE Buttons
i have a application which runs in fullscreen mode, i need minimize and maximize button script for that, can anyone help?!?!?!


Thanks
Sri

Any Possible Way To Minimize And Maximize Windows Through Flash?
I can't find any info on this. Maybe there is something in javascript I could use through flash or something of that sort. If so I have yet to find it. Any help would be appreciated.

Minimize | Maximize | Exit Buttons?
I would like to add these buttons to my projector, so the user can control it like a Windows window.

Any ideas how to do this?

Can you exit when a screen isnt in fullscreen mode?

Thanks - Joe

Minimize/Maximize Encoder Window
When loading Adobe Flash Media Encoder 2.5, the START encoding button appears below and mostly out of sight on the screen. Maximizing the window allows us to "click" the START encoding button. Forcing the program to run in Maximize mode by using the PROPERTIES function of the shortcut does not work. Testing the Maximize function on other shorcuts on the desktop performs correctly. Only the Adobe Flash Media Encoder 2.5 shortcut does not work. Would there be a internal profile setting that is thawarting my shortcut setting? TIA

How To Minimize/maximize A Flash Application
Hello!

Is it possible to minimize and maximize a flash application with the use of actionscript 3? Can you please write down the code for this?

Oskar

Minimize And Maximize Flash Screen (fscommand)
I have my flash movie play with a fscommand(it makes the flash run in full screen). Now I would like to add a command to a button, that minimized the screen, and when you click on the same button you can maximize it. Anyone know how i can do this?

How To Hide The Player Bar With Maximize/minimize Buttons?
how to hide the player bar with maximize/minimize buttons?

I used the fscommand("showmenu",false); , but it only worked for the options, not for those buttons. IŽll use it for a commercial CD-ROM

I think i saw a post with a similar problem and it had a solution, but cant find it!!

plz help!!

Increment Labeling To Attcahed Movieclip + Minimize/maximize
Hello,

Please see the file refer.fla attached herewith.

I am trying to attach a movieclip from the library using a button. I would like to attach many instances of the same movie clip using the same button. I have done this but my problems are:

1) how can I have a Label to the attached movieclip that changes its index no incrementally (ex: Label1,Label2,...n)?

2) how can minimize/maximize OR visible/inviciblea movieclip (content_mc) which resides in another movie clip. Will the content created in content_mc also be invisible?incase of using visible/invisible function?

Please help me with the code.
The file is attached.
Thanks.

Attaching A Movieclip And Labeling Incrementally + Minimize/maximize Problems
Dear all,

Please look at the attached refer.fla file.
I am trying to attach a movie clip from the library using a button(*).
1) How can I have the same movieclip attached using the same button(*) and chnaging the label of the movieclip incrementally.
2) How can I minimize or maximize (or visible/invisible) a movieclip within a movie clip

Please help me with the code...

Close, Minimize & Maximise Buttons...
Hi,
is there any way to add into flash movie the functionality of 'top right' (maximise&minimize&close) buttons if my flash movie is made to appear in full screen?

Minimize, Restore Down & Close Scripts.
I have made this flash interface and it's default is in full screen so how can i make those buttons so the user can close or minimize the interface if they want to.... what actionscript should i use?

Close And Minimize A Fullscreen Window
hi,

i made a entrance page with a link to a frameset wich opens fullscreen, using javascript.
The new fullscreen frameset contains basically one swf as part of one frame. I want to make two buttons in flash which either minizes the window or closes the window.
For closing the window i tried
on (release) {
getURL("javascript:window.close()");
}
but that won't work because the swf is part of a html-page within a frameset.
how can i do that?
thanks
terrender

Window Controls: Minimize, Maximumize, Close
d's anyone know the script for window controls like in the top right hand of the screen?

Making Windows Style Close And Minimize Buttons
Hi

I have delevoped a flash cd-rom application and would like to provide the user with a close button that quits the app and a minimise button that sends it to the taskbar. I know that flash player already provides these buttons but I want to include them in the app also.

Thanx Chrissie

[F8] Removing "Minimize And Maximize Button" From "Flash Projector File"
Hi All,

Please give me the solution of this problem as soon as possile.The problem is given below.

I want to remove "Maximimize and minimize button" from the title bar of Flash projector file.I have changed the "Title text" and "Icon" using Resource hacker. But I don't know how to remove controls using Resource hacker.I also tried "swf studio".But by using this "fscommand(exec)" is not working.I have used fscommand like this.


fscommand("exec","setup.exe");



I am using trial version of "swf studio" thats why ".exe" file doesn't wrk after one day.I have tried "jugglor" too,I am facing same problem with this software.

I you have any solution tell me.

Thanks.



With Regards

Sonu Singh

Minimize A Click-drag Menu
experimenting with a click drag menu for navigating a site. however this menu sometimes gets in the way of text so i was thinking of adding a minimise function so it pops to, lets say, top right of the screen, no matter where the minimise function is called.

i'm pretty new at actionscript so i can only give pseudo-code as a rough guide to what the minimise function will do.

1)onclick, note the x and y coordinates of menu (this is where i need help, how can you ask for the x-y coordinate and create variables from them?)
2)apply x and y coordinate to formula to have it "slide" into place
3)scale down respectively until about 10% of original size / replace with "restore" button

btw, i have a sample code i have been staring at for a while (i didn't write it, would it come in useful?)

onClipEvent(load){
this._x = -100;
endPosx = 850;}
onClipEvent(enterFrame){
currentPosx = this._x;
diffPosx = endPosx - currentPosx;
movex = diffposx/3.5;
this._x = this._x+movex;}

Thanks!

Attach, Drag, Close
Good morning FlashKIT!!! I seem to be stumbling all over my AS this morning, and could use a shoulder to lean on...

when using attachMovie on my main timeline, how do I, successfully, make the attached movie draggable.

Code:
window.onPress = function() {
attachMovie("dragMCID", "dragMC", 1);
}
_root.dragMC.onPress = function() {
this.startDrag();
}
_root.dragMC.onRelease = function() {
this.stopDrag();
}


once again im stumped due to what i believe is an error in my pathing. (ive tried several variations)

now, the second part to my question lies inside dragMC. ive set up a mc "close" in the right corner of dragMC - which, when pressed ...

Code:
close.onPress = function() {
_root.dragMC.removeMovieClip();
}


i can attach the movie. i can make dragMC draggable. i just cant seem to get both to work simultaneiusly. and forget the whole removeMC!
anyways... im stumped. Ive referred to existing code, books, and open source to no avail...
thanks
geoff

Attach, Drag And Close
mornin', afternoon, and evenin' 'shock baord! perhaps someone can help me figure something out. Im trying to create a MC that acts as a button to attachMovie a draggable MC on the stage. inside dragMC i have a MC 'close' that acts as a window close button. heres what im working with so far... to no avail...

//on main timeline//

Code:
window.onPress = function() {
attachMovie("dragMCID", "dragMC", 1);
}
_root.dragMC.onPress = function() {
this.startDrag();
}
_root.dragMC.onRelease = function() {
this.stopDrag();
}
//ondragMC timeline

Code:
close.onPress = function () {
this._parent.removeMovieClip();
};
thanks a ton in advance ~

geoff

How Can I Make Something Drag And Snap While Close?
how can I make something drag and snap while close?

Please...I'm making a little puzzle game and I absolutely wanna know that.

Drag .swf Close Button Not Working?
I'm loading zzz.swf into my main movie aaa.swf on level 3.
I have the usual startdrag stopdrag on a MC named "dog" within zzz.swf and it drags fine when called.

I also have a close button also within "dog" that says:
on (release) {
unloadMovieNum(_root,3);
}

I've tried:

on (release) {
unloadMovieNum(3);
}

Also:

on (release) {
unloadMovieNum(_root,level3);
}

none of these will unload zzz.swf???

Basically,
I want to load a .swf to level3 ,have it be draggable, and also have a button that unloads level3.

Thanks for your time,
B

Drag&drop With Close Window Problem
hi,

im building an image gallery. i have icons in my main .swf file, and when you click one, a larger image loads (an external swf), using loadMovie(), or loadMovieNum (i tried both). each new large image is draggable, and has a button in it that unloads it. now this is my problem:
lets say i clicked an icon, and the large image loads: if i didnt drag it, the "close window" button works well. however, once i drag the window, the button no longer works.

its truly frustrating as i have no idea what might cause this problem.

would appreciate your help,

thanx,

dor88keys/

Drag Window With Close Button - PROBLEM
Hi!
I just created a window to drag and it works perfect. But then when I do a close button for this too, I want that the next frame to still be at the right place when I close this window.
HOW TO FIX THIS PROBLEM?

Drag ,drop Window And Then A Close Button?
ok i have made a small window to drag and drop ,,it works fine .but i have a button on this window ,,so when the user drags and then drops the window ,now i want the user to be able to close it ..i can set 1 or the other (1 it drags and rops but cannot close it ?2 it doesnt drag but you can close it ...i have tried many things to get this to work ..its slowing my work progress down and i cant figure it out ?? thanks for your help on this !

Preloader Componet HELP.. Script Tweeking-- I Am Close Really Close :)
How would i write this without using createEmptyMovieClip... I have tryed just using "holder1" and "hostClip" but alas... they don't show the progress. The image loads but the preloader dosn't

Help

hostClip = _root.createEmptyMovieClip("holder1", 1);

hostClip._visible = false;
//load the external movie clip.
hostClip.loadMovie("myPic3.jpg");
//Set the Change Handler for the progress bar
MainPBar.setChangeHandler("onProgress");
//Set the target for the Progress Bar
MainPBar.setLoadTarget(hostClip);
// Function onProgress - this watches the ProgressBar and reacts as stated when the PB gets to 100%
function onProgress() {
if (MainPBar.getPercentComplete() == 100) {
play();
}
}

Creating A Close Button, To Close Flash Player
Hello everyone,

IS there any actionscript available to close the flash player???

to insert into a button???


Thanks

Maximize
Does anyone know how to maximize a flash projector .exe
i know how to make it fullscreen but i dont know how to automaticly maximize on start.

Please Help!!!!!!!!!!

Window In IE With NO MAXIMIZE?
Is it possible to have a window in IE with out a MAXIMAZE button in the upper right?

I Want A Pop Up Window That You Can't Maximize, How?
I want to have my flash movie contained in a specific window that you can't maximize.

Like http://www.intellixmedia.com

Notice that the maximize button is ghosted out? That's what I want.

How is this achieved?

Is it javascript that is on the html splashpage which launches this new window that will contain the flash?

How do I adjust what size I want, etc.

And does the specs on this window have anything to do with the fs commands of allowscale, etc.


Thanks.

Maximize Projector?
Is there a way to maximize a flash projector file on start up.
I DO NOT want it full screen, i still want to be able to see the windows start bar and clock and so on.
I need it to be maximized not full screen.

Is There a good way to do this??????

Please Help.

How Do You Maximize The Stage
Hi there, I got a dual monitor setup and I'm trying to get all the panels (including the flash window if that has to be viewable) to one monitor and only the stage on the other monitor, that means that on one monitor the monitor is completely white if the stage is at 100% and has the same resolution as the monitor.
I hope someone can be of asistance.

.exe Maximize Window
Hey.

Wonder if someone could help?
Something I thought would have been super easy is turning out to be difficult!!

I have a .exe projector file. (I am using MX 2004)
I know how to fullscreen using the fscommand, but I need the Windows bottom "start bar" to be available.
So my programme needs to be in a window.

But... when I autorun or click the .exe file. It randomly places the window on my screen.
The problem is that I want it to be maximized when run!!

Dose anyone know of any other script I could use.
Just a maximize screen = true type thing??

Cheers, werglum

Maximize Window
how do you get the window to maximize when you enter the a website?
thanx!
austin

[F8] Maximize Window
how do i make it so that when i open my flash movie file and i maximize the window it doesn't fill the window cause it makes some of the pictures a little blurry and i have a zoom in and out function on my presentation.

Maximize Issue
Hello all,

I have a Flash application of 140 .swfs. I am using a .exe projector file that calls all the other .swfs..

My issue is when the application is first started its at the document size of like 500x500 but if a user maximizes the window and then clicks a link to go to a different .swf, the new swf gets loaded but the window becomes un-maximized and gets shifted to the top left of the screen.

i want the window to stay maximized while a user is clicking around, any ideas on how to do this?

moi

Maximize Issue
Hello all,

I have a Flash application of 140 .swfs. I am using a .exe projector file that calls all the other .swfs..

My issue is when the application is first started its at the document size of like 500x500 but if a user maximizes the window and then clicks a link to go to a different .swf, the new swf gets loaded but the window becomes un-maximized and gets shifted to the top left of the screen.

i want the window to stay maximized while a user is clicking around, any ideas on how to do this?

moi

[F8] How To Maximize The Stage
hi
if there are different screen resolutions the movie is to small or to large...
how can i make the flash movie full sreen under a html file?
thank you

[F8] Problem When Maximize
When I maximize my swf. file, there is a problem as the items that are outside the screen (800x600) are been shown.
How can I fix this?
And if it's possible to have the maximize button inactive as I have seen this in some swf. files.

Maximize FS Command
Hi all.

I know the fullscreen FS command, but does anybody know if there is an FS command for "Maximize".

Thanks

Secoast

Panel Won't Maximize
Hi, I'm having trouble seeing options on my panels, particularly the Align panel. I can't see the buttons under "Match Size:" and "Space:". The "Maximize panel" option is greyed out, and I can't just drag and resize the window. How do I fix this problem? I've tried playing around with the panel sets, and even re-installed the whole thing and I still have the same problem. I'm using MX, Windows XP, on a Japanese system. I'm pretty sure I didn't have this problem before. Any help would be appreciated! Thanks.

Maximize Windows
How do I ensure all of my windows open maximized? I am using the _blank method. Is this in error?

Automatic Maximize
can anybody please tell
how to make automatic maximizing flash movie?

Automatic Maximize
can anybody please tell
how to make automatic maximizing flash movie?

Copyright © 2005-08 www.BigResource.com, All rights reserved