You can find the file in the attachment. It's not the site, but it's the datechooser I use as base. I found this code and this is probably the one I need, with a little modifications. The question is: in what place do I have to insert this code and to what object I need to link it? The target is that the user can't select a day in the future. comp.disabledRanges = [ {rangeStart: new Date(mydate.getYear, mydate.getMonth, mydate.getDay)} ];
I also found this one: if (selectecDate > Date){ alert("This date can't be in the future"); return false }
I did not realize how easy it was to create an xml driven text page in Flash until today. This gives me so much more to offer clients as they can now update the text fields in Flash pages I create. I now need to know the following: I used Arial font for a dynamic text field, will someone who decides to edit the text in the xml file later on always see the new text in Arial on the site? In other words as long as I used Arial in the .fla the font used can only be changed in the .fla correct?
how I can make Flash buttons with rollover/rollout behaviors like News Today? (Ex. Refresh, Find, Broadcast) [URL] Instead, I have crappy buttons that stay on the rollover state if the cursor rolls over them too quickly. I need 'em to go back to the initial state if rollout occurs. My crappy buttons: [URL]
Today is 28-05-2010, so I need to list Event 01. On 01-06-2010 I need to list Event 02. I have the basic AS3 code for listing the XML working, but I'm having trouble filtering the result.
I am trying to display a button, when a video clip finishes playing - the code i'm running does not generate an error, but does not work either.[code]...
what are the display:blending properties of buttons, shown in properties panel.my problem is the button expands its size in most of these modes, except in darken and others, which change the color.i need my button to not change shade and to stay the size of the area i converted to a button.
I'm still learning how to use Flash... and am still struggling on one thing. It may seem simple to the most of you -- how exactly do you have the content displayed once you click the button? I'm attempting to have the content for each navigation link button to show up each time it's clicked. Still a failure.
I am currently building a music player. I haven't been working with flash very long (a few months only) and i'm unsure how to switch between a play and pause button on the stage (i reckon it's a newbie qThis is the function i'm using to pause and play the track (which works fine... i just duno how to toggle the buttons when you click on them).
function toggle_pause() { _global.currently_playing; _global.write_debug;
I have a movie clip (mc_menu) that sits on the main timeline. Inside mc_menu I have several buttons that display items inside the mc. I also need to display an image on the main timeline. I have converted the image to a movie clip (mc_01). I am using AS2.
I made a short movie in After Effects and now I'm trying to add some buttons to it. The movie starts with an intro and when that ends a "continue" button should appear and take you to the next part. My idea was to place a screenshot of the last frame in the next keyframe with a stop() function after the intro and add the button to that but it would be less work to make the button appear the end of the movie using some code I have no idea about
What I am trying to do is create a window within the flash movie.Example I have three images on a products page. When you click on one of the photos I want a window to pop up within the MC.Also I would like a exit button on the page so when you exit out of the window you're still in the products page.
I'm trying to do this: When I roll over a button, an image appears. I have three buttons and 1 image per button that corresponds with it. When I roll out, the image disappears. I have most of it figured out, but the part that gets me is how to make each button correspond to one image. Right now when I roll over all three buttons, it only shows the image the first button should.
I've been learning AS3 lately and am trying to put together an interactive map. I've brought in some map data and converted it to individual movie clips, each of which has an instance name that I'd like displayed when each clip is clicked on. ideally an informational box would appear with the name of the clip and some other info that I've specified.
What do I need to script so that if one clicks on a movie clip, the instance name is displayed?
How can i on click of a <next> button display swf files one after another on a website?
I have created a few (will be a few hundreds eventually) flashcards (for leaning chinese characters), how can i make them show-up one after another on a click of a <next> button? (How to create the <next> button, where to place, how to code it, and how to make the swf files appear one after another when the button is clicked?)
Each flashcard is interactive with dozens of layers (all lasting one frame only, but there is a movie clip within a movie clip on the first frame of one of the layers (an animated clip to show *how to* write the character), it has a stop(); command in the first and last frames. And there are dozens of invisible buttons that allow the content (example words and sentences) to show up and hide on click of the buttons (all coded in AS2 i think).
Each flashcard on itself functions perfectly well when published , but i am really puzzled how could i connect all the flashcards and make them show up one after another on the click of the (yet to be created somehow) <next> button.
i have four radio buttons on the stage and i want randomize there order for my quiz so that when the user clicks back each time its a lil harder to get the right answer...ALSO is it possible to do this randomizing in accordance with the randomizing of my results in my database so that the answer will actually match the radio buttons??
create a button, create a movie clip with two frames.
place a button instance in frame 2.
place a mc instance on the stage.
create another instance of the button to change the movie clip instance to frame two.
the button in the movie clip is pressed and executes a function.
here's the code
Code: // create the button to show the button! _root.button_instance_2.onPress = function() { buttonClick1();
[Code].....
if, however, i use the same code on a movie clip that has only one frame it will work fine. do i need to tell the function to target the button instance any more specifically than that?
I have an AS2 code and I want it to be "processed" and the corresponding swf file be displayed only when the user clicks a button on my webpage.how do I implement it?
I have a website i designed which contains buttons that navigate the user to different points on the timeline using frame labels. when they get to the appropriate frame label, they are presented with a movieclip containing two layers. The bottom layer is a map, and the upper layer is a collection of printer buttons that have a tooltip component on them that show you detailed printer info on mouse over and takes you to the printer remote ui on release. each button has a unique queue name for the appropriate printer as its instance name (ex. itm100_btn). Here's the jist... I want to be able to place a dynamic text box near the printer button and using action script have it display the printer queue name automatically simply based on the button its targeting, or even placing the dynamic txt box inside the printer button mc. See, on some pages, there are like 24 printers... I DREAD having to put all these names in manually as there are like 150 printers total
Suppose there is a button on stage - on press - I want to [display / start to run] a movie clip present in library (should i place it on stage?) I tried: on (press) { loadMovie("one_mc", "1"); } not working.
I have something that ill explain as simple as possible. Lets say I have textbox X and textbox Y Textbox X is an input text of up to 3 numbers only. Textbox Y is controlled by an up and down button, max 3 numbers. I have a button that says Calculate, and when pushed, it takes the movie to frame two, where a third textbox Z is present, and i want textbox Z to display textbox X multiplied by Textbox Y
Its almost like a gas pump for your car, petrol is X dollars a litre, then you use Y litres of petrol, so your price (Z) is X multiplied by Y. What would be the code for the multiplication of textbox X and Texbox Y, and then to have textbox Z equal that answer. I am guessing it would be something like Code: _root.z == _root.x =* _root.y;
Ok so I've been battling with this code for 2 days now. I simplified my post and deleted my other thread.Here goes
Code: //temp assuming DefaultValue1 is being passed to flash // which it will be if this was published[code].....
At this point I either need to figure this out or find another option.I need to display the 1st 6 items in my array and on press of the next button i need to display the next 6.
i am trying to to do the following. I have 2 buttons on a page.when i click the first button it should just display the image i want it to.when i click the second button it should display the other image i want to display.
I'm looking to have a movie clip pop up, play itself after a user clicks on a flash navigation button.
(something like this???) message_btn.addEventListener(MouseEvent.CLICK, goMessage1); function goMessage1(evt:MouseEvent):void{ ???(play message movie clip here)???;}