ActionScript 2.0 :: Panoramic Effect - Linking To Different Scene
May 14, 2005
I am working on a project which is basically a virtual tour of a house. Each room I have made on separate scenes, some rooms are on more than one scene (diff view points) and some room have a panoramic effect (these are the ones causing the problems). To achieve the panoramic scrolling I have made the room as a mC. Inside the mC I have buttons which should link to other scenes... 'enter the problem'. How do I link to another scene from in there? I have tried :
Code:
on (press){
gotoAndPlay("SceneName",frame);
}
and this
Code:
on(press){
gotoAndPlay(this."sceneName",frame);
}
[Code] ......
View 12 Replies
Similar Posts:
May 26, 2011
I am making this flash induction demo but i can't link the buttons to a new scene so the user can click on a button and see information relating to that topic.My flash skills are OK but dont use it often enough to keep my memory uptodate.
View 3 Replies
May 14, 2005
I am working on a project which is basically a virtual tour of a house. Each room I have made on seperate scenes, some rooms are on more than one scene (diff view points) and some room have a panoramic effect (these are the ones causing the problems). To accheive the panoramic scrolling I have made the room as a mC. Inside the mC I have buttons which should link to other scenes... 'enter the problem'. how do I link to another scene from in there? I have tried :
[Code]...
With the options I haev tried I keep getting different error mistakes and I can't really figure out whats wrong. I have been trying for a week and a half and I'm just not getting any positive results.
View 12 Replies
Sep 17, 2010
How would I link a swf to another swf's scene and frame?
View 2 Replies
Oct 12, 2010
how to link the button I made to say Scene 2 of my flash project. I'm not sure the actionscript required or where I put the action script.
Here is the file I'm using, trying to simply figure out how to make the open button go to scene 2. [URL]
View 2 Replies
Jan 11, 2010
So I have 3 buttons. One button links to an animation, the second button links to a different animation, and the third one shows the links. The first button works properly, but when I click on the second button, it goes back to the animation that is shown at the first button. How do I fix this? Here is my code for the first button:
button2.addEventListener(MouseEvent.MOUSE_DOWN,mou seDownHandler);
function mouseDownHandler1(event:MouseEvent):void {
gotoAndPlay(1, "random");
}
I have made sure that the button's instance name is button2, and that the scene name is "random".
Here is my code for the second button:
button3.addEventListener(MouseEvent.MOUSE_DOWN,mou seDownHandler);
function mouseDownHandler2(event:MouseEvent):void {
gotoAndPlay(1, "random1");
}
View 2 Replies
May 3, 2005
I've converted a graphic that i imported into a button. And put this action script on it to go to a certain scene.
on (press) {
gotoAndPlay("2,1");
}
This button should make the movie go to scene 2, frame 1, but its just not workinBackground info:The first scene is jsut a short intro where a couple buttons finally come up in a keyframe. In the keyframe itself, I have a stop action so the main scene doesnt loop. And on each button I have the action that i wrote above, to go to certain scenes depending on which button i click. Am i totally setting this up wrong structurally? Do i need to put any kind of "Reset" action if i want to go back to a previous scene. Also, in each scene, I have a mouse hide and replace action, could this have anything to do with it?
View 1 Replies
Apr 29, 2009
I am trying to link to scene two. Action script three. from what I have read this is the code needed, doesn't work though
[Code]...
View 1 Replies
Jan 18, 2009
I do have a mc with a dynamic text box in it, this dynamic text box is linked to an texternal text file where I have the text I wanted to be shown in my mc when I publish the movie.
When you see the text in the movie I want to be able to use part of the text as a button to redirect the timeline to another scene and exact frame. For the moment I try everything I could but no luck.
This is the script I have in the text file for the monent and is redirecting to frame 11 in the same mc.
myHTMLdata=<p><font color="#999999">.................................. .................................................. .............................................</font></p><p><i><a href='asfunction:gotoAndPlay,11'>Tower Ultramort</a>
My question is what is missing in my script if a want to link the text Tower Ultramort to and scene call spultramort frame 11.
This is very important because I do have the website with dynamic text boxes all over it and I need to link them to different scenes.
Here is the link for the website: [URL]
View 0 Replies
Mar 6, 2006
I've got a dropdown menu in which i need to link to another scene on my site. The actionscript on the button i'm using is working if i put the link on the button on the main timeline, but when i nest the button inside the movieclip dropdown menu the actionscript on the button doesn't seem to work.url...The dropdown menu is on the left side, (actually a drop right menu,lol).And, also, the rest of the site still needs a lot of work so please don't comment on that.
View 14 Replies
Jan 18, 2009
I have a text input that will link to a given basic frame, but I want it to link to a specific frame inside a Movie Clip. Code for going to basic frame is below:
ActionScript Code:
stop();
if (Key.isDown(Key.ENTER)){
if (textinput.text == "word"){
gotoAndStop(2);
}}
View 9 Replies
Oct 5, 2009
I have made a couple of 'advanced rollovers' if you will, yet one thing is annoying me about them! When you roll over the button it looks great, yet as soon as your mouse goes off the hit area, it just suddenly shoots straight back to frame 1 of the movieclip , is there any way to animate a scene once the mouse has gone off the button, so it looks smooth when rolling over and when rolling off?
View 1 Replies
Oct 5, 2009
I have made a couple of 'advanced rollovers' if you will, yet one thing is annoying me about them! When you roll over the button it looks great, yet as soon as your mouse goes off the hit area, it just suddenly shoots straight back to frame 1 of the movie clip , is there any way to animate a scene once the mouse has gone off the button, so it looks smooth when rolling over and when rolling off?
View 1 Replies
Jan 27, 2011
ive made a button in the scene 1 which i have managed to navigate to scene 2 but when i click the button it goes to scene 2 but displays everthing that is in scene 1 in scene 2, how can sort this out so upon the button click in scene 1 it goes to scene 2 and only display content in scene2.
[Code]...
View 1 Replies
Mar 11, 2005
anyone ever done anyting with panoramic images in flash? i was loking at something in a book, and i was wonderinf if anyone had any personal experience with that???
View 2 Replies
Mar 11, 2005
Anything done with panoramic images in flash? I was looking at something in a book?
View 2 Replies
Sep 13, 2004
Check out this code:
[CODE]...
everything here is fine. It opens finely. But... i want to pass parameters where if i click a button in html page My.swf should open a particular scene called 'Scene 2' rather than scene 1. i tried
[CODE]...
View 2 Replies
Sep 6, 2009
When I try to scroll it using my custom buttons, it will only show up to a certain point (my guess is around 4000 or so), and then the canvas goes black (the background color set for the stage).My guess is that there is a limitation on the size of the objects (in this case an image) that we can use on flash, but I can't believe that there is no workaround other than breaking the image into a bunch of smaller images and loading them as one scrolls.I'm even repositioning the MC that holds the image before it is loaded, so that the image is centered, so that I'm not forcing one side of the workarea to handle most of the image, but only near half of it. After trying this, the image is not showing at all.
View 4 Replies
Jan 24, 2011
I have a few 180 panoramic images in pan.xml and firstly I want to load the first image (width=2737) onto stage, then adjust its size (according to the stage size) with adjustScale function and finally tween it with slidePanorama function. The problem is that first image tweens to the initial position (x=-2737/2) and not to the new position (-scaled width/2), so there's some empty space left on the right of the screen... I tried putting that adjustScale function everywhere, it doesn't seem to work. What am I doing wrong? The second thing I want to do is to be able to navigate between other panoramas e.g. clicked on a button, load another panorama and repeat the same process as explained above..
ActionScript Code:
private var imgNum:Number = 0;
private function createP():void {
imgData = panXML.item[imgNum].imgURL;
[Code]....
View 2 Replies
Jan 6, 2005
im going to set a cenario with three pictures. The first one, the background, and two others, smaller.
Id like to make each one of the images to move slightly as the mouse moves, but each of the images must move in differect speeds and distance, making a pseudo 3d/panoramic illusion.
View 2 Replies
Jan 12, 2007
I'm question if any body here can tell me how i import to flash one .mov quicktime 360 panoramic. example link --> [URL] Well, I'm trying to put inside flash for people not to be bothered with quicktime plug in.
View 4 Replies
Nov 1, 2008
I'm trying for two days to make a animation and it needs AS but I'm not good at all with it. I'm a graphist ( french, sorry for the grammatical mistakes in the post ) and I just don't get I want to make an infinite panoramic controlled by mouse cursor position ( left et right ), with active zone in it.
I've made my image for that, and tried several code but nothing work.
View 3 Replies
May 15, 2011
I want to make an interactive panoramic photo with mouse over.
View 4 Replies
Feb 10, 2009
I've googled these days to find a panoramic viewer for large horizontal pictures. Well I didn't find my pleasure, and I would like to know if you are aware of actionscript 3 versions of that kind of projects so that I could learn how it's coded?
View 1 Replies
Jul 28, 2009
the project im working on is all database driven, there are no html files and all coding that is created is made by php then stored within a db to be called later on. now because of this i can't use relative links at all with anything i.e. images, videos and swf files.
so.....i am using swfobject to link to a swf file using absolute linking as shown in the coding below. but what i need to do now is link an .as file in my swf using absolute linking so i can call some arrays from the file.i have doubled checked to make sure my vars can be passed by local testing and it works but now i need it as absolute....is this possible?
View 16 Replies
Apr 2, 2010
I'm looking for an example of a "panorama" image display in which the series of images is made to scroll left or right depending on how the user moves the cursor over the image display window. Other people told me there were tutorials for this type of thing in here, but when I put "panorama" in the keyword search window nothing came up.
View 1 Replies
Aug 11, 2009
so I have some buttons that, as of right now, simply trigger the scene to move on while at the same time killing some particle effect animations I have spawning when the animation is idle. What I now need to do is make these events move on to a specific scene AFTER the rest of the scene's animation has played out (about 400 more frames) I'm figuring that the gotoAndPlay command has to be tied to some sort of timer variable that I would have to figure out based on my fps. Or maybe there is a way to set up a timer directly tied to a certain amount of frames allowed to go by. I'm pretty noob at actionscript, so keep that in mind. Here is the script at the point where the animation pauses to await user input on the buttons:
[Code]....
View 4 Replies
Dec 28, 2009
No..not that type of parenting ;DOK,I have a main scene, then sitting in the root scene I have 2 movie clips.1)centro2)fotoIn the first movie "centro" there is a menu btnI want this menu btn to call up mclarge + its frame (1) thats housed 3 levels inside the foto mc in root.
Main scene - (1) centro (banner which houses menu btn)
(2) foto_mc
- Main_boy_mc (<---works if menu btn houses in here)
[code].....
View 0 Replies
Apr 17, 2004
I have a movie with 4 or 5 scenes. How can i make the movie jump from scene 1 to another scene by clicking on a button?
View 5 Replies
Apr 1, 2010
ArgumentError: Error #2109: Frame label null not found in scene Scene 1. at flash.display::MovieClip/gotoAndPlay() at intro_fla::MainTimeline/intro_fla::frame606()[intro_fla.MainTimeline: :frame606:3]
View 3 Replies