IDE :: Why Are The Components In FLA Disabled
Feb 20, 2009why are the components in my FLA disabled? nothing happens when i click on them.
if you cant open the attachments, change thier extensions from .zip to .rar
why are the components in my FLA disabled? nothing happens when i click on them.
if you cant open the attachments, change thier extensions from .zip to .rar
This is the code i got and you can see the attached output, but i still got a problem, like after the user has selected one of the radioButtons and clicked submit button i want all the components even the submit button to be disabled so that he won't click around until he gets the rite answer. How can i add this fucntionality to ma code below:
[Code]...
I have a vertical tab-bar with 4 items with different sub tabs. All the four items use data from a single xml file, which is a big file. When the user clicks on a tab, while the data is being loaded this error is shown. TypeError: Error #1009: Cannot access a property or method of a null object reference. I want to disable all the tabs while the xml file is being loaded.
View 3 RepliesI'm making a VERY basic Jeopardy game, and I need buttons to be disabled after being clicked on once.
Oh, and I'm working in CS3, but I'm using AS 1&2 because that's what I learned... I have no idea how to use AS 3...
example: frame 1 has btn11 in it. btn11 when clicked takes the person to frame 2. when done with frame 2, they click on return.
the return button (btnReturn1) has the following AS
on (release) {
gotoAndStop ("Round1",1)
btn11.enabled=false;
}
the problem is that it works at first - the button disables when I get back to frame 1, but the next time I click a different button then return to frame 1, the first button I disabled isn't disabled anymore.
my actionscript so that my disabled buttons stay that way no matter how many times I come and go from the frame? or if you have a better way to do it, that'd be great. basically, it's like the jeopardy screen, and after "songs" for 200 is clicked, I don't want it to be clickable again at all.
Do you know any flex component with the functionality such as horizontally collapsible window or panel I found arc90, but it folds vertically.
View 1 RepliesI am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating the Vbox....
[Code]...
Is it bad practice/design to nest components inside components using Flex 4? Should I simply be creating components and inserting them into my main application as below, or doesn't it matter?
<com:MyComp1>
<com:MyComp2>
<com:MyComp3>
[code]....
how i can use actionscript component code in mmxl components,as in actionscript components we use classes ,but in mmxl component we can not use classes function, so how i can use actionscript component code in mmxl component
[Code]...
but i cant use this code in mmxl components how i can use public class DialogTitle extends HBox implements IBindingClient in mmxl component code,what are the way to use it,sorry i am newbie if it is silly question
I am facing a big problem in firefox: the ALT GR key is disabled on some simple pages:(try to type in an email)This simple page DISABLES the ALT GR key
<html>
<body>
<iframe src="http://www.dialogoo.com/vdialogoo.php?id=2" width="100%" height="100%"></iframe>
</body>
but if you open [URL]ALT GR is working !This strange behaviour only happens on Firefox !It seems Firefox + Iframe + Flash = disable ALT GR key !
I'm trying to disabling a button I have, but what only happens is that the states Down and Over are disabled, but the button still does something when I click it.
ActionScript Code:
//The place where I set the event
playerOneField.player1JoinButton.addEventListener(MouseEvent.MOUSE_DOWN, handleClick);
[Code].....
I have a movie that has a play button. I need this button disabled on only one single frame ("end"). and enabled on all others. I have this code on the first frame
this.onEnterFrame = function() {
if (_root.currentframe="end"){_root.scrubber.playbutt on.enabled=false;}else{_root.scrubber.playbutton.e nabled=true;}
}!
I know that CSS component support was disabled in CS3. Is this still true for CS4 (AS3)? I have a set of component skins that I bought real cheap, but I bought it knowing that it was designed for Flex (came with a .fla, .mxml, and .css) but I was hoping there was a simpler way to skin my components than sitting down and replacing each individual part of the component (plus the new skin graphics are named remotely close to their intended usage so I'm kind of clueless what goes where).
EDIT: I should have mentioned this is for the Flash CS4 IDE...
I have a set of buttons with the following script... so when clicked they go to relevant frame. My question is how to I temporarily disable a button so it appears highlighted but you cannot click it when you are in that spot. E.g. when scenario 1 button takes you to scenario 1, I only want the others buttons to be clickable...
A_scenario1_btn.addEventListener(MouseEvent.CLICK,part1scenario1);
function part1scenario1(event:MouseEvent):void {
gotoAndPlay("label4"); }
A_scenario2_btn.addEventListener(MouseEvent.CLICK,part1scenario2);
function part1scenario2(event:MouseEvent):void {
[Code] ......
I have an iPhone4 plugged in via usb.I an create ipa files and put them on the phone using iTunes.I would like to be able to use the test/debug on device via usb, but in the menu, it's disabled.
View 8 RepliesIs there a way in Flex by which a disabled canvas looks exactly the same as an enabled canvas? I haven't been able to make sense of disabledOverLayAlpha and disabledColor properties for a Canvas component.
View 1 Replieswhen i doubleclick on the linkbutton its still working i dont know even though i have made linkbutton doubleclickenabled property =false too.
View 1 RepliesHere's the thing, I'm making a flash game that uses some pixel techniques like copypixels, bitmapdata, etc.
Im planning to offer the game to FGL (Flash Game License) and I read that they doesn't not allow wmode, and many other portals do the same.
is my game taking advantage of wmode=gpu?.. how can I run my swf file and disable wmode for sure?, I just want to know if my game will run smothly without that wmode enabled.
I have TextInput with formatting applied. I want the TextInput disabled after the user enters an answer. But disabling the field causes the formatting to disappear. Is there a way to maintain text formatting and still disable the input
Code:
import fl.controls.TextInput;
var myTextInput:TextInput = new TextInput();
[code]......
I am creating a game using flash. When the player looses the game, I need to show a message like "You lost...!!!" as an overlay to the currently displayed view. So when this message is displayed, user should not be able to click the controls (may be button or some movie clips) behind it. How can it be possible?
View 5 RepliesI don't even know where to go looking for this.
I have a game with a timer. Lots of moveable pieces using startDrag and stopDrag on a dropTarget. when the timer hits Zero, all the pieces are disabled using enabled=false;
but if I am mid-drag with a piece when the clock runs out, I can't get rid of it, and it won't let me hit my "reset" button.
Now that I have the focus on my DataGrid and I can select a row using the up and down keyboard arrows, I then would like to confirm my row selection by hitting the enter key.But, my keydown listener on the DataGrid doesn't see the enter, escape and delete keys. Most of the other keys are seen. I can browse the list by using the up and down keys (and I can see my function in the keydown listener are called).It only happens when I check my application from the Flash IDE. In debug mode, these keys are taken into account.My DataGrid is not editable but selectable.
View 5 RepliesI've downloaded the Flash CS5 trial and am trying to use the software, but a lot of buttons and symbols are greyed out for me and I don't know why. Here's a typical use case for me:
- Open Flash CS 5
- Create a new Flash AS3 Project
- Try to use the buttons on the right-hand toolbar, but they are greyed out
Also, I can import images to the stage or library, but I cannot click anything or edit their properties.See attached image for a screenshot of the buttons in their disabled, greyed-out state.I can even open an old project made in CS4, but again, I cannot edit any symbols that I've already made.Is there something I need to do to enable the buttons?
A disabled checkbox in flex looks very "light" colored, almost invisible. Is it possible to make it look like an enabled checkbox which does not do anything on a click event?
View 2 RepliesIn Actionscript 3 I see that if I press the "8" key (from the numpad) I got the result of keyCode of the numpad key "8", but when I disable the "Num Lock" and press the numpad key "8", the event I receive the keyCode of the Up Arrow key...
How to difference between the keys of the numpad (with Num Lock disabled) and the original keys, such as the Arrows, End, Insert, Delete and so on?
I've tried using the keyLocation property of the event, the value of that property is 0 for the arrows and 3 for the numpad, but when the Num Lock is disabled the value for the 4, 6, 2 and 8 in the numpad are 0, so I can't difference between the numbers with numpad disabled and the Arrow keys.
Also the numLock property of the Keyboard class didn't work, because I can't know if I press the Up Arrow or the 8 whit Num Lock disabled (because they trigger the same event, or I think that)
I have a CSS file containing the following definition :
[Code]....
Now, I want to use the disabled-skin defined in the CSS, as the upSkin of b1. So something like b1.setStyle("upSkin","Tab.disabled-skin"); But I am struggling with the exact syntax of the second argument for setStyle. What should I use for the second argument for setStyle method?
How to get focus for a disabled flex control. When a flex control is set with enable=false ,the control is not focusable and hence is not read by a screen reader. When a user tab's it should also go to the disabled controls.
View 1 RepliesI'm displaying a list of buttons, some of which might be disabled. I need to show a tooltip on the disabled buttons with an explanation of why it's disabled, but it seems I can't disable the button without disabling the tooltip. Is there a simple way around this?
View 3 RepliesI've got a problem while migrating my TabNavigator from Flex 3 to Flex 4.5. Stripped to the bare minimum, the following code will produce the bug, namely that the second child of the TabNavigator fails to be created properly:
<?xml version="1.0" encoding="utf-8"?>
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
[Code]....
Is this really a Flex bug, or is there something I'm missing? I'm using Flex 4.5.0.20967, and all of this worked well in Flex 3.5.
I'm having difficulty setting up the tabbing of some textfields after I disable and then re-enable the tabChildren property. Has anyone found a solution for this? I'll use a very simple example. I set the tabIndex of all the textfields. I test it out and the textfields tab properly. Then I set the following pseudo code to a button which will disable all the textfield tabbing in a particular MovieClip ("mcForm") and then one line later, it re-enables the tabbing:
mcForm.tabChildren = false;
mcForm.tabChildren = true;
However, the expected behavior does not happen. I expect that when I click the button, there would be no change in the tabbing, but in actuality the tabbing of the textfields are now disabled. It's almost as if the 2nd line of code that re-enables the tabbing has no effect.
I'm using the slider component, and its working pretty well. I'm just having 1 issue with the enabled state. the Situation: The user has to click and hold the slider down throughout the application. once their session ends the application sends out an event to disable the slider amoung other things. All of the events work fine except for the sliders disabled state.
the Issue: The slider is effectively disabled although because the users has focus on the slider handle before and whilst the disbale event fires the user can still move it around like its really working. Untill you release your mouse it continues to move around.
I'd like to somehow force a release click or something to loose focus on the slider component so it takes on the disbaled state right away once the event is dispatched rather than waiting for the user to release for this to happen.