I 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
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 want to build function on my site where I click on the link, and a new page (background opacity maybe at like 50%) - which consists of a video in the center and a link or two - floats on top of the already existing html page. I've seen this done a few times and I think it's a really cool function.
i've got a fair bit of text i'm trying to keep on an internal page by just making each section a scrolling content box. So there are 3 buttons at the top, each 'scrolls' onto a new section and I would like the ability for it to scroll back too, hence using the tween class to do this. I've managed to set it up and each button goes to each 'page' fine in reading order, so to speak (1, 2, 3), but if I got to 1, 2 then back to 1 it will start from 0 on the x axis.
Basically what i'm wanting to do is set the tween from the current _x value. So if I go 1, 2, then back to one, it will take the current _x value from 2, and scroll the opposite direction back to one. I am using the following code on the buttons:
I 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.
How to change a link inside the flash element? I have SWF file with set a link inside and I want to change to mine on the website. This thing I need to control the advertisment system.Trying this, but not working:
<style> #content { position: absolute; z-index:2;
[code]....
But you need everytime to put top, left, margin-bottom parameters. Can someone modify it to make working correct without pointing top, left, margin-bottom parameters?
I am using xml to create my flash menu . Now , i want that when i open a link it should remain highlighted , but right now the menu just refreshes on the next page. I am attaching the file . Attachment not working here is the link = [URL]
I need to add a couple menu items to an existing Flash menu that I did not create, but I am having trouble figuring out how to make the buttons stay highlighted until you click another one. Best way to simply describe my problem since is to simple show you. The first 5 links work exactly as they should. But the last 2 (Careers and Client login) do not stay go highlighted on the loaded page. [URL]
StackOverflow community,[URL].. used to launch AIR applications from Flex applications requires the use of an air.swf file located here:[URL].. We have tried to download this SWF and use it in our internal network, but it is not working, we depend on using the one located in the Adobe site.
Is there anyway to use this air.swf file without having to access the Adobe site?
we need some movie clips.Place in a movie clip (MC) with the instance name "volume" of a line with a width of 250 exactly, do it with the properties tab.Once you have done that double click it. Inside this MC lock the layer with the line on it, and lock it. Create a new layer, and on that put in a picture of a slider, and give it the INSTANCE NAME, "knob_mc".Now, make another image,which will be easy for users to click on, make the the width of this, 250 exactly also. Instance name it mask.
Now, create your buttons. Name the buttons for the songs respectively, song1, song2, etc...Also make an image of a speaker, with no sound wave coming out of it. Make it an MC, then, inside this movie clip insert 4 keyframes of the speaker,each with one more sound wave than the other, starting with no waves. Put stop on each frame, in the actions.Then on the last frame,frame 5, make the mute image, also put stop on the layer.
Place in a movie clip with the instance name "slider_mc" of a line with a width of 200 exactly, do it with the properties tab.Once you have done that double click it. Inside this MC lock the layer with the line on it, and lock it. Create a new layer, and on that put in a picture of a slider, and give it the INSTANCE NAME, "knob_btn".Now, make another image, which will be easy for users to click on, make the the width of this, 200 exactly also. Instance name it mask.Then insert a picture of speakers, width of 100 exactly, instance name of speaker. Then inside that, create an image to show the amount of balance to one side. With a width of 50, instance name of balance.
Others;Play button, instance name "playbut", 2 keyframes, frame 1 play image, frame 2 pause image.
Stop button, instance name "stopbut". Next button, instance name "next".[code]......
On a current project, my client asked if there is a way to create a link from text which has been imported via XML to another part of the swf. In other words, when the text is clicked, it executes some code.The only way I can think of is to create a url which would reopen the page displaying the swf and pass a parameter which would navigate to the specified section.
I have created a flash sit in flash pro. On one of my pages i have a bunch of thumbnails that i want to be able to scroll through and click on and have it open another browser window to an html page I have created.I have placed all the button individually in a motion clip, so I can fade them onto the page when I go to it, and I then have selected all the buttons and changed them to motion clips so I can scroll them.
I created an action file and placed it in its own layer in the first motion clip that all the buttons are on.I am getting access of undefined property errors on all the buttons when I debug.Below is what I have written, I hope someone can tell me what I am doing wrong. I am new to this.
// Includes and Imports. import flash.net.navigateToURL; import flash.net.URLRequest;
For some reason I can't seem to link a menu on a homepage with the internal pages of the website i'm working on. The thing is that this menu is only supposed to be seen as it is on the home page (it changes to a different location, and has a different look on the internal pages). Problem is I can't seem to get the button to link to the corresponding page.
is it possible to have a button be directed to a particular line number in a scolling text box?
what i want to do is when one of the levels is clicked from the packages page, i want it to go directly to a part of the scroll box on the inclusions page.
level one goes to where level one is listed in scrolling box of the inclusions page etc. is it possible to do something like this?
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:
is it possible to have a button be directed to a particular line number in a scolling text box?what i want to do is when one of the levels is clicked from the packages page, i want it to go directly to a part of the scroll box on the inclusions page.level one goes to where level one is listed in scrolling box of the inclusions page etc. is it possible to do something like this?
I buy a template from internet and want to edit it according to my requirements but I am facing a serious problem that is I need to add some extra menus I have only one idea that I copy existing menus frames and paste it in to new layers and than remove their previous names and links. But when I change the name it also change the previous menu name. I can't understand what I do? I try some other techniques but there is no solution till. Code is action script 2.0 and tool I am using Flash cs4 Professional.
I'm creating an animated (in and out) drop down menu. I've managed to get the menu to open when the user mouses over, with the buttons all selectable. However I can't seem to find an efficient method of making the drop down menu close whenever the mouse is not over the menu. Actions:
I am a newbie and been developing this menu that is XML driven and uses an External AS file for the script, so there is no AS on the timeline, it is all external. The Preloader. I found this preloader from here: [URL] which I have been trying to build into my movie, but with no joy! I don't understand how to add a preloader when you have external script, there is going to image directly on the stage, which is what the preloader would be loading.
Basically all I would like to do is add a simple percentage count for the preloader, a loading bar also would be great, but if not ,thats ok. The problem I have is when I put the preloader script into my existing menu all hell breaks loose. Below is a link to my menu files and also attached the AS script file, if that is better? Link to menu files: [URL] Attachments: Main.zip (1.5 K)
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?
for example i have a two pages, in page 1 theres a sound thats playing, but if i will try and go to page 2 the sound will stop, but if i will go back to page 1 the sound will be played again..
i'm trying to do everything in flash vs is exporting the menu to dreamweaver, and i can seem to have the buttons go to a certain frame and stop? this is the action script i'm using in the dropdown menu mc to get the button to work because if i do it in the to level of the scene i get error saying can access button
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.
Sorry 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..
I am having a problem with the video on my website. I put a couple of videos on there and I have them working. But if I click on another page, the sound is still playing on the video until it is over. I found a temporary solution by putting in the code to STOP ALL. This make it work how it should. But the thing is I want background music, and with the code I have know the music would shut off every time I go to another page. Is there any code where I could just shut the sound off for that video when I click on something else and not ALL sound?
We're trying to add a simple link to an existing Flash file. There looks to be at least 7 separate .as files and a separate swf that loads the main swf which all seems overly complex for what is essentially a page with six buttons on it.However, we need to add a URL to some of the text. So we converted the text to a button, added an instance name of <ssbpurchasetickets_btn> then added the following Actionscript into the actions layer on the frame the text/button appears:
ssbpurchasetickets_btn.addEventListener(MouseEvent.CLICK, ssbButtonPurchase); function ssbButtonPurchase(event:MouseEvent):void {[code]......
When we publish the file we get the following error which seems to cascade into a whole bunch more errors:Description: 1046: Type was not found or was not a compile-time constant: MouseEvent.Source: function ssbButtonPurchase(event:MouseEvent):void
We added "ssb" onto the button and functions to ensure there were no conflicts but the same thing occurred. If we copy the button into a new file everything works so it must be conflicting with something in the main files.
Im 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.