ActionScript 3.0 :: Navigation Not Accessible WITHOUT Container?

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


Similar Posts:


ActionScript 3.0 :: Create A Container For Navigation At The Right And When Clicking On A Navi Element?

Jan 29, 2009

Is it able to create a SWF with for example 800x650px and to define some 'containers' within it for other SWF-files? I want to create a container for navigation at the right and when clicking on a navi element,changing the content of anorher container availalble, perhaps like'headAnimation'.

Is it able to change attributes of an included 'container'with a SWF when clicking an element within another SWF placed in a
'container'? Perhaps I have an 'container' with 'navigation.swf' within. When clicking on an elemnt .I want to start a function that fades in/out another'container'. Am I able to create a function that works for all 'containers'? E.g.like that fader so I can submit the name of a 'container' to let it fade out and I can use that function within all elements in any 'container'.

View 1 Replies

ActionScript 2.0 :: Loading Main Navigation In External SWF Through Container Movie

Dec 30, 2008

I have attached two pictures. Basically I am making a website. The main navigation loads in external swf's through a container movie. For this I have used this tutorial : [URL]. What I want to do is- when you rollover the navigation bar, be it the text or the coloured block- I want it to scroll down and reveal the 'sub navigation'. (pic2) It's like a drop down menu but kind of the other way around. Then, when you either rolloff of the navigation bar or click on a menu button, it slides back up to its original state. (Pic1). I have played around and only managed a sloppy version which doesn't work very well, especially when you resize. I think a simple answer to this is if I could get my buttons to work inside a movie clip. I had tried this but then the swfs wouldn't load properly.

View 3 Replies

ActionScript 2.0 :: UnloadMovie Command - Load In An Empty Container The Swf's Of The Main Navigation

Feb 26, 2005

i have a little problem with the unloadMovie command. i have a button which is mc2_about here is the code

[Code]...

where i want to unload level1 which is a scrollbar with a text and load the portfolio section in an empty container... my structure i want to load in an empty container the swf's of the main navigation (home- portfolio,etc) and the sub-menus of it's categories[about me-print-web design) into levels. is there a simpliest way of doing that?

View 3 Replies

Flex :: Prevent Container In ItemRenderer From Exceeding Width Of List Container?

Jul 2, 2011

In a Flex Mobile project I have a simple itemRenderer where I'm trying to create an "bubble" texting effect, similar to ichat or iphone (just so you get what im going for). But if the text is longer than the screen it runs off, rather than just going down a line.

If I set Group thats holding the rectangle(to create the bubble effect) and the label to 100% it works and keeps it from exceeding the list containers bounds, BUT the group is always at 100% and looks bad, I'm trying to keep the "bubble" JUST AROUND the text.

Anyway so, at the top of my itemRenderer I tried specifying:

<s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" width="100%" height="100%">

And here's my layout I figured since msg_container has a width of 100% I was hoping bubble_lable_group would just not exceed that but...it doesnt...it just runs off. I tried setting a max width but that does not allow you to input percents. And just to say it 1 more time. I know if i set bubble_lable_group width to 100% it works, and keeps it from going off the edge, but then the rectangle "bubble" stretches all the way across and just looks bad.

<s:VGroup id="main_container" horizontalAlign="left" paddingBottom="10" paddingTop="10"
verticalAlign="top" width="100%">

[Code]....

View 1 Replies

Professional :: Run Project (main Container SWF And Child SWFs) Into Another Container File Which Place On A Website?

Jun 17, 2010

I am facing a issue in Flash container. I am having a project which has main container which call different SWFs into it. Now I call this main container file into another container, and their problem starts. Many option doesn't work properly which generally have _root, _parent etc...
 
If I want to run project (main container SWF and child SWFs) into another container file which place on a website. I want to show whole project from this container file so what I need to do?

View 1 Replies

Flex :: Dynamically Adding Container To A Dynamic Container

Sep 21, 2011

I have a loop that goes through data from a book and displays it. The book is not consistent in it's layout so I am trying to display it in two different ways. First way(works fine) is to load the text from that section in to a panel and display it. The second way is to create a new panel (panel creates fine) and then add collapsable panels(nested) to that panel. Here is the code from the else loop.

else if (newPanel == false){
// simpleData is just for the title bar of the new panel
// otherwise the panel has no content

[Code]....

The error I get is: ReferenceError: Error #1069: Property panel4.4 not found on components.readTest and there is no default value.

I have tried setting the "name" property instead of the "id" property.

View 1 Replies

Flex - Hide Container Of A Viewstack Container?

Dec 23, 2010

I have a viewstack container w/ 3 views: red, black, and blue. How can I completely hide the black & not include it?

[Code]...

View 2 Replies

Flex :: Drag Circle From One Container To Another Container?

Jan 13, 2012

I am creating an flex Air project,so mxml file will run. I have circles in one Big circle at one side and will be same on other side.

Now how to drag any circle from any Big circle to other side. Or it could be like any two container having circles, then how to drag and drop circle?

For one circle i am able to do drag and drop.But I want one Big circle on left hand side and one big circle on right hand side .And small circles with class names will be in these big circles.Now i want to drag and drop those small circles in big circles.Big cicles should not move. Even i have tried this code in actionscript

package
{
import flash.display.Sprite;
import flash.events.MouseEvent;

[Code].....

But in this i want big circles should not move and small circles should only be dragged.

View 1 Replies

ActionScript 3.0 :: Scale Container In Another Variable Container?

May 6, 2010

I need to place an image into a container. The problem is that I will not know the size of the image or the container beforehand, so it all has to be dynamic.this is how I started (have not gotten to stage(or container) changing size yet. No matter what I try, either all the images are the same width, or they are all the same height. If some images are portrait and other landscape, I don't want all the images to be X pixels high. In this variation of the code, all the images turn out the same height, regardless of portrait or landscape.

ActionScript Code:
var ratio:Number = container.width/container.height;//get the ratio, if width is bigger than height then ratio is greater than 1, else ratio is smaller than 1

[code]........

View 0 Replies

ActionScript 1/2 :: Buttons Is Not Accessible

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

Flex :: Sdk Is Not Accessible In Eclipse

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

Flex :: Moving Children Of A Container (defined In MXML) Inside An "inner Container"

Jan 27, 2010

I'm currently working on a custom component which extends Canvas (let's call it SuperCanvas) ; it's basically a container that let you zoom & pan its contents. It would be too long to explain why, but I can't use scrollRect, so I was forced to declare a Canvas object (called innerCanvas)... inside my SuperCanvas (I know, not very nice =/) I would like to know if there's a proper way to "redirect" the creation of my component's children in this canvas.

[Code]...

View 1 Replies

Make The Flvplayback Control Accessible?

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

Can Dynamic XML Driven Flash Be Accessible?

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

ActionScript 3.0 :: Make A Class Accessible?

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

ActionScript 3.0 :: ColorTransform For An Element That Isn't Accessible?

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

Swf - Accessible Flash Content For The Blind?

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

Flex :: Deployed SWF Not Accessible In Firefox?

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

Actionscript 3 :: Variables Accessible Across Keyframes?

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

ActionScript 2.0 :: Captivate Accessible In Flash

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

ActionScript 3.0 :: Loaded Library: Not Accessible By All

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

ActionScript 2.0 :: FMX-variable Accessible Outside Of Functions?

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

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

ActionScript 3.0 :: Website Accessible To Blind People

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

ActionScript 3.0 :: Load And Then Make Accessible As Buttons?

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

ActionScript 1/2 :: Buttons Inside Moveiclip Not Accessible?

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

Xml :: Flex - Loading An XML File That Isn't Accessible By Users

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

Flex :: Make Custom UIComponent Accessible?

Apr 18, 2011

I added a MXML component in flex and selected the base as UIComponent. I want to make it accessible so that automated testing tools can Access it. I am using TestComplete for automated testing. As TestComplete uses Microsoft Accessibility classes. Now it treat my component as the Graphics.

View 3 Replies

Flex :: Variable Accessible For All .mxml Files

Oct 4, 2011

Im using Oracle, BlazeDS, Java & Flex. I have an ArrayCollection containing data from a small database table. This table won't be the subject of much change. I want to use this ArrayCollection accross different mxml files to fill e.g. ComboBoxes etc. The reason for asking, is that doing a database call for each time a fill a ComboBox etc is slow and seems unnecessary. I tried doing this once in the "main" .mxml file, but then the variable wasn't accessible where i needed it. What is the best approach for accomplishing this task? What is the best way of making a variable accesible across .mxml files?

View 5 Replies







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