ActionScript 2.0 :: Drag A Loaded External Movie
Mar 14, 2006I'm having trouble dragging a window that I loaded an external movie into.The movie loaded is stuck in one spot.
View 4 RepliesI'm having trouble dragging a window that I loaded an external movie into.The movie loaded is stuck in one spot.
View 4 RepliesGreetings. I've been doing this tutorial. [URL] And worked pretty well. In order to adapt to my needs i made it a movie with a drag and drop parameter to be loaded in another movie (with loadMovie or loadMovieNum). The problem is than the movie loads, drags but doesnt drops. Even i tried with the example movie and nothing happens.
View 1 Repliesassigning a level for the external movie(reseller_locations.swf) loaded to a moivie clip(clipHolder)
code
loadMovie("reseller_locations.swf", this._parent.clipHolder);
my problem is that i need to make a reisze, cause the screen resolution for other users. My main and news movie works perfect, but the others movies re-scale everything bigger. The problem of the external loaded movie is: this movie needs the funktion:
Stage.scaleMode = "noScale";
Stage.align = "TL";
If i dont have this code inside the movie is not going to resize fullscreen into the main movie. Inside this movie im scalling photos and some mc's You can take a look what i mean under: [URL]
If you take a look to the bar where the Number of pictures (30) are you will see that the lower bar and the pictures is not going to scale to fill the full screen if i delete the this code;
Stage.scaleMode = "noScale";
Stage.align = "TL";
i want to make an presentation,, for which.. at frame i click a button on frame 9 it goes to frame 10 and plays.. like my script on frame 10 is below
[Code]....
and when i click another button to go frame 1 from the same page at 10,, placed beside the loading external swf ,, it goes,, but the loaded external swf file is not going ,, or the external file not cleaning,, not removing.
I've loaded a movie into a movie.the loaded movie is loading dynamicly some pics and text. when a movie is loaded, does everey movie got it's own _root?
View 2 RepliesI have a flash movie that has an internal movie clip, when the various buttons are pressed I want to load a movie in place of this original so I have put this script one of the buttons:
[Code]...
However, the new movie is not positioned in the correct place ie - instead of it being in the same position as the original MC the top left corner is positioned in the middle of the stage.
I am working on a portfolio website and I have all my navigation with buttons linking to other pages, on the base level. All the buttons are scattered around the stage and when one of these buttons is clicked an external movie is loaded in the centre of the page.
The movie is a big white box with a slideshow of images from my portfolio in the centre of the stage.
My problem is that the buttons on the base level are easily clicked by accident, even though you cant see them with the white box.[code]...
i have a movieclip on timeline, and then i addchild ( a container ) to load an external swf movie on it. Then i want to have a button so i can pause the loaded swf movie.
And my problem is, i can access to it, i can change the properties like the alpha, but i can just stop or pause it.
i've been search and testing many script, but i still can make it work it just a simple task right? i can do it quickly with AS2
I've loaded a movie into a movie.the loaded movie is loading dynamically some pics and text. when a movie is loaded, does everey movie got it's own _root?
View 2 RepliesI have a combobox component, when I selecet one lable its loads an external swf file, the movie loads fine after loading movie combobox menu went behind the loaded movie.[code]
View 2 RepliesScenario:
child.swf is loaded in parent.swf
I do not have .fla for child.swf (done by somebody else)
Problem:
The child.swf contains custom context menu. I need to suppress this menu and provide the menu of parent.swf even when child.swf is loaded.
after loading an external movie clip called "mv_frame" into the main flash file , i need to access a movie clip inside the loaded movie called "hit" in as2 we do that using the point (.) to navigate into movie levels , but my question is how to do that in AS3?
View 2 Repliesi loaded an external movie and its buttons dont work but when i test the movie by itself the butts work fine
View 3 RepliesOn some sites i have seen usually portfolio or gallery type sites there are thumbnails, text or some shape that you click on to view a particular image. What I'm getting at is some of the sties show visually that the clip has been loaded with change of alpha (images that are not loaded greyed out and ones that have already been loaded are in colour etc..). An example of what i'm talking about is on [URL] When you click on the menu (selection uno), it loads a particular clip, and throughout the session on the site, u can tell which ones have been loaded and have not. I know there are probably many down and dirty ways of achieving this, but i know there is usually 1 or 2 'proper' methods for doing a particular thing.
View 1 RepliesHow can I find the width of an external jpg BEFORE it's been loaded into my movie? I can easily find the width of it AFTER loading by loading it into an empty movie clip and returning the width of this AFTER the jpg has loaded using the _width command. But what I want is to find the width BEFORE loading.I have tried "trace(1.jpg._width);" but this returns undefined, obviously as 1.jpg is not an object from my library, it's an external file. Any other ideas anyone?!
View 1 RepliesIs there a way i can tell if cerain amount of frames have been loaded? what i have is actionscripted movement. i have these 2 blocks that cover the area where th emovie should be loaded. i tried
_root.container.loadMovie(section + ".swf");
_root.container.ifFrameLoaded (22)<<<<<<<i think this may be wrong
_root.b1.easeY(560,4,false);
_root.b2.easeY(560,4,false);
cuz i wanna knwo once certian frames on the external movie are loaded, to move the blocks back to a spot you cant seem them
On some sites i have seen usually portfolio or gallery type sites there are thumbnails, text or some shape that you click on to view a particular image. What I'm getting at is some of the sties show visually that the clip has been loaded with change of alpha (images that are not loaded greyed out and ones that have already been loaded are in colour etc..).
An example of what i'm talking about is onWhen you click on the menu (selection uno), it loads a particular clip, and throughout the session on the site, u can tell which ones have been loaded and have not.I know there are probably many down and dirty ways of achieving this, but i know there is usually 1 or 2 'proper' methods for doing a particular thing
[URL]
Click on one of the menu options - "corporatecommunications" or "events&entertainment"
I fixed the earlier progressBar problem, but when you click on an image thumbnail to load it, it pops up regular size for maybe 1/30th of a second before being scaled to the proper size.
Here's my code:
Code:
// set a variable to hold image name
var imageNow:String;
// scale empty movie clip that will hold the image
function iHoldSize() {
[Code].....
I have a movie clip in which I loaded an external JPG to. Well, this movie clip works as a thumbnail and, as I click in it, I want the thumb's image to be loaded ("again") in another movie clip. duplicateMovieCLip does not seem to work.I don't want to load the image twice (as it strikes me as bandwidth waste..). Does this make sense? Or must I be load the image twice? (of course..I could use smaller images for thumbnails..)
View 1 RepliesI'm creating an image gallery and looking for a simple way to preload external jpegs (with % loaded) into an empty movie clip.I'm using thumbnails- there are no "next" or previous "buttons".[code]I've been googling/ searching all day.
View 1 RepliesI want to load an external swf and dynamically attach the mc's in the loaded swf to the main movie. Is it possible to reference the linkage properties of the externally loaded swf in this way?
View 1 RepliesIm trying to do a drag and drop system where the user can drag a movie clip into an area. Although i would like to make it snap to a target instead of just sitting wherever it lands in the area. Problem Two:
The next thing i am trying to do is when the user has a movie clip on a target already, and trys to put another movie clip in that target area, it will replace the one thats in there and go back to its current position. Here is the script of what i have done so far:
[Code]...
I have some movie clips. i want to drag all clips when i drag single movie clip. Ex. I have movie clips "A1", "A2", "A3", "A4", "A5" . Randomly visible some of them. Suppose "A1", "A3", "A4" has visible. When i will drag "A1" movie clip all these "A3", "A4" also move with "A1".
View 6 Repliesi just recently started programming in flash and so far I have learned a lot, but new questions keep coming up
My problem is that I want to load an external swf in an empty movieclip and then manipulate this loaded swf from my main movie. For example tell it to go to a certain frame. Is such a thing possible?
i have load in a .swf and this .swf is make up of one drag object. When i load into my _level0, i can drag it but it seem then the drag is not smooth, instead it is lagging. Thus i went back to the indiviual files and try to drag on it and it was not lagging. ...why is it like that? All the files are still on my local disk.
View 4 RepliesI am creating a full site in flash. The main movie has an empty movie clip in the middle of the movie to load external movies as the user clicks on the links. Everything has worked good so far as the linking has only gone 1 level deep. However, when I created a new external movie, and had buttons on it for another external page, but yet to open in the main movie, I can't get anything to work. Example.... In the main movie, the user clicks on the archive link, and the external archive movie is loaded into the main movie. Now, on this archive movie, there is a button on it that links to a another movie (say text effects.swf). However, when they click this button for text effects, I can't get it to load into the main movie clip and replace the archive movie that was currenlty there.
View 14 RepliesCode:
var slideNo:Number;
slideNo = 0;
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.addEventListener(Event.COMPLETE, showXML);
[code]....
how to duplicate movie clips which allow me to drag every movie clip duplicated.
View 4 RepliesEverything appears to work correctly, my images are loaded and land on the stage where I want them, but I can't drag them. It seems like the event listener (that i've highlighted) isn't being applied. As a side note, I've done this same thing with loading items from the library, and it works. I copied a lot of the the code from my test project to this one and when I load the bitmaps instead of pulling them from the library, it breaks.
package {
import flash.display.MovieClip;
import flash.display.Bitmap;
import flash.display.Loader;
import flash.events.*;
import flash.net.URLRequest;
public class Main extends MovieClip {
[Code] .....