ActionScript 3.0 :: Making The Flv Component Accessible?
Jun 19, 2009
I am using the flv player component and am having trouble adding the players buttons to the tab order.I opened the FLA for the skin I am attaching to the component, and individually selected the play, close caption and full screen button and assigned them each a tab order number within the Accessibility window. I also selected the "make object accessible" checkbox for each button within the Accessibility window. Doing that didnt seem to work, so I looked further and found that there is an accessibility class and I have now tried to utilize that class with the following code:
import fl.accessibility.ButtonAccImpl;ButtonAccImpl.enableAccessibility();
but still dont seem to be doing something right?does anyone have experience accessibility and the flv player component?
View 2 Replies
Similar Posts:
Jul 12, 2009
I have just finished a flash movie for a client which is an interactive payslip to explain all the different sections. They have got back to me and said it's great but I need to make this accessible for screen readers etc, and sent me the following link: [URL]. I have read through it all and I am slightly confused as to now how to make my complete movie accessible. Can I just add in the text links on the Accessible panel for the movie clips or will I have to create a whole separate column of hidden content for people to tab through?
View 2 Replies
Mar 4, 2011
When you initialize a new object, how can that class have access to a variable from the parent?In this case Blob needs to be able to access scale?[code]
View 2 Replies
May 2, 2011
I want to make a TextArea component public so it can be accessed from other frames. For example, I want to be able to say that if this button is pressed change the TextArea text to "1" and go to the frame.
I have no idea how to do this, i've tried : frameHome.textArea.text = "1"; to change the text but it doesn't work so i'm presumming that i'm a little off mark.
View 1 Replies
Nov 9, 2005
in Macromedia flash MX i noted that the scollbar component when is droped over a textbox, it take the name of that textbox like a target text box... how is this done? I mean, how the component knows where i'm droping him?? and how it knows that is a textbox object and no another thing.
View 7 Replies
Jul 23, 2007
Relative newcomer to Flash, and I have (what should be) a simple question: how does one go about making the CS3 checkbox component larger? I'm not talking about the bounding box (checkbox + label); I'm talking about the checkbox itself. I've looked all over the place, and I'm stunned that this doesn't appear to be as easy as I thought.
View 1 Replies
Nov 21, 2010
I'm making some custom controls/components and I have an issue with package paths. I know what I want, but don't know how to do it. I'll try to illustrate with code:
PHP Code:
package {
public class Test extends Sprite {
public function Test() { // let's make some instances...
//I'll use full path names to avoid imports
var _one:ClassOne = new domain.controls.ClassOne();
[Code] .....
This is all ok, works and stuff. But as you can see code is awefull. And If I make import statements:
import domain.controls.Style;
import domain.controls.classTwo.Style;
I'd still have a mess in code, since I'd have to use full paths.
Now, I would like to simplify things, but keep it clear also. Lets say I'm making a component that uses several controls. I want to make package part of the assignment statement, like:
Code:
import domain.controls.*;
......
// inside my component
test1.style = Style.DEFAULT;
test2.style = classTwo.Style.RED;
But this is not working. I was thinking about making some kind of proxy class/variable/object named classTwo.
View 6 Replies
Apr 24, 2011
I'm trying to make a console for text based i/o. The output window needs to be able to print char by char in multiple colors, wrap horizontally and scroll vertically.Most of that isn't a problem with the default TextField class, but I'm having a lot of trouble getting the colors right.If I use the htmlText property and wrap each character with "<font color=000000></font>" it starts a new line each time I add text.TextFormats don't seem to work at all for some reason. I do something like this:
ActionScript Code:
var tf : TextFormat = new TextFormat();
tf.color = FFFFF0;
textField.setTextFormat(tf);
...and then add the new text but nothing changes. Even if it worked, could I even use multiple TextFormats in a single textfield?I've been reading about this new "Flash Text Engine", and I'm wondering if there's some way that can help me, but I'm having trouble finding enough examples to understand how it works.
View 4 Replies
Mar 9, 2010
I'm currently making a playlist out of the component List and I want to add in thumbnails in there. The playlist shows the choice of videos that can be played.
View 6 Replies
Feb 1, 2007
Is there any way for Making transparent the textarea component's background ?
View 14 Replies
Jan 24, 2011
I have a component based on canvas, and within that component I have two images. I have the component listen for a click and when that event occurs one image goes transparent and the other becomes visible. This part works perfect. Now, on clicking that component, I also want to do something to the parent canvas, I already have this working for more basic types (image, canvas, text, etc) but the problem with my component is that the click event has the internal image as the target, so what I want to happen to the outside canvas is happening to the canvas of the component. How do I make my component as a whole the target of any clicks on it?
3.5 SDK
View 2 Replies
Jun 3, 2010
I am trying to make the SIMPLEST POSSIBLE MP# player using the player component preinstalled in flash.It is very simple, the code is as follows:
Code:
on (release) {
player.contentPath ="Song.mp3"
player.play()
}
("player" is the mp3 component)
This works if I want a single track to be selected and played.Now, I need it to AUTOMATICALLY LOAD THE NEXT TRACK, which I will input in the code.I am thinking something like this:
Code:
player.onSoundComplete = function() {
player.contentPath ="Song.mp3"
player.play()
};
But this is not working.
PS: I know an XML file would be the best here, but I don't want to use it. I just want to enter the next track's code inside the swf.
View 2 Replies
Feb 14, 2011
I'm looking for resources on making an interactive charting component in Adobe Flash without use of Flex (or, minimal use). That is, starting "from scratch" with Flash and ActionScript 3.0. Is there recommended reading? Perhaps a good recent book on the subject, or a detailed blog article, or an open source project to look at? I'm interested in the development process, and specific design patterns (for example, extending Sprite as the logical base class for your component).
View 1 Replies
Sep 18, 2010
I have several buttons within a flash file. The hierarchy is this:mainmcholder workmc service1mc.All three are separate swf's loaded into holders. Now within service1mc, there are several buttons..clicking any buttons loads another external swf, related to that button, within an emtpy movieclip which is placed above these buttons. Now when one button is clicked, all the buttons are disabled and dimmed. When the user closes the external button-related swf, all buttons are enabled and _alpha is made 100 again.Everything works fine till the external button-related swf is closed. The buttons are disabled and dimmed, but when the swf is closed, the buttons are inaccessible.
I have placed the code within onLoadInit(), wherein the external swf (_mc), has an event listener attached to it. When the event is dispatched, (which is successfully completed), a function is executed, which is enabling the buttons. The function is also getting executed, but the buttons are not reachable. It seems to be a path issue.[code]I have used the same path for disabling them, and that seems to work.
View 2 Replies
Mar 22, 2012
I have installed eclipce and I want to work with flex.I found some site (url...) where somebody said that we need to install flex sdk. And than they said that we need to open window->preferences and on left side select 'Flex'. But I don't have 'Flex' item here... What is wrong? I also installed Flash Builder trial, but it does not make any sence.
View 1 Replies
Jul 25, 2009
does anyone know how to make the flvplayback control accessible? meaning to be able to use the tab key to navigate the play,stop,fwd,back buttons? According to Adobe I should be able to load up a skin and its already set.
"All skins provided by Flash CS4 Professional support keyboard and screen reader access, so developers simply insert the FLVPlayback component on the stage in Flash no configuration is needed."
This is incorrect. I have tried to load several different skins and it fails, my coworker tried with her system "fail" I've managed to create my own playback bar (sorta) and was able to get the tab to work by assigning tab indexs however the flvplayback skins does not allow tab indexing.
I cant actionscript worth a lick so using my playback bar is not an option and the SkinUnderAllNoFullscreen playback was the chosen controller. point me in the right direction. Adobe and the forums over there were of no help.
View 1 Replies
Oct 18, 2010
I'm being asked if some resources I created can be made accessible. Currently each resource is the exact same launch.swf, but each is pulling from a different xml file. I'm so proud of myself! But now it looks like you can't dynamically generate accessilbe resources. I'm being asked for the alt.text equivalent of various text boxes, while the actual content of each box depends on multiple factors.
View 1 Replies
Nov 14, 2009
I am creating a custom Flash component with AS3. My component's main class imports a class with a static variable. How can I make this class accessible by the user of my component from a flash-level? This is the example:
my component's main class:
package
{
import flash.display.MovieClip;
import MyStaticClass;
[Code]....
The thing is I don't want to provide the user with the MyStaticClass source. I would like it to be automatically imported and accessible after dragging the component to the stage.
View 5 Replies
Jan 8, 2010
Basically, I have been asked to develop a function on a Flash player so that you can change the colour of the control panel using a variable.The control panel's background elements aren't accessible from the main class; they're private members because the panel's layout and appearance are something I might want to change without having to change the main classHow on Earth can I directly modify a control panel's colour transform when they aren't directly accessible? I've looked at various forum posts but nothing matches exactly what I'm after I guess this will involve using colorTransform but how do I invoke this on something that sits in the fla file?
View 3 Replies
Feb 7, 2010
I am working on a browser project for the blind in my university. For swf files, I am trying to access the contents of an SWF and parse so that screen readers can use it to read it aloud. I was successfully able to extract static text using swfutils.jar from inside the Flex SDK. But I was wondering if the following i spossible : Given a flash webform, I should be able to move the through the fields using 'Tab' and then read out the buttons ( by extracting associated text), and read it aloud so that the user can click the required button.. I hope I am clear with my problem description..
View 2 Replies
Nov 15, 2010
I'm using swfobject.js to deploy load my flex applet. Unfortunately, while I'm able to run/debug in Firefox via Flash Builder, I cannot access the deployed applet via its URL -- the applet doesn't load/start. I can access the deployed applet via its URL from both IE 8 and Chrome 7. Below are the swfobject code and the produced object tag:
<script type="text/javascript">
window.onload = function() {
<!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
var swfVersionStr = "10.0.0";
[code]....
View 1 Replies
Apr 12, 2011
I'm working on a portfolio suggestion application in Flash, which consists of two views: ask user for 3 to 4 points of information, and display recommendations based on that information.The first view is going swimmingly, as all I need are the graphics to be created. However, I'm having trouble understanding how a AS3 variable can be seen across keyframes when it was declared and initialized on the first frame.The only multi-view app I've done is a Restaurant Guide flash app that was described in Adobe Flash CS5 Classroom in a Book. In that example, the only AS function on four of the views was a stop() function.If I were to do the same in this app, and declare the variables as global in the first frame, will they be accessible throughout?Two comments have said that my question is unclear, so I hope this makes my question more understandable. I want to know how, if I gather all the user information on Frame 1 and then switch to a view on Frame 15, to access those variables on Frame 1.
View 1 Replies
Jul 24, 2009
I've got Captivate movies dynamically loading into a Flash movie. The problem is, the tab index which works so well when the Captivate movies are in stand-alone mode falls apart when loading the Captivate movie into a Flash shell. I've tried tabEnabled=false and tabChildren=true for the movie clip that contains the Captivate movie, but with no results. Does anyone know how to get the focus manager to tab to objects in a Captviate movie when that movie is running in a Flash shell?
View 1 Replies
Mar 1, 2011
I have a swf containing several movie clips that are utilized without issue from one perspective. There happened to be one other angle (MenuBar) that these movie clips were to be used from but am not able to access them. The process that fails is:
1) Controller.swf loaded into currentDomain.
2) MenuBar.swf loaded into the currentDomain as child to controller.swf.
3) Clicking on an item on the MenuBar.swf runs a static process that attempts to access classes that are in the currentDomain and yet receive the error: ReferenceError: Error #1065: Variable 'variablename' is not defined.
at global/flash.utils::getDefinitionByName()
These items that are being accessed are avatar parts and are currently displayed on the screen as a child to the controller.swf. I also have a click event on the avatar itself which does execute and display the desired objects on the screen. If all swf's are loaded into the same application domain and are loaded as a child to the same display object then why would these assets not be available?
View 1 Replies
Aug 6, 2003
I don't know why the value of my variable my_str is undefined outside of this function:
loadText = new loadVars();
loadText.load("data.txt");
loadText.onLoad = function(success) {
[Code]....
ps: I tried making my_str a global function or even defining it as _root.my_str but I always get the same result..it's undefined outside the function...I need that value for something else so...
View 1 Replies
Jun 12, 2011
I have a custom Class that extends Movieclip called Nav, and a container clip on stage. I've referenced the Nav Class and called it as such:
import com.Nav;
public var navigation:Nav;
navigation = new Nav();
container.addChild(navigation);
This works fine. But when I try to access it with container.navigation ANYTHING it doesn't recognize it. I CAN access it as simply "navigation." But this shouldn't be the case. It should be the other way around, and navigation should not be accessible WITHOUT container.
View 7 Replies
Sep 16, 2011
I would like to know if it's possible to use Flash/AS 3.0 to create a website acessible to blind people. Using for example, the native text recognition from Windows or Mac. What I have to do to make this possible? Making HTML text is enough?
View 2 Replies
Oct 8, 2009
I have 12 pictures I need to load and then make accessible as buttons or - when the user presses on the picture it initializes a function. What is the best way to do this?
I went the loading a picture through URLRequest and URLLoader route but I need to load 12, place them on the stage, make them move upon NextBnt press and and then when the user selects the picture., the view goes to another screen.
View 16 Replies
Aug 1, 2010
I am making this website, which contains a load file, which contains a movieclip holder, which holds all the different parts of the website.
Now within the portfolio.swf, which is within mcholdr, inside load.swf, there are several images, which are buttons. On clicking one image, I have code which dims, i.e. reduces _alpha for all the buttons and disables them. Now when I test portfolio.swf alone, this code works, but when I access portfolio.swf through load.swf, the code is not working.
[Code]...
Nothing works. Is this a path problem??? How do I access these buttons?? I want to use the loop, as there are many buttons, so a simple img1._alpha will not work, as I will have to type this out for each button. How can I get the same effect using the loop??
View 2 Replies
Dec 9, 2009
We have a Flex app that is currently loading an XML file that contains Multiple Choice Question data. I don't want a user to be able to access this file via http, but if I use HTTPService to load the file (what we're doing currently) it seems as though I have to place the XML file within the public_html folder on our server.
Is there a better way to load the XML file so that users wouldn't be able to see it in their activity viewer/access it via http://
View 1 Replies