ActionScript 2.0 :: CreatEmptyMovieClip Within A Popup [FMX]
Oct 3, 2005
I wanted to update this because I discovered my problem has nothing to do with the popup window I have the Flash file contained in, but in fact the problem seems to stem from any sort of HTML container. As before, I am using createEmptyMovieClip to load external SWFs into another MC placed in my timeline. Everything works fine when I test out the movie, or even if I export it and load the SWF directly into a browser. But if I embed it within an HTML page of any kind (popup or otherwise), the external SWFs no longer load within the MC.
Here's the code i am using:
first frame:
createEmptyMovieClip("container", 2);
loadMovie("movie1.swf", "container");
container._x = 170 ;
[Code]....
View 4 Replies
Similar Posts:
Oct 7, 2009
I'm trying to display thumbnails with a for loop but i would like that each thumbnail have an onrelease action.
here is my scriptnote: i use trace() for look if my loop works aswith the onrelease function)
HTML Code:
var posX = 163;//1st position
var posY = 103;//1st position
var Dec = 0;// var for the space between thumbnails set to 0
[Code].,...
View 3 Replies
Mar 4, 2011
If you create a popup via:[code]It will create a popup and bring it on top of any other visual piece. I have one problem though. This 'popup' needs to stay up even when the user interacts with the background.I would use modal, but I need the ability to interact with the back. Any way to tell the popup manager not to remove the popup when the user clicks off of it?
View 1 Replies
Jul 6, 2004
i'm using the centered pop up window script from: [URL]. i have multiple buttons in my flash movie which open screenshot html pages in external browser windows. the script works fine except when a popup window stays open. the rest of the buttons don't open/replace past that one popup. i tried changing the window name in the onRelease script to screen1, screen2, etc for each button, but that didn't work.
View 1 Replies
Dec 12, 2011
I need to close the popup(adobe flex), non modal window if I click on the parent page of the popup. I have to do the out of focus check and then do some validation before close the popup. So what I was thinking that is there any inbuilt focus check event or do we need to create custom event for that?
View 1 Replies
Dec 7, 2010
I have a web application which contains a data grid. Double clicking on any row of that grid will open a popup (lets call it popup1). Now this popup1 again opens a new popup(lets call it popup2). When I close the popup2, I need pass an Object to popup1. Which is the easiest way to do that?
(PS: While opening popup2 from popup1, I am adding an event listener on Close event of popup2)
View 3 Replies
Jul 7, 2011
I have a parsley popup that can create another popup.The issue comes when I close the root popup, when I open the popup again and click on the child popup, it's actually opening 2 child popups.Any idea why this thing happen?
<parsley:PopUp open="{presenter.scenarioCreatePopup}" modal="true" center="true" reuse="false" id="hem" >
<views:ScenarioView width="100%" height="100%" id="scenarioView"/>
[code].....
View 1 Replies
Dec 22, 2009
I have pages in a training module that I need to include a link to open a swf file as a separate popup window. The main SWF files are located in:[code]While the file I need to pop-up is located at:..Courseglossaryglossary.swf.I have a number of other folders similar to the one above that will use the same code to open the glossary file. Right now, I use AS2. I can also display the swf inside a htm if needed, but would have to define the size of that window.
View 1 Replies
Mar 10, 2012
I have a pop up box on a button which does open and close but I would like to add an X to the corner which would also close the box.
View 2 Replies
Mar 13, 2009
I posted about this a few weeks ago but it's still unresolved....I'm about ready to cry or go postal or both. I would love any input you might have. Another Flashkit member said he thought it might be line 23 of the html code, but I can't identify what's wrong with it. I will seriously send you a bar of fine chocolate I have created a multimedia site that pops up swf photo galleries. Trouble is.....the swf's are not loading in the popup windows. Here is an example:[URL] The link that opens the gallery is halfway down on the right.
It works perfectly on my local machine, and you can navigate directly to the swf ([URL]) so I'm thinking it's something in the html code of either the gallery "popper" or the "poppee." This is a recent development--until sometime this year it worked just fine. Not sure if some web standard changed or what?
View 3 Replies
Jan 25, 2010
I used Flash a wee bit several years ago, but now with AS3 I'm a bit out of my depths... Anyway I have this template I'm adapting, and at the moment it is a thumbnail gallery that loads via an external xml file, and the fullsize image it loads is a link to an html file. The only thing is that it loads the html file in a new window and I want it to load in a popup window. I have figured out how to make a regular popup window using AS3 but that doesnt help me for this case as the actionscript is a bit more complex and going via the xml.... I have honestly spent a good 8 hours scouring the net for tutorials and nothing tells me exactky what I need to know to adapt my particular code.
Here is the code in my actionscript that seems to be calling up the html link part of the xml file:
function pic_click(e:MouseEvent):void
{
navigateToURL( new URLRequest( flashmo_tn_list[current_no].url ),
flashmo_tn_list[current_no].target );
}
[Code].....
My question is, is there a way to alter this code so that all the files in the xml will open as popups?
View 3 Replies
Sep 26, 2011
URL...when you click on a picture on the home page, a bigger image shows on, when u scroll over it a black box slides out from the side. how do i prevent that from sliding when you scroll over the picture?I am using a pre-made template.
View 8 Replies
Nov 19, 2008
I have a map with regions. When you mouse over a region, I want a popup to appear, and when you mouse out, I want it to disappear. I have classes for Region and Popup, but for the life of me, I can't get that popup to appear! The actual map is on the stage, and it does light up when you mouse over a region. However, the popup never appears.
View 12 Replies
Jul 1, 2009
How can I create a new window such as the one that opens here when i click the "insert link" above, with fade out and one that looks as if it's in the same window ?
View 1 Replies
Nov 9, 2009
I have a popup that displays over another button. Most part of the popup is covering that (big) button. When I hover the mouse over the popup. the button still acts. I've changed the popup to a button as well, but the result is still that the mouse becomes a hand, which I don't want. Is there a better way to solve this? If not, how can I disable the hand?
View 4 Replies
Jan 21, 2010
I need to have an .swf running for a game. Within this .swf there will be a "Help" button, which, when clicked, needs to create a new popup window from a different .swf file. The second .swf file must appear in a new window, in a separate popup, and not replace anything in the first .swf window.I want to know how to do this in ActionScript 3.0. I don't need help with the button click event, how to make the popup appear.
View 1 Replies
May 24, 2011
When I load an internal popup window, I would like for the rest of the movie to be disabled. How might this be accomplished?
View 1 Replies
Nov 7, 2007
I'm playing an flv file inside flash player (swf). I want to open a pop-up window if user clicks the movie. I'm calling a js window.open function from the flash file (by onRelease event), but the bloody IE pop-up blocker blocks my pop-up. What can I do in order to pass this pop-up blocker?
View 3 Replies
Dec 9, 2009
I have a gallery that calls the images from xml that loads into my place holder witch it attaches the url for the images to open in another window. Now, I will like only one image to open a new popup window, how can I activate that using xml and possibly a bit of as2? here is what I got: javascript to open new window:
Code:
on (release) {
getURL [code]......
View 2 Replies
Jan 26, 2010
I'm trying to get a pop up to appear on my screen using the pop up manager. The code compiles and runs, but nothing appears on screen when it should.Heres my code :-
ActionScript Code:
panel = new Panel();
panel.title = "Locked Content";
[code]....
View 5 Replies
Mar 15, 2003
I'm currently developping a (free) Flash application that could be distributed has a swf. This application will be launched by clicking on the swf file itself, so no html will be used to load the swf, see? Okay, here is my question. Is it possible to launch a swf on a stand-alone window (from another swf) and pass variables to it, like it is possible to do from a swf to another one in different frames in a website?
View 1 Replies
Aug 29, 2006
I have a button that when the user presses i want it to open another window, without toolbars etc. just the basic close, minimize ... controls. In this window I want to have another .swf displaying and i want the window size to equal the actual size of the .swf inside it.
View 2 Replies
Jul 2, 2010
I'm creating an all Flash site and want to have a SWF file play at the click of a button. If possible, I would like this SWF file, containing text and images, to play in a custom popup window.
View 2 Replies
Jul 19, 2009
I have a flash website, and I want to put in a button that when onrelease is triggered will popup a window that I can play another movie in, I have the movie both as an .flv file and I have also converted it to a .swf movie as a seperate little movie, I could also convert it to another format if its easier, The movie size is only 320x240 in dimension.
View 1 Replies
Jul 23, 2009
I am trying to get a swf to open a new window as soon as the swf is loaded by the html. I understand this is really easy but I have been flicking through several tutorials and it just doesnt seem to be working.
View 5 Replies
Aug 26, 2009
I'll have an swf that I'd like to open up as a popup from an html link. I've been searching the forum, but most similar questions are to go from flash to html.
get a flash popup from an html link?
View 3 Replies
Jan 5, 2010
All the info I see on the net is for 3.0. I have a file that uses 2.0 and I need to try to get a popup window to work. The point is so that I can have a window come up at specific dimension when clicking on a button. This is some 3.0 script I got from the net.
[Code]....
View 7 Replies
Aug 5, 2011
how can I make a windows popup when I put my mouse cursor over a item? The popup should display the item name and it's characteristics. When the cursor rolls out fo the item, the popup windows disappears.
Is there a function in as 3.0 that does this?
View 1 Replies
Jan 12, 2012
Is there any reason why a scrollbar would not show up in a popup window? THe popup window is a dreamweaver document.URL...If you click on the "Interior" button, and then click on any of the balusters a popup window will appear with 4 images. This popup window has no scrollbar?? It should, and I didn't do anything to tell it to "not show a scrollbar".The scrollbar shows up on my Mac, but does not show up on my friends Mac, nor does it show up on my PC?Also, I have been doing a few tests on this page on the first few balusters (trying to get around the scrollbar issue), so maybe pick the 5th baluster, rather than the first one? Or pick one of the last balusters.
View 2 Replies
Dec 11, 2008
[code]i use the code above to use webcam in my website first time the webcam setting panel will show up asking user to allow or deny the webcam access.if they choose deny but later they change their mind and want to allow the webcam access how to show the webcam allow & deny setting panel again(beside right click and select "settings..." in the menu)I was trying to setup a button and click for calling back the setting panel but failed.
View 2 Replies