IDE :: Flv Controls With Text Buttons?
Jan 17, 2009I don't want to use the flv controller skin to play/pause my flv movies. I would rather use text buttons ("play" and "pause") instead.
View 1 RepliesI don't want to use the flv controller skin to play/pause my flv movies. I would rather use text buttons ("play" and "pause") instead.
View 1 RepliesI'm looking to build a basic menu in XML where I can add and remove buttons from the xml file and control the buttons to gotoAndPlay a frame label in Flash. With my project I will be frequently adding/removing buttons and/or changing the button name so I'd like to do this externally with an XML file.
View 0 Repliesi want to control a movie clip with two buttons, one backwards and one forwards, the movie is 25 frames long and needs to stop at every 5 frames each time one of the buttons is clicked. Below is some code i have been trying to get to work
[Code]...
I have a 400x300 area that needs to detect a rollover and animate several buttons, text fields, etc. sliding into it when the mouse rolls into the area so that they can be manipulated, and animate them sliding out when the mouse rolls out of the area to hide them from view. (example here: [URL])
What is the best way to do this? The only way I have got it to work so far is by using a listener to track mouse position, but it's not reliable since you can move the mouse quickly in some areas of the movie and the listener doesn't catch it.
[Code]...
i'm loading an external swf files in one but the buttons inside the external files wich controls its timeline doesn't work, i'm using AS3 but why it doesn't work.The external file just has some simple actions to move between keyframes in the timeline with buttons goto and some other similar actions
View 4 Repliesi have the controls for car number 1 that would be the arrow keys if [code]but how can i make controls for car 2.i wann use wasd but i cant figure out how the key.a doesnt work.
View 1 RepliesIs there a way to apply, say, a DropShadowFilter to the text within a TextInput component in Flex 3 without affecting the component itself?
View 1 RepliesThis is a really easy one that I thought would be easily found on google but I can't think of the terminology. I'm using CS4 and AS3 with a few multi-line dynamic text boxes beneath one another. When I populate the top text box I would like it to automatically push down the other text boxes beneath it when the content flows on to extra lines.
At the moment it only wraps to the gap that is between each text box but then stops when reaching the text box beneath. Is there a property to allow for this (I've worked in Silverlight and there was on controls there) that I can just set or will I have to manually implement this and call functionality to re-set all the controls y properties each time I change the text in the text box?
I keep getting this error and I'm not sure why.
TypeError: Error #1034: Type Coercion failed: cannot convert flash.text::TextField@3a062121 to fl.controls.TextArea.
at SrHome_fla::MainTimeline/frame3()
at flash.display::MovieClip/gotoAndPlay()
at SrHome_fla::intro_mc_3/frame139()
Here is the code that I am using that produces that error.
import fl.controls.*;
var info_txt:TextArea = photoArea_mc.photoSquare_mc.info_txt;
var image:XML = new XML(<image/>);
image.@fileName = "pic1.jpg";
[code]....
I'm creating a menu system, the text buttons should, on rollover, move all buttons to the left (of the button currently rolled over) 100 pixels, in the gap created a sub menu running vertically will appear which will break into a 2nd horizontal submenu etc. I'm still in the early stages, and have hit a stumbling block, I placed a trace (this); cmd in root of the roll over function then again in each segement of the IF/ELSE loop inside that fuction. The trace CMD in the root of the rollover gives me the feed back _level0.btn1 or 2 or what ever button I have rolled over but the ones inside the IF/ELSE loop all say _level0.btn0 regardless of the button I roll over!
[Code]...
my problem is that if you go over the menu text above my scroller it controls the scroller. I wan this areas movement to have no effect on the scroller below. is there a way to script my scroller to set it to this?
View 1 RepliesI want to make some buttons and use the buttons.fla library. The button is inserted and given an instance name. A second button is inserted (same kind) and given a new instance name. But when I am trying to change the label text in one of my buttons the text is changing on the other button as well. I believed they where separate instances?
[Code]...
I have read the tutorial called "loading text from external sources"(with 3 buttons loading 3 different texts) . I tried it but when I click right on the button, it says "cannot place actionscript directly on an object" Must the different buttons be on different layers?(In my project, they are on the last page of my site)
View 10 RepliesThe code I'm building creates two MovieClips on the stage, in one it instantiates several text boxes and in the other some buttons.
What I can't do is access data from the text boxes (e.g. textField.text) for use in the functions called by the eventListeners attached the buttons. I had the system all working nicely before I placed the text boxes and the buttons on separate movie clips.but this structure makes it much tidier to refresh the text I'm using.The button functions are fine with variables created prior to the building of the text boxes.
Am I failing to address the text boxes correctly (because they're on another movie clip) or is there a stage / movie clip property I need to set so they can see each other ... or is this something else altogether?Could it be that the buttons are created before the text boxes?
All I want to do is add text from my string to dynamic text field when I click dynamic buttons. What should the as code be for this? Here is my code. Right now I just have the click returning another shape.
[Code]....
Is it possible to login through flash using one Dynamic Text Field and one Input Text Field and no buttons? If so how? I have seen many tutorials dealing with logging in to PHP using flash but it requires you to make your own php scripts which i am not familiar with. Can some one tell me how to do this with PHPBBs existing php scripts... I want to be able to login thorugh a Input Text Field box and have it verify it in PHP and also be able to register and view other PHP info such as users online and FAQ..
View 2 Repliesi have some code in a movie clip where this.onPress is a function, and the action is:
Code:
_root.dyntxt.Text = "something";
but nothing happens..
I am new to actionscript 3, when I publish this code everything works fine except that the hand disappears when it is over the text. Is there something that I am missing?I tried applying menu_txt.buttonMode = true, but I got an error.[code]
View 3 RepliesI am new to flash. I have had this flash header up on my companies website for live for over a year now[url]...
I want to be able to change the text for the different menu options. (ie. swap About Us with Products).
I am fairly computer literate, yet having a hell of time trying to figure it out in the flash editor. All of the button just say Home and they seem to be drawing from some root, but cannot figure out where that is or how to edit.
I've got my canvas size at 900x600 pixels, the text i want on the screen is too large for the site's design, so i want to have the text in the middle with 2 scroll buttons UP - DOWN on the right hand side of the text. [let me point out i dont want the scrollbar from components cos it doesnt go with my sites colors]. So thats not an option.
I looked online and it said 'make a text box, select 'scrollable' then create a button and right click and type in the following into the actions' but when i right click the buttons actions i always get 'current selection cannot have actions applied to it' There was a reason i stopped using flash, and it seems ive stumbled upon that reason again, im reading tutorials on the CS3 Pro version which is the one i have and what its telling me to do is not possible.
Text Button UP, Button DOWN
Click DOWN text scrolls down
Click UP text scrolls up
I would like the code or links to the code to help me make buttons and plain text to navigates to various pages in a flash site.
View 1 RepliesI am an educator and I am designing an interactive activity for my students. I created two buttons named button_B and button_G, and an input textfield named in_Text. How can I write actionscript so that when a student presses button_B, the letter "B" is entered into the input text field; if a student presses button_G, the letter "G" is entered into the input text field. More than one letter entry is acceptable as a student's answer: for exmple the entry BBB, BGB within the input field is okay.
View 3 RepliesI have been in the habit of making buttons with a dynamic text field. This way assigning a value to the var property of the text field would allow me to reuse the button symbol and assign different text to each. In AS3 it looks like the text field Var property does not exist any longer. Does anyone have a suggestion for a work around? I would like to avoid having to make a new symbol for each button.
View 9 RepliesSo far when you hover over a piano key, its note name is displayed in an LCD screen with a dynamic text field. I know theres got to be a way to write a function that applies to all notes but so far I've written a function for every key! eg.
keyboard_mc.A0_btn.addEventListener(MouseEvent.MOU SE_OVER, noteOn);
function noteOn(event:MouseEvent):void
{
[code]......
I am trying to get a dynamic text box embedded in a button to populate on (XML) load but am having trouble with the path. The text boxes which are not embedded populate just fine. My fla and xml files are attached.
View 0 RepliesI've a button with the instancename "steunen_btn". In this button there's a dynamic textfield called "weergave". Now when people select another language I want the buttons to change. So I thought I make a button with the following AS in it:
[Code]....
I have a virtual keypad "if you will" and each number is a button. I have an Input text box with "inputN" variable and id like the buttons to create a string in the box when they are clicked. I have an mc tracked as a button with this script on button 1 on (release) { inputN = "1" ;}when i do this with number 2 obviously it just wipes the other one out.Im creating an cash machine basically and am trying to get the PIN input to work correctly.
View 4 RepliesI want to populate a series of buttons from and external text file but unsure of how to do so. Lets say I have 5 buttons. Each one with a Var (Target1, Target2, Target3, etc.). How do I change the text on those buttons from and external text file?
View 1 RepliesI'm fairly new to CS4 and like Dreamweaver CS4, the changes have been hard to over come in some areas. I can't seem to link text, graphics, or buttons to a URL. I get a message saying "Current selection can not have actions applied to it" When I was working with text originally, I found that I couldn't click to bring up the URL, but I would right click and open in a new window.
View 1 RepliesI am making a dress up-like game but I am having problems with my buttons. I want to have 8 text buttons (hat, shirt, pants, etc) on the menu and when you click on the text button, the image of hat will appear on the figure, so I'm not asking drag and drop kind of effect.But I still want to be able to click on the hat and make it disapper,what's the actionscript I'll need to do this??
View 6 Replies