ActionScript 2.0 :: Create Loader For External Swf That Will Have Features To Enable / Disable Sound

Dec 24, 2009

To create loader for external swf that will have features to enable/disable sound and to enable/disable external link requests.I don`t have source files for that external swfs.

View 2 Replies


Similar Posts:


Actionscript 3 :: Enable Features According To Flash Player Version

Dec 12, 2010

I'd like to know if it is possible to enable/disable some piece of code according to Flash Player version in ActionScript 3.

Let's say; I have a custom class customClass that uses flash.media.Microphone. The Microphone class has a property isSupported which is available for Flash Player version 10.1 and above (as stated in the documentation). I implement this property in my customClass... so:

I need something like this (by checking with the built-in Capabilities.version):

if (version >= 10.1) {
trace(_mic.isSupported); //this will throw an error if the debug version is not 10.1 or later
} else {
doSmthElse();
}

View 1 Replies

Actionscript 3 :: Flex 3 PopUpManager Does Not Correctly Enable Accessibility Features

Jan 3, 2012

I have an application written with Flex 3.6 and when I create a modal popup dialog, the buttons and text on that popup do not work correctly with the Accessibility properties that I have defined. The app is compiled with the accessibility flag. I build a simple app to test demonstrate the problem.

[Code]...

View 1 Replies

ActionScript 3.0 :: Create "Verbose Mode" (Enable/disable Trace Output)?

Jul 6, 2010

// Block Papervison3D trace outputPapervision3D.VERBOSE = false;that is, a global variable for enabling/disabling the trace outputs of my own program. I come up with creatinga class and putting a static boolean member variable. But there is something I'm not sure about: How to useit...For example: every time I need to do a trace, would I have to put this ? -->if( MyClass.VERBOSE ) trace("whatever");So it isn't needed to instance the object because a static variable is used. That's the way, isn't i

View 4 Replies

Professional :: Feature To Disable System Screensaver & Power Saving Features

Nov 20, 2007

Please provide the feature to disable the system screensaver & power saving features while a video object is currently playing a video. I get this request all the time when developing video players and now that the netflix player provides this feature it is becoming a must have in the online video market. If you know other solution which does not require .net, silverlight , or any other browser plugin besides flash please let me know.

View 1 Replies

Actionscript 3.0 :: Unload Loader Wont Stop Sound From External SWF?

Mar 24, 2010

I have a menu on my main page where i can choose some videos to play, these videos are in external SWFs that are loaded in and displayed using Loader, URLrequest etc.. etc..

I have a close button on my external swf that sends a dispatchEvent to an eventListener on my homepage to close the external SWF however the sound from the video in the external swf is still audible even though the visual is gone

heres the code

main page code
Code: Select all
function playVideo(e:MouseEvent):void{
//stop maipage sound
channel.stop();

[Code]......

View 2 Replies

ActionScript 2.0 :: F8 Way To Disable / Enable Component?

Feb 25, 2009

I bought a license for a 3D Carousel component HERE. What I'm trying to do with it is load movie clips when the user clicks an image using a lightbox effect that I built in Flash.Everything is working fine except that when the movie clip loads on top of the site, I want the buttons of the carousel component to be disabled so the user can't load another movie until the one active is closed.I know how to disable a button, which I'm assuming would work here, but I can't for the life of me figure out how to get the button instance names out of the component to disable them.[code]Does anyone know if I could modify this event to give me button instance names instead of obj.id? Or, failing that.if there is a way to just disable the whole damn thing?

View 1 Replies

ActionScript 3.0 :: Disable Function And Then Enable?

Sep 3, 2011

I have two functions, I need one that of them at the start would be disabled and after decent amount of time or when x = 1000, function would be enabled and become active. How can I do that?

View 1 Replies

ActionScript 2.0 :: Enable And Disable Button

Jan 13, 2011

i have been pulling m hair out here trying to work out how to toggle on and off states on my buttons. Once a user clicked one it fades and disables ok as I want but i also want it to enable and fade back up again when they select another button. Below is my code:

[Code]...

View 2 Replies

ActionScript 3.0 :: Enable And Disable Buttons?

May 24, 2011

I'm looking to create a bit of code the allows you to click on a button and disable the rest and so forth reinable when the others have been used

View 2 Replies

ActionScript 2.0 :: FMX - Enable And Disable MCs And Levels?

Jan 12, 2004

enebling and desabling MC�s(as buttons) and levels.Frequently I see websites that when you click on one menu item, until something loads the menu is disabled, or in other cases is usua� to see in gallerys, when you click an image the image open on top of things, and you can�t access the button or links being the image.

1- is to put a tranparent button on top of the movie or image that loads whit some closing actionscript, but i think this way is not nice;

2-the second one I though is to write some function for enabling and disabling things, but if I have lot of elements it�s not nice, and the third one is to add a Listener to Stage whit some onMouseDown event that closes the level or the swf loaded.

View 1 Replies

ActionScript 2.0 :: Disable The Button While The Others Are Enable?

May 17, 2004

is there anyway to disable the button while the others are enable what im trying to say if let say im on a about section of the site and i want to disable the about button while the rest is enabled

View 5 Replies

ActionScript 2.0 :: Enable And Disable Buttons?

Jan 19, 2006

I have a meny here with 5 buttons. They are called "undermeny1.btn1", "undermeny1.btn2" etc. What I need to add to this code is that when I click Button 1, this button gets disabled, and if I then click lets say Button 4, Button 1 gets enabled and Button 4 disabled. Maybe an easy one but I just cant think straight.

Here's the code for my buttons ("undermeny1" is the mc in which the buttons live);

for(var i=1;i<=8;i++){
var meny = undermeny1;
_root["meny"]["btn"+i].ivar=i;

[Code]....

View 2 Replies

ActionScript 2.0 :: Different Arrays Enable Disable Each Other?

Aug 2, 2008

So I have a series of movie clips(info_mc) with a movie clip(hover_mc) and buttons(info_btn) inside them. The reason I did this is because I had problems controlling a movie clip in a button.

So what I would like to do is group the buttons together somehow so that when one is pressed the others go .enabled=false; I think setting up an array might be the way to do this, but I don't know how to set one up correctly.

But wait, there is more What I also want to do is have another series of buttons, that when pressed allow the array of info buttons to become enabled.

View 1 Replies

ActionScript 2.0 :: Disable And Enable A Button

Mar 9, 2009

I want to create some AS to disable and enable a button. Let's call this ButtonX. I want this button to appear disabled at first, and then allow the user the option of enabling this button (ButtonX) by clicking another button. Let's call this ButtonY. I cannot get this to work. I am attaching the code I am trying. I have this AS added to ButtonY and ButtonX is the instance name for the button I want to de-activate-activate.

View 11 Replies

ActionScript 3.0 :: Enable And Disable Checkbox?

Mar 19, 2009

Okay I just need advise on how to make this simple instead of what I have now....it's working very well ...perhaps someone can shed light on me how to make it as more elegants code...because it gonna give me the problemo when Im dealign with 2 objects what about 4..to 6 objects my code will more longer

Code:
cbCC.visible = false;
cbBCC.visible = false;

[code].....

View 2 Replies

ActionScript 3.0 :: Right Way To Enable/disable In A For Loop?

Jun 17, 2010

I d'like to have your opinion about the best and effective way to enable/disable properties on a list of MC buttons.Let's say I got a menu of 5 MC links and I click on one of them. I want to disable the mouseEnabled propertie on it and change its color. But most important reset all the other ones.That's what I have so far but I feel it's not the best thing to do:

Code:
selectedButtonId = e.target.id (get the id of the clicked button in the buttonsArray)
for (i=0, i<buttonsArray.length, i++) {

[code].....

View 3 Replies

ActionScript 2.0 :: [F8] - Disable / Enable Buttons Between Levels?

Jan 4, 2009

Having problem enabling buttons on levels other than the _root once they are disabled. I have a feeling it's got something to do with the createEmptyMovieClip.[code]...

View 6 Replies

ActionScript 2.0 :: Enable/disable Button Through Xml In Attributes?

Jun 28, 2010

i would like to know how to enable and disable a button via xml. this is my code.

Code:

if (worksList[cp].attributes.button = "true"){
button.enabled = true;
}else if (worksList[cp].attributes.button = "false"){
Button.enabled = false;
}

View 2 Replies

ActionScript 3.0 :: Enable And Disable Context Menus At Will?

Aug 29, 2010

I have custom context menus that I wish to disable when I do a certain action in the application, and re-enable them again once the action is finished. Kind of like using save as in a program. When the save window comes up all parts of the program is disabled except the save window.

When the window appears in my application, it doesn't cover the movieclips that I want to disable context menus for. So can I do this with Flash alone?

View 5 Replies

ActionScript 2.0 :: Disable And Enable Text Input Box?

Oct 5, 2010

I'm doing a presentation flash and in my presentation, I don't want to show my mouse movement.

I have a text input box for me to enter text. The text box property is set to dynamic.

I have create a keylistener for me to press "I" or "i" and when I press "I", I want my text input box to enable me to type text in.

How can I code in AS to achieve this action?

Initial state of text input box is disabled, when I press "I" or "i" text input enabled and I can type in text. After that, I press another key, will disable the typing of text again.

View 3 Replies

ActionScript 3.0 :: Disable / Enable And Reset Buttons

Feb 1, 2010

I have an array of buttons. I need to be able to disable the selected button and enable the reset.Ex: 5 buttons on stage when click on btn1, btn1 disbale and btn2> btn5 enable.I´ve attached  the main code.[code]

View 9 Replies

ActionScript 3.0 :: How To Disable / Enable Input TextField

Jun 23, 2011

How do I disable and enable an input textfield? I have tried these but it returns me with error
1119: Access of possibly undefined property editable through a reference with static type flash.text:TextField.
mc_box.txt_input.editable = false;
mc_box.txt_input.enabled = false;
I have the input textfield inside a movieclip. I have already imported:
import flash.text.TextField;

View 3 Replies

Disable / Re-enable Interactivity With All Display Objects

Jun 24, 2010

As an AS3 beginner, I'm trying to translate an old AS2 trick into AS3. I want to disable then re-enable any kind of interactivity with all the display objects on the stage, at once. For example while waiting for external assets to load or after a user clicks on a menu item.

This what I used to do with AS2 :
protect_mc.onRelease = function():Void {};
protect_mc.enabled = false;
protect_mc._alpha = 0;
protect_mc._visible = false;
Then switching protect_mc._visible to true or false.
(protect_mc being an empty movie clip with the stage's height and width, at the highest depth)

My first idea is registering a listener with the Stage for the capture phase of MouseEvent.CLICK that stops all input events propagation (mouse, focus, text...), when a "lock" static variable is set to true or does nothing otherwise. Second idea is using a Custom Event...

View 2 Replies

Flex :: Enable/Disable Certain Tabs In TabBar?

Apr 19, 2011

Is there a way to Enable and Disable specific tabs in a tabBar? I found one example using a VBox within the ViewStack but I'm using NavigatorContent.

View 4 Replies

ActionScript 3.0 :: Enable And Disable Context Menus?

Mar 17, 2009

I have custom context menus that I wish to disable when I do a certain action in the application, and re-enable them again once the action is finished. Kind of like using save as in a program. When the save window comes up all parts of the program is disabled except the save window.When the window appears in my application, it doesn't cover the movieclips that I want to disable context menus for. So can I do this with Flash alone?

View 14 Replies

ActionScript 2.0 :: Play With Button Enable & Disable

Oct 1, 2005

1) how to show alert messages

2)there are three buttons in my project button 1, button 2, button3 if you press button1 button 3 should get disabled and if your press button 2 then button 3 should get enabled and also an alert should be displayed at the same time that button 3 is disable or enabled

View 1 Replies

ActionScript 3.0 :: Enable/Disable Group Of Filters?

Jun 4, 2009

I was wondering if its possible to add an array of filters to a movieclip, then remove the ones that correspond to another array.At the moment, I can add the filters to the array with concat but there doesn't seem to be anyway to reverse that.I think it's easy to show what I want to do with code:

Code:
var filterslist:Array = new Array();
var filters1:Array = new Array();
var filters2:Array = new Array();

[code].....

/* hover out: (what I want to to do but no function seems to exist): */

filterslist = filterslist.removegroup(filters3); // think of it as an inverse concat function
this.fitlers = filterslist;

I think it may be possible to do by looping out the filterslist array, sub-looping the filters3 array and then comparing each one and splicing it out if they match but this seems long-winded, bad code and would produce bad performance.

View 3 Replies

ActionScript 3.0 :: Enable And Disable Text Input Box?

Oct 5, 2010

I'm doing a presentation flash and in my presentation, I don't want to show my mouse movement.

I have a text input box for me to enter text. The text box property is set to dynamic.

I have create a keylistener for me to press "I" or "i" and when I press "I", I want my text input box to enable me to type text in.

How can I code in AS to achieve this action?

Initial state of text input box is disabled, when I press "I" or "i" text input enabled and I can type in text. After that, I press another key, will disable the typing of text again.

View 1 Replies

ActionScript 2.0 :: Disable And Enable Text Input Box

Oct 6, 2010

I'm doing a presentation flash and in my presentation, I don't want to show my mouse movement. I have a text input box for me to enter text. The text box property is set to dynamic. I have create a keylistener for me to press "I" or "i" and when I press "I", I want my text input box to enable me to type text in. How can I code in AS to achieve this action?Initial state of text input box is disabled, when I press "I" or "i" text input enabled and I can type in text. After that, I press another key, will disable the typing of text again.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved