ActionScript 2.0 :: Pop Up Window Doesn't Work?
Aug 21, 2004
I used the pop-up tutorial here on kirupa, and heres what I got: in the as layer i have :
[Code]...
But when I view it online th pop up doesn't work, it does when I view it in my folders, and in opera the pop-up works, but it still have scrollbar and it is lot of white space in top so it get weird
View 1 Replies
Similar Posts:
Aug 21, 2004
I used the pop-up tutorial here on kirupa, and heres what I got: in the as layer i have :
[Code]....
But when I view it online th pop up doesn't work, it does when I view it in my folders, and in opera the pop-up works, but it still have scrollbar and it is lot of white space in top so it get weird.
[URL]
View 2 Replies
Oct 29, 2010
In this code I'm creating a new window when I click the button. In the new window are TextInput and DropDownList components. When the new window opens, clicking the DropDownList does nothing - you have to click it a second time round to get it to open. However, click into the TextInput field first and then try opening the DropDownList works no problem.
Below is the code, or download the FXP file here.
// DropDownTest.mxml (application)
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[code]....
View 1 Replies
Aug 26, 2009
I'm trying to have my buttons open in the current window but it doesn't seem to work. Here is my code:
[Code]...
View 5 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
Feb 22, 2005
I've tried the chromeless script from chromeless.org but it doesn't work in windows XP SP1 and SP2. I need a pop up full screen window as I've designed the whole site with the full screen in mind and if I can't get a pop up, I got to redo everything!! I redid it twice and I'm not going to try the third!! OMG!! Anyone has alternative solutions for this? Or anyone has another version of the chromeless script that works with SP1 and SP2?
View 1 Replies
Dec 7, 2010
I have a simple website and I am going from one page(flash file) to another page(different flash file) using the following code.
var myLink:URLRequest;
function openPage(event:MouseEvent) {
switch (event.currentTarget) {[code]....
This works fine, but I want to be able to use "_self" so I open the new page in the same window yet it doesn't seem to work.
View 4 Replies
Oct 16, 2009
I decided to try to use setInterval for myanimation, which is just a mouse trail.However, I'm trying to get teh mouse trail to be a dynamic mask.In my previous swf this was achieved by using a holder mc with the animation inside and then using this as the mask. But this time I just canpt seem to hit on the right way to get it to work. The code I am using for the mouse trail is:
Code:
var i:Number = 0;
var myInt:Number;
var t:MovieClip;[code].....
in the function, but now the trail doesn't resize and the mask still doesn't work.
View 1 Replies
Apr 21, 2010
I have a button object that I need to scale to align with the variable width of an array of images.However, when I set the width in code, the button does not actually become that width. Tracing out the width gives me the correct value, but on screen.. it's off.
I've proved it to myself by scaling the same button object manually in the properties pane and visually comparing. Both of the buttons below have a width of 410.
Code:
navigatorDown_btn.width = 410;
navigatorDown_btn.x = (stage.stageWidth/2)-(navigatorDown_btn.width/2);
trace(navigatorDown_btn.width); // output: 410
View 4 Replies
Sep 20, 2011
I have a really strange problem with calling window facebook login from Flash. On my private server facebook api works like a charm, but in my company, where we use very advanced application in flash and windows server the facebook login doesn't work..
I setup the HTML file correctly, I initialized Facebook.init(.. ..) and I call Facebook.login(.. ..) after clicking a button, but nothing happens, totally nothing, zero reaction.. Because Flash right now doesn't give me any errors...
I have checked the connections, and this is my [URL] and it is connecting very well and I can see in debugging proxy that there are connections in facebook. BUT, at my work in [URL] nothing happens, no responses, and connection in flash is the same like in my labs....
View 1 Replies
Jul 20, 2009
I have a big image (1600x1200) Which obviously doesn't fit in the window. How can i have it so when i hover the mouse the image moves. Basically a Yugop scrolling effect but in all directions
View 3 Replies
Sep 14, 2009
how could I make a bar top or bottom which doesn't move when window resizes like that [url]
View 3 Replies
Jan 25, 2010
I have this script on an invisible button on a banner ad, but the client doesn't want the linked page to open in a new window, but rather load over the page in same window. How can I change the script to accomplish this,
link_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("http://www.sdesignsstore.com/store.html"));
[code]........
View 3 Replies
Feb 1, 2010
I have a Flex application that builds and runs from Eclipse without any problems. I've created an Ant build based on the sample provided by Adobe and builds the application and packages it up into an AIR application. No errors occur during the build process and an AIR file is created.The problem is that when I install the AIR application and run it, there is no UI at all. The process is running because I can see it in Task Manager but I can't see the app window. I've commented out all of my initial code so just the first window should appear but still nothing.
View 1 Replies
Jul 23, 2009
I have a swf that is pretty complicated, you can interact with the page and go to different keyframes and it stops and/or starts depending on buttons, but I want to put it in a fla or something so I can put other swfs next to it and build it up and put several of them together as one.
I don't care about making it too complicated, I just want one interactive swf to go to the next compiled swf when that movie ends, but when I try importing it or loading it it just runs straight through without stopping or paying any attention to the scripting.
View 16 Replies
Apr 8, 2010
I am trying to more between frames using the data returned from a node n_EventID in an xml, when the node returns "1408" I want to move to frame 1 but if it returns anything else I want to move to frame 2. The part where the code moves to frame 2 seems to work perfectly but I can't seem to move to frame 1 when "1408" is returned.
xmlResultFinish = new XML();
xmlResultFinish.ignoreWhite = true
xmlResultFinish.onLoad = loadXmlResultFinish;
[code]....
View 5 Replies
Apr 14, 2010
I'm having a problem, where random IE's are not able to display my .swf file. All the IE's are IE8 with the latest flash pluggins and all security's are set at Medium, however some IE's get just a grey box and other's get the full flash file. What's going on? It works fine in Safari and Firefox of course, but why so much difficulty with AS3 Flash9 in IE? here is a link to the site, and it's the big image changer at the bottom of the front page.
[URL]
View 2 Replies
Nov 19, 2009
But my proublem is that I have a flash presentation.The defalt for moving the slide screens back and forth are left and right arrows.It works fine when tested or even the .swf fileBut then the left and right buttons don't respond when I go to fullscreen.
View 5 Replies
Dec 10, 2009
Is it common for AS3 apps to not work in IE? Is there a way to make them work? I have a movie clip in my library linked to a custom class Main and I have nothing on stage. Just one frame. Everything is built inside that movie clip. I add that movie clip to stage through a document class and everything works perfectly in Firefox and Chrome but when I open it in IE, it's just a blank page.
View 6 Replies
Apr 12, 2007
i followed the instructions oh how to make a centered pop up window here :i'm using a mac..nd it works in Safari... but when i try to use explore to open it, the pop up window doesn't come up...why is that.......? did i do something wrong?here is my website:and please click on 'message' to see for yourself.
View 5 Replies
Jan 9, 2004
i followed the instructions oh how to make a centered pop up window here : [URL]
i'm using a mac... and it works in Safari... but when i try to use explore to open it, the pop up window doesn't come up..
here is my website: [URL] and please click on 'message' to see for yourself.
View 6 Replies
Jan 15, 2009
this is what i have on the maintimeline:[code]I have 4 moveiclips called: redhex, bluehex, greenhex, and yellowhex.what the above code should do is make a 15x15 grid of hexes (yes i wanted all 4 hex mc's overlapping each other at each space on the grid.).Before i added the lines to dupllicate the blue, green, and yellow hexes also... the redhex movieclip duplicated exactly as it should.But after adding the lines to duplicate the blue, green, and yellow hexes also, in the same locations... Nothing at all showed up when i tested the movie (not even the redhex's)
View 4 Replies
Apr 12, 2009
In the actions of a movie clip,I want to use something like:
PHP Code:
if(Key.isDown(W)){
//do stuff
}
But,it does not take anything else than LEFT,RIGHT and some others.I even tried ASCII:
PHP Code:
if(Key.isDown(100))
{}
It doesn't work.Then how do we use keys like W,A,S,D?
View 1 Replies
Sep 18, 2009
I've made a rounded rectangle with a gradient fill and another rounded rectangle over it with a transparency to create kind of a glossy effect. Both objects are part of a symbol in the library of the FLA file. Then, I activated the checkbox to create a scale-9 grid, and the Export for Actionscript checkbox in order to add this symbol from AS3. Next I made sure that every rounded corner was completely included in the slices on the edges of the grid. Well, no matter what, the object is scaled as a normal graph: the rounded corners appear bigger and deformed.
View 4 Replies
Mar 12, 2010
this is what i have on the maintimeline:
Code:
initialize();
function initialize() {
for (i=1, r=0; r<15; r++, i++) {
for (c=0; c<8; c++) {
[code]...
I have 4 moveiclips called: redhex, bluehex, greenhex, and yellowhex.what the above code should do is make a 15x15 grid of hexes (yes i wanted all 4 hex mc's overlapping each other at each space on the grid.).Before i added the lines to dupllicate the blue, green, and yellow hexes also... the redhex movieclip duplicated exactly as it should.But after adding the lines to duplicate the blue, green, and yellow hexes also, in the same locations... Nothing at all showed up when i tested the movie (not even the redhex's)
View 8 Replies
Oct 26, 2010
I'm in a big distress, I'm using AS2 with CS3 (Flash 9.0 on OSX Snow Leopard) and I can't get the querystring. I don't understand it has always worked before with my previous version of Flash. I'm using this AS code: t_txt.text += _root.age; I have a dynamic text linked to t_txt. For the HTML I simply published using Flash, then I changed in the html file like this:
<param name="movie" value="age.swf?age=56" />
And
<embed src="age.swf?age=56" quality="high" etc >
When I set to use AS1 it just works fine. But I can't use AS1 all my projects are with AS2. So what's wrong?
View 3 Replies
Apr 2, 2011
flash cs5 wont follow s3's redirects, instead it makes an ioerror with http status code 303 which is not an error code, its a redirect code. It doesn't hit the redirect page at all. If i was to save this file as a cs4 doc and run it in cs5, same issue. If if was to open and run it in cs4, it works fine, no error, redirect gets hit.Exactly the same file works in cs4 but not in cs5.
View 1 Replies
Jun 2, 2011
on my website I have a contact form where you should be able to type into an input text box. For some reason, my website won't allow me to click and edit the input text box. Could the problem be that it is within a movieclip?
View 21 Replies
Aug 30, 2011
I've only been working with flash for about 3 weeks and I'm fairly new to programming soI'm using Flash CS5 with AS3 btw.
Code:
///////////////////////////
// Custom Mouse Controls
[code]....
View 2 Replies
Apr 22, 2009
So here's my code:
mcbutton.onPress = function() [code]....When I click on button it goes to _down frame but it shifts back to 1st frame. It doesn't really stop there. How can I make it work?
View 3 Replies