Actionscript 3 :: Flash Not Navigating In Same Window?

Oct 19, 2011

The following is not navigating within the same window as defined by _self it is opening a new window. No clue as this has worked before for me.

this.addEventListener(MouseEvent.CLICK, function(){
navigateToURL(new URLRequest('./homepage.php'),'_self');
});

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Navigating Without Going To A New Window?

Jun 29, 2009

Trying to make a link in flash and it brings up a new browser or browser tab every time instead of taking the page it is on and actually navigating.

View 1 Replies

Flash :: Navigating Through Site With Animation

Nov 18, 2009

Basically, what i want to do is have a home page with some images and things on it, and a menu. When the user clicks on a menu button, i want the images on the homepage to animate away, and be replaced with the chosen page (animated in). I understand how to animate things using Tweens in the timeline and also in As3 using the Tween Class, but for the animation i'd like to do it's so much easier to use the timeline (i don't think i'd be able to use as3 to do really complicated things yet).

I can figure out how to make the home page disappear, but i can't figure out how to then animate in the correct page. If anyone can point me in the direction of a good tutorial or just give me some hints i'd be sooo grateful!! I think i'm just struggling to get my head into it.

View 10 Replies

ActionScript 1/2 :: Navigating Inline Frames From Flash?

Jun 25, 2009

I have a navigation block set up in flash. Can someone please tell what the geturl script is to control external html pages loading into an inline frame?

View 7 Replies

Professional :: Navigating/Linking To Subpages In Flash?

Feb 17, 2010

if it is possible to create a full flash site where I am able to click on links within the site and like an HTML website the links/pages are shown in the url as such 
 
HTML SITE   - example: www.example.com/bio.html
 
FLASH SITE - example: www.examples.com/bio
 
The example for the Flash Site is what I am looking to do and I'm wondering if this is possible.. I've seen some sites that I believe are Flash Sites which have this type of set up please see the link provided. [URL]

View 3 Replies

Professional :: Flash Movie Freezes When Navigating Map

May 18, 2010

I am creating a map (a jpg) and when you click in certain hotspots it uses tween lite to change the scale of the map to 50 to show info on the region. There are 20 regions and every region has its own JPG (900x600px 60k each). All JPG are inside the SWF (its size is 1.3Mb). The problem is that when you are navigating the map sometimes freezes and you need to refresh the page to unfreeze it. Could be this because the large amounts of images or maybe the scale of 50 I am using?

View 1 Replies

ActionScript 3.0 :: Flash Not Loading On Webpage After Navigating To Diff Page Then Returning?

Jun 11, 2009

I seem to have an issue with a flash I have written. The person who I made it for is telling me that first time he loads the page with the Flash in it, it loads fine. However, at this point if he navigates to another portion of the site, then goes back to the Flash page, he says it freezes on the loading bar. Consistently everytime, but only on his work computer, not home computer or lap-top. I think it might be a caching issue in IE, but I am kind of stumped, anyone ever experience this?

View 9 Replies

User Interface - Continuous Flash Music Player While Navigating Site

Jun 16, 2010

I have a site that includes a Flash music player integrated into the layout. I want users to be able to navigate around the site without interrupting the music. I've done plenty of research and thinking and the following are the options I came up with (keeping in mind I want to be as SEO friendly as possible).

AJAX: I set up a version that changes the main content div to whatever nav link they click, thereby not interrupting the Flash player. I set it up in the proper search-engine-friendly manner with direct links and JQuery/Ajax functions. If someone goes to site.com/ and clicks the Contact nav link, it loads what's in the main content div on site.com/contact.php into the main content div and changes the URL bar to site.com/#Contact. The same goes for if they go to site.com/contact.php and click About in the nav, it loads the About content and changes the URL bar to site.com/contact.php#About. Obviously this opens up a whole new can of worms with AJAX and hash navigation/history issues, and I would end up with people possibly linking to things like site.com/contact.php#About (which I think looks terrible and can't be too great for SEO). Store the Flash player vars somewhere and reload them with the page: I'm not sure how to go about this, but I thought about keeping my regular navigation without AJAX and have it so when a user clicks a nav link, before it changes pages it stores the Flash player vars (current song and song position) somewhere, then loads them into Flash when the new page loads. Something with an iframe? Good alternative to a Flash player that will work for this type of application?

View 4 Replies

ActionScript 3.0 :: Creating Flash DVD - Put Video Window Playing Certain Amount Of Time Then Repeats Itself In Main Window?

Oct 20, 2011

I am preparing a presentation DVD... DVD will contain wmv video, user manual and another flash exe file... So DVD interface will contain three elements; user manual, a flash exe file and video.. Flash video window will be short-time video, playing like 5-10 seconds then repeats itself... My question is, how could I accomplish to put video window playing certain amount of time then repeats itself, in main window? I need as3 fla example, which could be so useful for me..

View 1 Replies

Flash :: POST To Opened Javascript Window And Have Close The Window

Nov 30, 2011

I created a Flash application that reads POST data from a form. A user clicks the button, and the data gets posted to the flash app in a new window (_blank). Now takes the data and then spins a wheel to give users a prize. If they don't win a message pops up letting them know they didn't win. If they don't win, clicking the OK button needs to close the browser window.

I've tried a number of solutions and it seems that the only way to get this done is to launch the window with javascript and then use ExternalInterface.call('window.close'); to close the window from within the Flash actionscript (3) because otherwise the window won't close (I've tried just using window.close and window.close() with no luck)

I understand how to launch a new window with javascript, but I don't know how to simultaneously launch and POST data to that window (the Flash application has to have the POST data. Is this the best solution? Is there a way to close a browser window easier than what I'm describing?[URL]

View 1 Replies

ActionScript 2.0 :: Flash Reload Parent Window + Close Window?

Mar 4, 2006

I have an asp page that will open a new asp page in a new window that contains a swf file with a button.hen the user clicks the button i want to close that window and reload the parent window.

View 9 Replies

Navigating Between The Swfs?

Feb 2, 2011

I'm a born-again newbie, as it's been awhile, so bear with me...I have a main movie, with the menus and some basic info. I would like each section of the portfolio to load as a separate swf (to save on file size)...we were hoping to have the back/next, copyright buttons on top of a full size image...but my question is how to navigate the home button to return to the main movie with the menus...the old site had separate sections loading into an mtClip with the following code:

loadMovie("vr4.swf", 1);

then when you click home:

on (release) {
gotoAndStop("home");
unloadMovieNum(1);
}

how to code the home button on the section swfs to unload the movie, but return to the main movie without reloading?

View 2 Replies

ActionScript 3.0 :: Navigating In 3d Box

Nov 4, 2009

I made a 3d box using flash cs4 built in 3d tools and I'm trying to "walk around" in it. I do this by moving the box accordingly.

[Code]...

The Problem: When you go to close to the back wall and look around the whole perspective gets messy. I know I'm not supposed to move Z like that.. I think.. I have no clue what properties to change for this to work.

View 9 Replies

ActionScript 2.0 :: Navigating From One .fla To Another?

Aug 5, 2008

I have two .fla's i'm working with. The first is called index.fla. this file holds a button that when pressed loads a swf into a placeholder layer. the second .fla is the one being loaded in the form of a .swf. what i want to do is write a code on the second frame of the .swf that will send index.fla to the 5th frame.

View 2 Replies

ActionScript 2.0 :: Open A New Window If Have Thumbnail Pics In The Flash Movie But Want The Full Pic To Open Up In A New Window?

Mar 6, 2004

1) how do you open a new window if you have thumbnail pics in the flash movie but want the full pic to open up in a new window? Is this Javascript inside flash?

2) How do they do the menu bar here at this site:[URL]

View 1 Replies

Navigating Between Two Movie Clips?

Jul 7, 2009

Within my animation I have two movie clips, one movie clip "clipA" runs to a certain point then a series of buttons appear when you hit the button it loads another movie clip "clipB" into the first movie clip "clipA". Whith in the second movie clip "clipB" I would like to be able to, at a certain frame navigate to a different frame within "clipA" is this possible to do with actionscript 2.0

View 1 Replies

ActionScript 3.0 :: Stopping .flv When Navigating?

Oct 5, 2010

I'm trying to teach myself actionscript 3 and going insane over an issue with an .flv video that I can't stop.
 
The problem I'm having is that I can't make video (an .flv within the "FLVPlayback" component set as a movie clip) stop when navigating to another tab. Navigating away from and back to my video page/frame even results in 2 audio streams playing simultaneously. I think the problem lies with me not being able (or knowing how) to identify the video/movie clip with "(name)".stop();

Here's the source file (the first and last navigation tabs on the left are complete, video is on the last tab) SOURCE:
 
[URL]
 
and my code (all my references to the FLVPlayer/video were wrong so I've removed them to try again) -

[Code]....

View 7 Replies

ActionScript 3.0 :: Navigating To And From Different MovieClips

Mar 7, 2011

I am a real noob at AS3. Its so frustrating now to try to re-learn how to navigate to different movieclips on different levels in my flash demo... Or for that matter, how to navigate at all with buttons on the timeline. I have a movieclip called mc_Flyouts on my main timeline. Inside of it are a left and a right side arrow which when clicked trigger a tween and flyout buttons appear. I want it so when the user clicks any of these flyout buttons in this movie, they jump to a different keyframe back out on the main timeline. I got the following code to work, but its giving me errors:

[Code]...

View 3 Replies

ActionScript 1/2 :: Navigating From Cue Points In A FLV

Sep 24, 2011

I am using Flash CS3 and AS2 on a PC. I am making a CD in Flash, for a client. The CD has videos, images and text. What I need is be able to go to the next scene once an FLV has finished playing. Also if a new FLV can be loaded once the curent ends. The FLV is in the FLVPlayback component. I need to add Cue Points which I can use to navigate with. The client would prefer a minimum of buttons, and thus auto navigation once a point is reached.I would prefer to avoid the need for me to use third party software or add-ons unless absolutely necessary.

View 3 Replies

Flex :: Navigating From One Swf File To Another?

Mar 8, 2011

I have a swf file which requires a username and password to log in. When the user enters the values and clicks the submit button I validate it using asp.net. What I want is if the validation succeeds then I want to navigate to the home page of my application which is also a swf file. How can I do this? This is my mxml code

<?xml version="1.0" encoding="utf-8" ?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Style source="d:/style1.css"/> [code].....

View 1 Replies

Sound Not Stopping When Navigating Away

Jan 27, 2009

I have several swf files which are completed screencasts with voice overs, which I need to integrate into a flash application to distribute on CD to new students.

To play the screencasts in my flash file, I'm navigating to a new frame for each one which has a movie clip on it (instance name myscu3 for example). The myscu3 movieclip has about 20 frames of animation to grey out the screen behind, and then a couple of frames with actionscript on them, which 1) first frame shows a loading screen while the screencast swf is loading via a Loader and then navigates to the 2) second frame where the screencast coords are set and addChild is used to show the screencast via the Loader.

All works fine EXCEPT ... if I navigate away from the parent timeline frame where the myscu3 clip is ... the screencast disappears (as it should, as the myscu3 clip isn't on other frames, but if the screencast hasn't finished playing before I navigate away, the sound keeps playing.

how to stop the sound playing, as the loader is in the child movieclip, and the navigation away from the frame containing it is accomplished by clicking on any of the tabs at the side (on the main timeline). Any ideas? Is there actionscript code which will just stop any current sound playing (without stopping the ability to play sound) which I could add into the tabs navigation code?

View 1 Replies

ActionScript 3.0 :: Parent Directory - Navigating To Another URL

Aug 18, 2009

I am making a site, this site is in a folder, inside of this folder I have the index.html file and a load of other html files. I then have a folder, flashheader. with a flash header that has 5 tabs on it. When I click a button, I want to navigate to another URL, this URL being in the parent.

PHP Code:
tab1.addEventListener(MouseEvent.CLICK, myBtnClicked1);
function myBtnClicked1(e1:MouseEvent):void {
var url:String = "../index.html";
var request:URLRequest = new URLRequest(url);
try {
navigateToURL(request, '_self');
} catch (e1:Error) {
trace("Error occurred!");
}}

There is my code, it listened for the tab to be clicked, and when it is, it loads the URL.

View 2 Replies

ActionScript 3.0 :: Navigating To Time Code With XML

Jun 28, 2010

How would I go about using an XML file like the one below to control an mp3 in a player and show a jpg at the same time? Basically the mp3 is about a presentation, and the image is a slide of the presentation. If you click forward it needs to progress to the next chapter marking and display an image. If you click back it needs to go to the previous chapter marking and display the previous image.

[Code]...

View 2 Replies

Way Of Navigating Through Website Without Use Of Multiple Pages

Aug 6, 2009

I was wondering if there is an easy way of navigating through a website without the use of multiple pages and eliminate the use of a navigation bar. My idea, which I'm sure has been done before because people are always coming up with new inventive ways to browse the internet, is to be able to allow the user to free roam the entire website on one page. I wouldn't be asking if I found it so I figured I could put my mind at ease and ask someone.url...In this map, it allows the user to free roam this map and find different cities. My idea is to have the user to browse a map of a website to different parts of what would normally be links to other pages. The whole web map would be one page and the user could just move their cursor up or down or left to right to each section of the website. Once they get to a section, they can click on certain parts. There is one website that is similar to my idea, but I want to eliminate the use of a navigation bar.I am new to flash but I love web design. I want to come up with a new way to navigate.

View 5 Replies

ActionScript 3.0 :: Stop Flvplayback Vid When Navigating To Another Nav.btn

Feb 2, 2011

I've got to add a video (flv) to my videobtn (navigatiopanel). I made a flashfile in CS3 actionscript 3, placed the flvplaybackcomponent at the scene (layer 1, frame 1) and linked it to webserver for the streaming. So far so good, I made an swf of it an everything worked fine. Except for one major problem : de vid doesn't stop playing when I navigate to another button in the nav.panel. In fact when I click once more on the videobutton, there are two vid's playing at the same time

View 29 Replies

ActionScript 3.0 :: Navigating The Timeline Using This.nextframe

Mar 26, 2009

I am really new to actionscript 3 and am having some trouble wrapping my brain around this. I have what basically amounts to a slideshow with navigation. I have a menu frame that has buttons, that when clicked, move down the timeline to a specific frame and stops. From there the navigation has 3 buttons..."menu" (goes ck to menu) and "previous" and "next" which have actions associated with it to go to next frame or previous frame. I have an actions layers that has the code in it and it works fine from the menu (attached is the menu actionscript) as long as I click on the item that is on the keyframe directly under the keyframe containing the actionscript. How can I get the frames that aren't directly under the actionscript frame to use the actions?

View 1 Replies

ActionScript 3.0 :: Navigating Between Scenes Using Buttons?

Jan 23, 2012

I have created several scenes that all have the same navigation bar consisting of l buttons which take the user to the various scenes. The code for the buttons (listeners and handlers)is on frame one in the first scene. It works fine as long I am in the first scene, once I have navigated to another scene (scene 2) the buttons do not respond. I thought that the AS3 code on the first scene is available to other scenes as well? Could you suggest examples of code that will power up the same buttons placed on different scenes? (I am using CS4 Pro)

View 3 Replies

Flex :: Navigating Directly To The Second Tab In Tab Navigator?

Jun 4, 2010

I have a component mxml in which i have a save button, on click of the save button i need to display another component which will be in a tab navigator, for this I am using the view stack. My problem is, on click of save I need to display the second tab instead of the first tab, but defaultly the first tab will be displayed.

View 1 Replies

ActionScript 3.0 :: XML Grid Navigating Away Error

Aug 31, 2009

I've used the XML grid photo gallery on my website that was featured in a tutorial on this website: [URL]However, whenever I click on another area of my website (eg. the contact page, homepage etc) ... the XML photo gallery still remains on the screen. I've been told to use the code (below) but it still hasn't resolved the issue. Where exactly do I post the code? All of my code for my background music, navigation buttons etc for my website are on one frame in the timeline.

[Code]....

View 0 Replies

ActionScript 3.0 :: Stopping Media When Navigating Away

Jun 2, 2010

the video page on my site uses a uiLoader to display a separate vidPlayer.swf.I can't figure out how to stop the content of vidPlayer.swf when navigating away from it. I've figured out how to stop the audio, however when a visitor returns to the video page the content has continued to play and the audio will no return.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved