ActionScript 2.0 :: Load Movie Doesn't Work - Keep Orig - Cords [MX]
Aug 13, 2004
[MX] I'm loading an infinitly scrolling swf into my main swf. When it loads however it doesn't work properly, because all the pixel values in the origonal code do not match for its location in the main movie. I know I can change the AS with new value and make it work, but I am wondering if there is another way. I'd like to be able to move it around and always have it work without changing it. Is there a way I can have the loaded swf retain its OWN origonal x,y cords? or some other method of doing this?
View 2 Replies
Similar Posts:
Jan 31, 2012
Greetings. 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 Replies
Jun 1, 2010
There�s a great tutorial for sending and loading XML (in AS2) here:[URL] However, I�d like to have an equivalent in AS3. I�ve attached my attempt, but it doesn�t work � even though it doesn�t throw any errors. (PS: there are similar examples 'out there' for Flex but after buying the book 'Learning AS3', by Shupe/Rosser the example in Chpt 14 doesnt seem to work whilst I cant find anything of use in O'Reilly's AS3 essential book).
View 5 Replies
Jul 22, 2010
I'm trying to fix a piece of flash code that sends variables to a vb script that updates the database. but whatever I do, the database is not updated and there is no variable sent back to the flash. Here is my code:
Clearly I'm sending two vars (pos and user) to the script and should get re_pos and re_date values back. But I get nothing. The code used to work when sendandload uses GET instead of POST. But now neither works. POST option returns no error in the Flash testing panel and GET give me a "script URL not found error".
[Code]...
View 0 Replies
Jan 28, 2010
I'm new and am having a bit of trouble loading one swf into another for a preloader and main program. If u open up flashSite.fla or the swf, everything works, but when I load it into a mc container of preloaderMomSite, the animated buttons no longer work. If someone could take a look, I would love to find out what I'm doing wrong. All files are located on in the same directory.
[Code]....
View 2 Replies
Sep 11, 2005
I'm using the hover caption tut to do a mouse replace which works here:URL...problem is when I load that swf into another parent swf the hover doesn't work.
View 6 Replies
Aug 8, 2009
The problem I have is simple: the play and load functions doesn't work in flash CS4 as defined in the documentation: URL...So to speak, I can only define like this: URL...My flash player version on all 3 fla files that I use is set to 10.And now with the GREAT issue I can't set startTime for the video and this is just GREAT.
View 6 Replies
May 11, 2008
I'm using LoadVars to load variable data into flash from a .txt file.Pretty simple - when uploaded onto a server, I can see the data loaded but no one else can, not even other accounts on my computer!Could this be a CHMOD permission problem? Could this a problem with my AS? A problem with directories? A problem with URLs?Anybody have a good method that simply loads vars from a .txt file and can also do it online?
View 2 Replies
Jan 23, 2009
3 frames
on the 1st i have some XML code
in the 2nd i read the XML and send to the 3rd frame and play a FLV movie. when the FLV movie ends, if goes back to the 2nd frame to "know" what is the next movie and goes again to the 3rd frame.
When i export everything is OK, when i publish and use the Mac Projector it is ok. But if i use the Fullscreen Mode, when the movie end's the Movie doesnt go back to the 2nd frame...
View 0 Replies
Jan 7, 2011
I have a big problem - I decided to make a website using flash as I am good with photoshop and thought it would be fairly easy to construct in flash using tutorials. All went well except now the website is published, weird things happen. The homepage works fine but when you click on "portfolio" some of the buttons don't appear and when you try the buttons, some images don't appear. Occasionally some of the buttons take you to the wrong place also. When I test the movie in flash, everything works fine so I can't work it out. I am a complete novice so advice will have to be spelt out in black and white.
View 2 Replies
Jan 7, 2011
I decided to make a website using flash as I am good with photoshop and thought it would be fairly easy to construct in flash using tutorials. All went well except now the website is published, weird things happen. The homepage works fine but when you click on "portfolio" some of the buttons don't appear and when you try the buttons, some images don't appear. Occasionally some of the buttons take you to the wrong place also. When I test the movie in flash, everything works fine so I can't work it out.
View 9 Replies
Mar 31, 2007
I have created a main swf file which holds a movie container which other swf's load into. One of the sections has a form in it. When I preview this section on its own the form works, but when I preview through the main swf file (or online) the text fields cannot be typed into. How can I fix this? Files can be downloaded from;[url]....
View 6 Replies
Apr 2, 2004
In frame I got LoadMovie("http://www.adress.com/movie.swf", wheretoload); I got movie on server but dont work anymore to mc "wheretoload"!
View 8 Replies
Aug 30, 2009
This is just plain weird to me.This is part of a loop that creates text fields. The movie clip is of course named numholder_mc.
Code:
numholder_mc.createTextField("textfield"+i,i,200,0,100,20);
If I create an empty movie clip "manually" on the stage and instance name it numholder_mc, then this code does not work.
However, if create an empty movie clip using actionscript, it works just fine!
Code:
_root.createEmptyMovieClip("numholder_mc",100);
Anyone have any ideas on this one? Its just weird.
View 4 Replies
Aug 1, 2009
I have a simple text fade movie clip that will "play" but won't work when I "Test Movie." What am I missing? I don't regularly use Flash as of yet, and have been successful before, but this is ridiculous - and I know I'm probably missing something very simple.
View 3 Replies
Mar 18, 2011
I have an flv loaded externally. I've added it to a movieclip and want it to fill the stage as my background and scale proportionally. The proportions work fine and the movie seems to scale fine. My problem is the movie doesn't start right away. It shows blank until I resize the browser then it shows up fine.Here is the code:
Code: Select allimport flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;[code].............
View 1 Replies
Jun 21, 2005
I have a menu which attach movie clips from the library, when I first probed the preloader there were not any linked movie clips, neither png files (because each button in the menu attach a picture which is inside the movie clip) now that I have put the movie clips in the library the preloader doesn't work and I don't know why.
View 4 Replies
Apr 1, 2003
This scroller doesn't seem to work once i load it as an SWF, is there any reason why, if so, how can i fix it?
View 5 Replies
Sep 19, 2002
Maybe it is a silly question but I have problems when I put a button inside a movie in Flash 5. It doesn't work and I don't know why...
View 3 Replies
Jan 14, 2009
I am working on an interactive map. When you roll over a dot on the map a slide moves into view. I've got this working great but when I add script for the roll out the whole movie just repeats over and over and the button doesn't work at all. I've pasted my code below.
View 3 Replies
Dec 17, 2010
I have a button instanced "howto_weblink_btn" which is located inside a MC instanced "HowTo_maininfo_mc". I would like to write a code allowing me to access this button from the main navigation menu. Here is what I come up with:
HowTo_maininfo_mc.howto_weblink_btn.addEventListener(MouseEvent.CLICK, onClick_openJTV);
function onClick_openJTV(event:MouseEvent) :void {
HowTo_maininfo_mc.navigateToURL(new URLRequest("http://www.ubloom.com/index.php?
[code]......
View 7 Replies
Jun 24, 2009
This Script:
Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
var cities:Array = ["muscat", "sohar", "dubai","abu_dhabi"]
[Code]....
...does not work when the buttons "muscat_btn", "sohar_btn", "dubai_btn" and "abu_dhabi_btn" are grouped into a movie clip.
View 4 Replies
Jan 20, 2004
I have made a simple site with some simple transitions. each button on my site loads in an external swf file into an empty movie clip.
One of these swf files is a guestbook which works when i dont load it into the empty clip and test it alone on my server (sending in the guestbook swf, html, php, and empty text file)
Now then, when i load in the guestbook into the main swf, nothing happens on the server when I test it - I am lost and now come to you people for advice. It obviously has something to do with being loaded into an empty movie clip that is causing conflict.
View 14 Replies
Jan 5, 2005
I tryed to do this several times, and it didn't worked. The main problem is that if I test simulate the movie (56Kb) the preloader doesn't work. First it loads the entire file, then it loads the preloader which is not needed then, and the 2nd scene after that.
View 6 Replies
Apr 27, 2011
i was trying to make a movie clip visible (it starts invisible), than invisible again. It gets visible, but i could't make it turn invisible again! Same thing happened with buttonMode propertie. I applied both only for movieClips and buttons, have no idea what is happening.
View 4 Replies
Feb 3, 2005
what happened in my flash document was, I created a button, "next_btn" with the following commands:
on(release){
//to remove all the splats
for (score=0;score<100;score++){[code]...
At this point, almost everything worked perfectly. Everything, but one thing. Apparently, the swapDepths command wasn't working. It was then that I thought maybe swapDepths only works on movie clips.And so I converted the button into a movie clip. I modified the instance names, etc, and almost everything worked. Everything, including swapDepths, but one thing: the gotoAndStop command.For some reason, when I tested the movie clip (containing a button) out, it removed the splat+score and finger_mc movie clips, as well as stoped the background music from playing. However, it did not go to the next scene and frame as specified by the gotoAndStop command. "s1a2" is the next scene, and "gameplays1a2" is its frame.
View 3 Replies
Feb 3, 2005
First of all, I would like to apologise for not knowing whether this code belongs to F5 or FMX Action Script. I'm that noobish, yup. Anyway, what happened in my flash document was, I created a button, "next_btn" with the following commands:
[Code]...
At this point, almost everything worked perfectly. Everything, but one thing. Apparently, the swapDepths command wasn't working. It was then that I thought maybe swapDepths only works on movie clips. And so I converted the button into a movie clip. I modified the instance names, etc, and almost everything worked. Everything, including swapDepths, but one thing: the gotoAndStop command.
For some reason, when I tested the movie clip (containing a button) out, it removed the splat+score and finger_mc movie clips, as well as stoped the background music from playing. However, it did not go to the next scene and frame as specified by the gotoAndStop command. "s1a2" is the next scene, and "gameplays1a2" is its frame.
View 3 Replies
Oct 1, 2003
I have a movie. In it are some buttons and a dynamic text field. When I press the buttons is should load text from a database into the dynamic text field. If I run the movie by itself (ie. not by LoadMovie()-ing it into a different movie) the dynamic text field gets filled with text and all is well and good. However, when I use LoadMovie() to load this very same movie into my main movie, the buttons no longer work; the text field stays empty.
[Code]...
View 9 Replies
Apr 15, 2005
i copy movie to another file but the same movie doesnt work at other file.copy seems to be copied but it doesnt work.
View 2 Replies
Aug 10, 2011
I have a MovieClip with two buttons inside of it (bottom portion) When I mouse over the MovieClip - it rises up, to revewl the buttons. My problem is, when I mouse over the buttons, the movie clip drops back down. The buttons don't have any actions upplied to them... It acts as though buttons were standing between the cursor and the movie clip... The idea is to hower over the movie clip > reveal the buttons > either move mouse away or click on one of the buttons. However, the movie clip closes when I touch either one of the buttons. Below is the code and thnks a bunch ahead of time:
[Code]....
View 2 Replies