Actionscript 3.0 :: Menu Link - Can’t See A Loading Page
Aug 3, 2010I have a problem with link "contact", when i click on it i can`t see a loading page "photo2". Maybe this problem is with function animateOn. I attach a file.
View 1 RepliesI have a problem with link "contact", when i click on it i can`t see a loading page "photo2". Maybe this problem is with function animateOn. I attach a file.
View 1 RepliesI have recently purchased a XML based template and need to make an existing XML link goto an internal menu page. I have been able to create buttons in the flash template itself using action script with no problems. In my site I have several buttons that say more, so in the XML document it has these internal links, asfunction:_root.more_click_func,1. So what I am trying to do is have thiese links goto the contact page, so I assumed it was simple as directing the asfunction to the internal menu which is 6 but it doe snot work.
asfunction: "6"
asfunction: contact
so I have created a basic flash navigation menu bar for my website. I have added the bar into a frame on my dreamweaver page. I was just wondering if it was possible to link the buttons on my flash bar to open the pages into a different frame, the main frame below, my navigation bar? The code I have at the moment for my "home" button is the following:
[Code]...
and this is opening the "home" page in a new window. Is it possible to make it open it in my main frame (called mainFrame)? When I change _blank to _self it opens the page in the same frame where the menu bar is, not the mainFrame below it.
I am new to Flash. I bought a template online a couple weeks ago, and for the most part have made all the changes to personalize the page. The page is for wedding videography, and came with a Videos section. However, I do not like the template video player, and would like to have the Videos link on the menu bar go straight to my youtube channel rather than to the flash player. Primarily all changes to the template have been made in a text.txt file, rather than the flash file itself. My question is, how could I change the link on the main page to route to my youtube channel? Here's what it looks like in the text file:
[Code]....
i have created a flash animation for my homepage, i want to make part of that flash animation a "enter" button so when clicked would go to my page 2 on my website.
i have never done any script before and only used dreamweaver on a mac. is there an easy way to create this button to link to my next page and to stop my file to stop looping?
I've created a flash naviagation menu and currenlly my links will open a pop up window. I don't want this. I want it to open the link in the same window. Here is the code for one of the links:
var home:URLRequest = new URLRequest("index.html");
function homeDown(event:MouseEvent):void { navigateToURL(home,"_self");}
button_home.addEventListener(MouseEvent.CLICK,homeDown);
I would like to create my page links so when I roll over the text(link) enlarges and then once pressed a swf animation plays.When it stops it automatically directs to the desired page.
View 5 RepliesSorry for bothering you with questions like these, but I've never worked with Flash before, so I've got no knowledge in as3. So I'm trying to make a full flash website, and I've read some good tutorials on the net, but some of the script codes the tutorials provide doesn't work. I'm trying to link a button to a page like google, or a page on the flashsite. I just purchased Flash cs4, so that might be the reason why the tutorial codes doesn't work..
View 5 RepliesIm trying to make a menu for a web page using menubar and menu components, is ther any way of making os specifing that the menu can get drawn out of the canvas, since i need that the bar is thin for getting in a space betwen to image headers.
View 1 RepliesI am able to pass a variable from an html link that loads a separate html file and instructs the embedded file to go to a specific frame.But - I now need a link within an swf file on one page to open a new page and tell that swf to start on a specific frame and it is not working. Here is the code I use for the first example - works like a champ:
html file 1
Code:
<a href="fullpage.html?stateVar=19">Go here</a>
html file 2 swf embed code with variable info:
Code:
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("yourSWF.swf", "sotester", "500", "500", "8", "#FF6600");
[code]....
I have an invisible movie clip I want to go to the NEXT page, as it goes to that page, I want it to essentially remove itself (page1.swf). e.g. page1.swf (contains fancy.swf - [AS2], 4 images, several invisible MCs with code) has an invisible MC + on click = remove page1.swf.
To be clear, this does work. It goes to page2.swf and page2.swf goes to page1.swf as it should. The issue is that if the user repeatedly does this (just 2 or 3 times) the fancy.swf becomes impossible to control and Flash (CS5) crashes. I think this is due to the fact it's not unloading the entire thing, it's only unloading fancy.swf on click (I hope). So underneath page2.swf is page1.swf, and when the user clicks back to page1.swf, page2.swf AND page1.swf are underneath that, and so on and so forth.
[Code]...
I'm trying to edit a Flash file, that get it's data from and XML file.Now when you click on one of the menu items, the page + page title should change, but somehow the page title remains the same. (at least for the first 3 menu items) But when you go to the last menu item and then back to one of the first 3 menu items, the correct page title is shown.I'm no flash / AS expert, so I can't really find out what the problem is, but it seems like it has something to do with this function
Code:
_root.getCurrentText(thisText0, _parent.num);
how to activate the animation that removes the previous page items before loading new page when you click on a menu button. like this website [URL] When you click on a menu button, current items are removed with nice animation before new items appears.
View 3 RepliesI am new to Flash and am working on a web template I purchase online. I have a flash file called flash.fla I'm working with in Flash CS4 (trial). Of the five main menu buttons, I would like to redirect the 4th (the "videos" tab) to a youtube channel I've set up. I've located where the 4th button is in my .fla file. It's called B4. I double clicked on it, which opens it up in the timeline. There's 4 little objects in the timeline: b, b, t1, and t2.b is a frame, as is the 2nd b, and both t1 and t2 are documents. The only one I can open up in ActionScript is the 2nd B. I choose the GetURL from Script Assist, and put in my desired address, as followsI then close out ActionScript, and Export it as an Image File. I name it flash.swf to replace the .swf with the same name on my server. When I publish the new changes, the page just says Menu. If I click on that,
View 2 RepliesDoes any1 know how to display what's been selected from the menu. for example changing the color of the button when its been activated.
View 5 RepliesI just want the flash movie to link to my main homepage after the movie plays. I know this is probably easy, but I have no idea how to do it.
View 5 RepliesIm working on a restuarant website and im trying to set up 3 seperate links for menus. Lunch diner and catering. id like to setup a link for each option that calls apon a menu to appear in front, then an x at the top right of the menu to exit it and fade out back to the original website.
View 1 RepliesI have a drop down menu in AS2 Flash. I want to be able to link to any scene, any frame from this one menu.All I want to do is to go back to the root and then to go to the relevant scene/frame. Inside my menu (a series of buttons inside a movieclip), the code on one particular button is:
[Code]...
okay so i am trying to create a menu system that contains 6 buttons and positioned in the center of the stage . the button originates from the Library as a single MovieClip and positioned dynamically but how do i add a roll over and link each 6 buttons to 6 different websites?
[Code]...
I made 4 short 2 minutes SWF "presentation movies" that I want to burn onto BizCard CDs and mail to clients and prospective clients. I created a menu with the four items to link tot he movies. I ASSUMED I would be able to do this but I cannot link from my four menu items to the movies. I have tried everything but I end up with looping or syntax errors.
View 3 RepliesI've built a SWF with the top layer being an invisible button. As a test, I simply uploaded the file to the server and clicked it. Here is the URL where the file is located: [URL] When clicked anywhere, it should take you here: [URL] and it does. I sent the SWF to a third party vendor who have placed the masthead at the top of a page: [URL] which its on their server. When you mouse over the image, it appears clickable, but if you click it, no action takes place. It's the exact same file. Why is it working from one place, but not the other?
View 4 RepliesI am trying to link from a flash site to a specific page of a 30 page PDF and have had no luck. I can open the PDF with a getUrl but can not have the PDF open to the page I need.
View 8 RepliesI'm at my absolute wit's end. I'm an advanced Photoshop and After Effects user with quite a bit of knowledge using HTML and CSS. Today is my first day of Flash.
One would think that redirecting to a different page at a certain frame would be simple. I've been sitting here for 5 hours sifting through tutorials and forums and still have yet to arrive at the answer.
Here's what I have:
I clicked on the last keyframe and in the actions panel entered:
flash.net.navigateToURL(URLRequest("http://www.mywebsite.com/index.html", "_self"));
I have tried many (many) other iterations. how it can be done using step by step instructions. Most importantly I need a complete example of the actual code to be used.
Why is it so very very difficult to do this? I love how scripts function in After Effects. I love other Adobe software. Why is Flash so cumbersome?
i have 5 menu in my website (home, news, about,..) and the news page is built in wordpress. The others is in one flash file (1 swf)..how do i make a link from my wordpress page to my swf (to specific frames in swf, and it's that frames is in a movieclip)
View 2 RepliesI installed a flash template. It has navigation buttons with a nice roll-over effect. The buttons are all located within a symbol called "menu" (it is a Movie Clip type symbol, not a Button type). Each individual button in the menu appear to be in its own separate layer, so the first button is in a layer called "item1, second button in "item2", and so on. I want to edit the link for the fourth button so it goes to another website but I can't seem to find the code to edit the link. I managed to find
[CODE]...
and this does work - upon pressing the button it goes to the website link. However, there is no more roll-over effect for this button. So there has to be an alternative or better way to editing the link for this button (without removing the roll-over effect).
i have created a menu.swf and i want to link its items to frames of another .swf.How can i do this?
I tried root.gotoAndPlay(2);with no success
i am using this as my casourel menu.[code]i am very new to the as. now the problem is how to change the button onRelease link to the frame number instead of url?
View 1 RepliesWhat does it entail to add a link to my email or another website in the right-click menu on a Flash animation?Here is an example of what I am looking to do..after the site loads, right click and you will see the link to the email
View 1 RepliesI have been trying to understand how to create a url link with the xml file that my menu is driven by. what I have is a menu with text amd images reading from an xml file, I have created a third text field which I would like to use as a button/link that when click it goes to a url.[code]but this doesn't seem to work, am I missing something within the flash movie.URL...
View 1 RepliesI have a website I would like to run locally in the computer. The website is in flash and links to some HTML pages in the same folder. How do I write the action script button so it opens the HTML page in the same page? Right now I have:
on (release) {
getURL("localfile.html");
}
The above code doesn't go to the HTML page that I wanted in the same folder. Do I need a relative path or something? Indicate the folder it is in?