ActionScript 2.0 :: Borderless Window Button Actions?
Aug 28, 2002
the button doesn't open the borderless window.in the button actions, i write this :
on (release)
{
getURL("javascript:openIT('index.html',550,400,nul l,null,'mywinname01');");
[code].....
View 1 Replies
Similar Posts:
Aug 21, 2002
Ive been following the tutorial on how to create a borderless window, but i just cant get it to work. Ive pasted the
javascript:openIT('page.html',450,250,null,null,'m ywinname01');
code into the Url space i the get URL action i have applied to flash button which links to the page that i want to open in the borderless window.Ive also pasted the long Javascript codeinto the html page which i want to be borderless (I pasted this in between the <head> and </head> part of the html).I downloaded the chromless.js file, and renamed the cU, cO, cS parts of the code to match the file names of the images i wanted these to be.I cant see what it is ive done wrong. Everytime i click the button to link to the page, i get an error message.
View 1 Replies
May 10, 2010
Is there a way to open a html page in a borderless popup window using AS3. I've found info using AS2 with the "getURL" but nothing with the "new URLRequest" This is an example of what I'm looking to do: [URL]
View 2 Replies
Mar 7, 2002
I've tried to use it. It works fine in all the browsers in a non frame layout. But when aplying it to a frame layout (i know, not cool but nessecairy) it refuses to work, and it generates an error message. That it can't open the requested HTML page.
View 1 Replies
Mar 2, 2002
i attempted to add some code to call up another pop-up while my flash loads. since then my problem is this: both pages are called up correctly except that they come up full screen. this never happened before. i have specified the W and H variables in my flash script as 400 x 415, which worked fine before. the only thing i changed was adding the extra code at the start of my flash anim, and the pop up title.
View 7 Replies
Jul 1, 2009
I have created a button in Flash CS3, made an instance of the button on the stage, and trying to put some action to it (using ActionScript 1.0 & 2.0). I click on my instance, open the "actions" window but I cannot get the "actions-button" window to add the script. i only get the "actions-frame" window that will not work for my button to link to another page.
View 3 Replies
May 4, 2011
I'm using flash 8, I'm tired of having one monitor share the timeline, stage, actions and properties window. I'd like to detach my actions window and place it on my other monitor. Is this possible?
View 2 Replies
Jan 26, 2011
When I try to open the actions window via F9 (yes on a timeframe with existing code), the timeline colapses, but no actions window. I have to double click on the header of the timeline at the very bottom of the screen to bring it back. When I try F9 again (or even Window-Actions from the top menu), the timeline vanishes again, but no actions window comes up.
View 2 Replies
Sep 2, 2009
When I open my actions window, it is automatically sized too far lengthwise. With this being said, I cannot read the last 10-15 lines of my coding. I cannot reach the corner resizing tab since it is at the bottom of the window (window resizing does not work on the top corners) which extends past the bottom of my screen. Does anybody know how I can fix it so that I can resize this window to fit on my screen properly?
View 1 Replies
Jan 4, 2010
When I'm coding action script in the Actions window of Flash, in line breaks, the paragraph symbol is present, and there are dots in all the spaces, etc., etc.
I accidentally turned this on, and don't know how to turn it off.
It's like the paragraph symbol button in Microsoft Word.
View 3 Replies
Aug 19, 2009
I know this might be a dumb question.. I somehow switched on paragraph signs () in the actions-window and they appear after every line break. I can't figure out how to make them disappear again.
View 1 Replies
Apr 11, 2011
Autorun borderless flash application from cd?I was wondering if anyone knew a way to do this without 3rd party software? I searched google but the only thing's out there dated back to 2005 and there were very little solutions.
View 1 Replies
Oct 11, 2010
In my main movie, users can launch "applications" which are created using loadClip into an empty movie clip.The result is fine but it has a title bar which I would rather not have. Is there a way to remove it?
View 3 Replies
Jun 12, 2009
i would like that my window opens and closes (opens: scale out; closes: scale in) not by clicking on the button but on the window itself.here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
Grtz,Jan the man
here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
schuifwindow www.truevision.be/other/btn_home.flascroll www.truevision.be/other/scroll.flafotoalbum www.truevision.be/other/foto_album.fla only picture one (left up corner) has a X button (i dont want to use this button)
View 5 Replies
Apr 3, 2004
is there someone who know's how to give the actions to a button on top of another button. If I try to do this, the button on top doesn't reacts.
View 10 Replies
Aug 17, 2010
I got this early version of a sliding menu. See file "scrolling.fla". Its got four images that slides into place when you click on the small colored buttons. The thing is I want the movie to quit/shut down when I press the red button, AFTER the red image has moved back in place.The code for the red button is:
on (press) {
_root.xnew = _root.mask2._x+(-2-1)*458.5/2;
}
I added the following:
on (rollOut) {
_root.unloadMovie();
}
It works in a sense but I dont want to use "on (rollOut)", because you might shut down the slideshow involuntary moving the cursor on your way to the other buttons. So the question is, yet again, how to quit the movie after the red image is back in place?
View 6 Replies
Oct 30, 2011
is it possible to add multiple actions to the same button.e.g.on stage theres only one button, on first click it should make mc1 visible , on second click it should make mc2 visible and so on.
View 3 Replies
Sep 10, 2008
I`ve made a movie that has one button , now when I click on button this code will execute exactly :
Code:
b1.onPress = function() {
loadMovie("textarea-load.swf",555);
};
I need add another code to hide textarea-load.swf from my movie and this action should occur when I press same button once again . Note : I don`t have any movie with "555" instance name but it helps me to run my movie
View 7 Replies
Aug 24, 2010
I got four buttons that pull up images in a slide show. I want the fourth button to first pull the image in place and THEN shut down the movie clip. I thought this would be easy, but no. Unfortunately I canīt attach the fla-file on this forum. You could take a look at this:
on (press) {
_root.xnew = _root.mask2._x+(-2-1)*458.5/2;
}
Thatīs the code for the last/fourth button, it pulls the fourth image in place. So thatīs in order.I added this below in the same script:
on (rollOut) {
_root.unloadMovie();
}
It works in a sense. The movie falls into place when I click the button and the movie quits when I move the cursor. But it also means you might shut down the slide show involuntary when you move the cursor going for any of the other buttons.
View 3 Replies
Oct 3, 2011
I have made a simple menu with a 'slider' using this tutorial. What I am wondering is if it's possible to have different actions for one button. Here is my first menu button:
Code:
on (rollOver) {
// slider - Movie Clip's Instance Name. button_1 - Button's Instance Name.
[code].....
View 4 Replies
Apr 3, 2004
How can I make a mc witch I us as a button fuctional for two actions.I mean when I press the button that a clib fades out and when I press again it fades in again I tried it with an if but the it only works one time.This is the script
Code:
but.onRelease = function(){
if (mc._alpha <= 1){
[code].....
View 3 Replies
Nov 21, 2009
I used a tutorial to attempt to set up my code so that after a button is released and an external .swf is loaded the same button can't be activated again (on release or on rollover) until a different button is released.
Here is an example of my actionscript. What I'm trying to do here is just have the button not replay the mc in the over state if it's movie clip is already loaded in[code]...
View 1 Replies
Dec 3, 2009
I have a symbol that is movieclip (symbol name switch) which has got a switch on/off image inside it, if u click it, the 'switch on' image comes (frame 5) and when u click again the 'switch off' image comes (frame 1) Nw i want the symbol such that when i press it not only does the 'switch on' image come, but also change the image of another movieclip (symbol name 0bit) which is in the root timeline and not inside "switch" symbol
PS: Am using Flash CS4
View 7 Replies
Mar 3, 2010
This is killing me, real simple. I have an mc that has 12 buttons on 12 layersall btns have alpha tweens for 10 frames so the appear like thisbtn 1 alpha fr 1 to 10btn2 alpha fr10 to 20btn3 alpha fr20 to 30 and so on.
at the end of the clip there is a stop.
[Code]....
View 1 Replies
Apr 29, 2011
I have buttons, I can't assigned them simple actions such as GetUrl, like I use to do in flash 8.I am now in CS3 and can't make it work.
View 1 Replies
Jul 28, 2009
I have a project where I have 80 or so invisible buttons, that when clicked, need to load a movie clip from the library into a mc on the stage, as well as cause a rollover and rollout state on a "movie clip button" that's sitting underneath the invisible button. This is in ActionScript 2.0.Here's a example of one of my button actions:
ActionScript Code:[code]....
The way it works is "invis_1_1" is the first invisible button in a group, the 1_1 refers to the button being in the first column and the first row in a grid. The "movie button" it's controlling is "col1row1" which has a "on" and "off" state. When the invisible button is clicked it loads "1_1", which is a movie clip in the library, into a holder movie clip.The dilema I'm running into is I'll need to write this code over 80 times with a slight change each time to the instance names etc. I'm sure there's a way to do this with an array but I'm still new to using arrays.
View 4 Replies
Mar 3, 2011
So I am trying to make a button in flash which when pressed, goes to frame 253, plays until it reaches 264, and then gotoAndPlay frame 527. The code that I used worked, until I added another button which does the same thing but with different frames. Both buttons are on the same page. The buttons seem to work once, then forget what it is they are supposed to do.Here is the code I used:
ActionScript Code:
on (release) {
gotoAndPlay(253);
[code]........
View 3 Replies
Jan 15, 2010
I am using an external .as file for my code. How do I add actions to a button that is not on the stage but its on another frame in the movie (one that user access later). What is the best practice to add actions to items not present at the start?
Of course I could make another copy of the button on frame 1 and add it off the stage in the invisible part. This is what I was doing till now. IS there another way to do this, a more ethical way?
View 2 Replies
Apr 3, 2004
How can I make a mc witch I us as a button fuctional for two actions.I mean when I press the button that a clib fades out and when I press again it fades in again I tried it with an if but the it only works one time.This is the script
Code:
but.onRelease = function(){
if (mc._alpha <= 1){
fadeClip (mc, 100, 4);
}else if (mc._alpha >= 99){
fadeClip (mc, 0, 4);
}}
View 3 Replies
Jul 17, 2004
How do you trigger the actions associated with a button
take for example a button called "buttonGo" that you have specific code in. When you click button b you also want buttonGo to execute its code.
View 1 Replies