Flex :: User Interface - Accessing Child Through Navigating The Hierarchy?

May 24, 2011

I have a generic function to build rows of controls (each row comprising of sliders, radio buttons, reset buttons, text display) etc, and some functionality to change underlying data based on these

As I didn't want to write specific code for each row, I had code written by which I can detect the row on which there has been a mouseevent, and though the row access each individual control

[Code]...

View 2 Replies


Similar Posts:


User Interface - Continuous Flash Music Player While Navigating Site

Jun 16, 2010

I have a site that includes a Flash music player integrated into the layout. I want users to be able to navigate around the site without interrupting the music. I've done plenty of research and thinking and the following are the options I came up with (keeping in mind I want to be as SEO friendly as possible).

AJAX: I set up a version that changes the main content div to whatever nav link they click, thereby not interrupting the Flash player. I set it up in the proper search-engine-friendly manner with direct links and JQuery/Ajax functions. If someone goes to site.com/ and clicks the Contact nav link, it loads what's in the main content div on site.com/contact.php into the main content div and changes the URL bar to site.com/#Contact. The same goes for if they go to site.com/contact.php and click About in the nav, it loads the About content and changes the URL bar to site.com/contact.php#About. Obviously this opens up a whole new can of worms with AJAX and hash navigation/history issues, and I would end up with people possibly linking to things like site.com/contact.php#About (which I think looks terrible and can't be too great for SEO). Store the Flash player vars somewhere and reload them with the page: I'm not sure how to go about this, but I thought about keeping my regular navigation without AJAX and have it so when a user clicks a nav link, before it changes pages it stores the Flash player vars (current song and song position) somewhere, then loads them into Flash when the new page loads. Something with an iframe? Good alternative to a Flash player that will work for this type of application?

View 4 Replies

ActionScript 3.0 :: Child-parent Relationship \ Adding Them All As Children Of The Stage And Creating A Parent-child Hierarchy Between Them?

Jun 6, 2011

i am slightly confused about the parent and child relationship. lets assume we have several different instances, what would be difference of adding them all as children of the stage and creating a parent-child hierarchy between them(other than the access path).

View 5 Replies

User Interface - What Does A Web Designer Need To Migrate To Flex Quickly

Mar 12, 2011

What does a web designer need to migrate to Flex quickly? A: tell me how I can get good fast B: tell me why it would be unrealistic to learn Flex quickly I want here both sides of it.

TELL ME WHAT I NEED
- Projects I need to complete in Flex
- Tutorials
- Key concepts
- Other technologies in a nutshell (webservices, SOAP, AJAX, HTML5 etc.)

[code].....

This Flex reference should include everything needed for beginning Adobe Flash Builder 4

View 1 Replies

User Interface - Flex Give Yes/No Box For Checkbox Deselect?

Nov 21, 2011

I want to show the user a confirmation box when they deselect a checkbox. My code works although I think it is a bit of a hack. I listen to the checkbox click and then show the alert. Depending on the result I then set the checkbox to be checked again.

My code is

<?xml version="1.0"?>
<s:NavigatorContent xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" >
<fx:Script><![CDATA[

[code]....

the code is specific to cb1 and cannot be reused for other checkboxes the checkbox is deselected when the alert shows. Then when the user clicks no the checkbox is selected again. stop the uncheck event if the user clicks no on the alert box. Is it possible to intercept this in Flex?

View 1 Replies

Flex :: User Interface - Change A PopupButton Into A Regular Button?

Aug 20, 2009

I have a PopUpButton that only contains 2 actions. Both actions are complete opposites of each other and switches a boolean property on an object from true to false or false to true. To avoid redundancy, I've only displaying one action at a time. So, if the property is true, the action to change it to true is not shown.

If my PopUp menu has a single option, I would like to remove the menu from being shown and basically revert the PopUpButton to act and look like a regular button. So far, I haven't really found a good way to do that in ActionScript without adding, removing or modifying styles for the button.

Is there a nice way to simply tell the button to hide the PopUp toggle? PS: In my specific example, YES it might be easier if I just used a toggle button. However, I want to reuse this button when dealing with an Array of objects. If I have more than one, the property could be true and false at the same time. In that case, I want to show the menu so they can choose what option to set all the object's properties to.

View 1 Replies

Flex :: Open Source Phpmyadmin Flash User Interface?

Jan 30, 2010

is out there any Open Source phpmyadmin flash user intrface?

View 1 Replies

Flex :: User Interface - Title Window Goes Out Of Accessible Area?

Jul 2, 2011

I have a strange issue- I use a title window to create a message to the user. The user has the ability to move the title window around the screen so that the main screen is visible.However if the user were to move the title window way too much, it can actually go outside the browser accessible area- the user has no option but to close the browser and start again. How do we ensure that the title window movement is limited, such that the title bar is always available for control?

I might not have worded this right- pls check the attached image.

View 2 Replies

Flex :: User Interface - Spark Datagrid And Word Wrapping

Nov 18, 2011

I would like to have a spark datagrid that wordwraps all rows where relevant. At the moment it appears like the width of a cell is dependent on the contents of the first row and then subsequent rows are word wrapped. For example:

[Code].....

How can I get the datagrid to dynamically resize to 100% of the container width and for wordwrapping to happen on all rows? (not just rows after row 1)

View 1 Replies

ActionScript 3.0 :: Coding Hierarchy And Removing Child?

Jan 26, 2010

To give a brief background of what's going on here. I am building a personal site where I have a navigation, and I have other subnavs inside of certain pages. Such as if I go to "work" inside of work i have "motion", "web" & "print".

I'm having a problem with remove child in certain areas.. One would be when I load one page from the navigation then go to the "WORK" link, work won't show. Also..when I remove a movieclip elsewhere(this is under the same circumstance) then click on a link it does not remove that movieclip that is loaded again.

For example, click personal, click a thumbnail,(this adds workpersonalss_mc) then click back(this removes work personalss_mc then adds workpersonal_mc back), the click a navigation button it still remains..

[Code]...

View 0 Replies

ActionScript 3.0 :: Where Is Document Class In Parent/child Hierarchy

Jan 19, 2011

I have a class linked with a movie clip, and in this movie clip I want to be able to add an event listener that calls a function in the Document class (the class you link with the fla as a whole). How can I do that? Say the name of my document class is KPScript.as. In my GameController.as class, I want to listen for key input and call pageChange() in KPScript.as when it gets called. Would I have to import KPScript.as into the GameController.as? If so, I wouldn't want to create another instance of the KPScript object.

View 1 Replies

Flex :: Give MS Word Like Interface To User To Expand Or Contract Display Object's Like Canvas, Images

Dec 9, 2009

How to give a ms word like interface to a user so that he can enlarge and contract the display objects like Images, canvas, Hrules etc. at runtime in an web application?

View 1 Replies

ActionScript 3.0 :: Navigating Or Accessing Objects Added To Stage?

May 22, 2009

I have a structure display like this: (brackets shows the depths, within their parent)

my question concerns 'communication' between the highlighted objects - so you don't have to waste time understanding the whole tree! I've just added this to provide some context!

mc_init (0)
___|
___mc_page (0)

[Code]....

Now, its easy to add a mouse event to btn(1), but how do I get this button to set the visible property (say) of 'rectangleBG(0)'

how do I access the paths? of these objects added to the stage?

View 2 Replies

Flex - Accessing Child MovieClips FlashDevelop?

Feb 17, 2010

I have a movieClip within another MovieClip. I gave the child movieClip the instance name "hSprite" and I added it to the parent movieClip stage. Now I get an error like the following.

[Fault] exception, information=ReferenceError: Error #1056: Cannot create property hSprite on com.objects.Hero. If I remove the instance name from the child movieclip, then the error goes away. but when I add the instance name back, the error reappears again.

Keep in mind that both classes are set for export. The parent class is embeded by a custom class which work perfectly fine. But the minute I give the child movieClip a instance name, the error starts up again.

[Code]...

View 1 Replies

Flex :: Accessing A Label's Value In An Accordian's Selected Child?

Feb 27, 2011

I have an Accordian in my application. Each child of the accordian has a label firstNameLabel) and a button (addPolicyButton). The label's value is being set via Repeater and an array. How can I access the firstNameLabel's value of 'selected child of the accordian' when the addPolicyButton is clicked?In following code testTextArea.appendText prints 'fname: undefined' in the testTextArea.Where as I can see in the accordian that the set label's text is set to 'Michael' which is what repMonitor.currentItem.firstName returned.

Code:
private function addPolicy():void{
testTextArea.appendText("fname:"+firstNameLabel.text);

[code].....

View 1 Replies

ActionScript 3.0 :: Any Good User Interface Libraries

Aug 2, 2011

Do you know any good User Interface libraries for ActionScript? And I'm not interested in Flex: it's big and you can't customize anything at it except for colors and fonts which I don't care about.I am looking for a decent UI library which is good for game development: custom shaped buttons, stuff like that. More customization that Flex ever had that is.

View 7 Replies

Java - User Interface With Animation And Effects?

Jan 9, 2012

I want to program a language learning Program for kids. I want it to have animations, quizzes with drag and drop and a lot of graphic effects. i want to know which language is good for client side and which is good for desktop application. I am programming with java.

View 1 Replies

IDE :: Dragging MovieClip To Stage From User Interface?

Oct 8, 2009

What is the difference between dragging a movieClip to stage from the user interface and inserting it from code? What I mean is....I noticed that if I drag a movie clip from the library to the stage, give it an instance name ('xx'), I can access it from code using "this.xx". However, if I add the movieClip from code using:

var ch = new MovieClip();
ch.name = 'xx';
addChild(ch);
I cannot access it using this.xx, but I have to access it using this.getChildByName('xx');

View 2 Replies

Unable To Locate Component In The User Interface Library?

Jun 23, 2009

I am unable to locate this component in the user interface library, every other component is listed but this one.
 
Is this a new you must roll your own from the list component and create it?
 
PS I just noticed the Alert component is missing too.

View 3 Replies

Professional :: Question Regarding User Interface Text Size?

Aug 9, 2010

I'm doing a trial of the CS5 applications and I cannot seem to find out to increase the size of the font on my user interface.  I'm finding the default font size to be too small to work effectively and find the commands I need.  I've tried Edit->Preferences which is where one typically finds this type of interface option; however, I do not see any way to do this. I've tried adjusting my screen resolution and screen font size and while this affects every other application on my screen, it does not affect Flash Professional.

View 4 Replies

ActionScript 2.0 :: Change Codes To Suit User Interface?

Jun 22, 2006

instead of setting the intervals, i want to change it into something like adding a textbox for users to enter the intervals. and i also want to try to change the codes so that only when the user click, then the arrow would move. so its two separate favors.... 1.adding textbox.... 2.using onMouseDown function to move the arrow.

var targetIndex:Number = 1;
//var xValues:Array = [100,200,220,300,330,370];
//var yValues:Array = [100,150,220,300,310,400];
var tarArray:Array = [[0,0], [10,10], [100,100], [200,150], [220,220], [300,300], [330,310], [370,400]];

[code]....

View 2 Replies

ActionScript 2.0 :: How To Create Sophisticated User Interface / Menu

Nov 25, 2006

I am looking for a tutorial on creating a sophisticated user interface/menu. Here's a reference: [Code] - I am aware its done in swish but I want to be able to do it in Flash 8. What I've accomplished so far is to create a rollOver and rollOut effects wherein rollOut reverses the movie clip back to its first frame. I was also able to add an 'on release' script where it will play an external movie clip...

This are the AS that I've done so far:
1. I placed this AS on the MC (instance name bam) that has the rollover and rollout effect tween.
onClipEvent (enterFrame) {
if (reverse) {
this.prevFrame();
}}

2. I placed this AS on the invisible button I placed on top of the MC
on (rollOver) {
bam.reverse=false;
bam.play();
} on (rollOut) {
bam.reverse=true;
} on (release) {
_root.bampics.gotoAndPlay(2);
}

View 1 Replies

Actionscript 3 :: Chess Board Interface - Cannot Remove Child

Jun 4, 2011

I am in the process of creating a chess board where you can move the pieces. Currently i am working on the rook and the coding is below. I know it is not elegant and probably the most inefficient code out there, but this is day 2 of my actionscript 3.0 life and i am kinda a beginner. Anyway, so the thing is, when you click the piece the code below figures out the possible ways to go. Then green squares appear at those places. You can then press those green squares and then the rook will move there.

Ok, now to the problem. The squares will not go away. I want them all to be deleted when i have clicked on one of them and the rook will move there.

import flash.events.MouseEvent
import flash.text.TextField;
import flash.geom.Point;
import caurina.transitions.*

[code]....

View 2 Replies

ActionScript 3.0 :: Flash & Create User Interface For Crestron System

Aug 30, 2009

I'd like to know if someone of you guys has any experience in using Flash (and AS 3.0) to create user interface for Crestron system. I'm experiencing few problems with the management of feedback join

View 2 Replies

Professional :: Customize In Flash: Components> User Interface> Button?

May 31, 2010

Flash Componants> User Interface> ButtonHow to cusomize components?The button works, but where is the code that is making it work?

View 2 Replies

ActionScript 2.0 :: Setup An Interface Where An Event Is Triggered By The User Pressing A Key On The Keyboard?

Jan 10, 2007

I'm trying to setup an interface where an event is triggered by the user pressing a key on the keyboard. So far I have the following code in a button on the stage:

Code:
on (keyPress "a"){
trace("you pressed a")
}
on (keyPress "b"){

[code]...

Which works fine. I was wondering if there was a way to either remove the case sensitive properties of the keypress action, or to force the keyboard to return a caps lock or something. The only way I can think of doing it so far would be something like this:

Code:
on (keyPress "a"){
trace("you pressed a")
}
on (keyPress "A"){

[code]...

Which obviously will double the amount of code needed - especially as the event for a small c and a capital C would be the same.

View 12 Replies

Flex :: Bubble A MouseEvent By Z-index Instead Of Hierarchy?

Feb 24, 2010

I have two components being absolutely positioned within a container (they are MapSymbols on an ILOG Elixir map, if that helps). Each component is a VBox with an Image and a Label. Images have functionality tied to the Click event; labels do not.

The problem is when 2 items are positioned so that the label of one is above the icon of another in the z-index, so that the label eats any mouseOver and mouseDown events. Bubbling doesn't help since it bubbles from the label to the vbox to the container, never hitting the lower element. I can't set the vbox to mouseChildren="false", since that keeps the image from getting clicked, as well.[code]...

View 2 Replies

CS4 Flash - Increase The Font Size For The Text In The User Interface Of The Application - Menus And Panels

Jun 22, 2009

I am a vision impaired developer who needs to enlarge the text in the user interface of CS4 Flash Professional. Is there a way to increase the font size for the text in the user interface of the application, menus and panels for example? I have not been able to find any setting in the preferences for doing this.

View 2 Replies

Media Server :: Creating An Interface With Several Video Windows Where A User Can Connect Their Own Camera To Window?

Feb 13, 2012

currently I use the following workflow for Live video streaming.I have FMLE on a computer streaming the Video feed to my FMS.I currenlty use  Dreamweaver to create window with a few instances of a video window and one of the windows is configured to rtmp to my server and the stream name of the stream I have setup in FMLE.This then streams to one of the windows.I then assign a different Stream name to the other windows.

I send an FMLE client to a user in the locations that want to have a video presence on the webpage.I send them instructions and running FMLE and the parameters to use to get their camera up and running.This works fine to a point.Most of the users are not technically minded and so often this leads to issues and delays to get these things to work.
 
I want to move on and improve this flow.I want to create the video instances on the page where:Below each video window is a text input field where a user can type in their name which will be used as the stream name.Below each video window is a button that the user clicks to connect their camera automatically without having to install FMLE.Once the video feed is running, only that user can click the button again to disconnect it. ( The button changes to "Stop Broadcast" etc).
 
I have looked at the structure of Ustream for example, and this seems to be the method they use as you can download the XML file of your channe,l and the RTMP URL and stream name can be copied and then used directly in FMLE and you can stream with more control of your camera that way.

View 1 Replies

Actionscript 3 :: Trace In Flex Builder Hierarchy Output

May 22, 2011

i am using Flex builder 4.5 and my problem is this that this code doos not work, when i used trace(event.target)i get following in result in console, deleteme.ApplicationSkin2._ ApplicationSkin_Group1.contentGroup.VGroup5.button1.And if i replace this long line in 'if' statement code works.(deleteme is the project name). Dont you think it should only say button1 instead of this all long line with all hierarchy , if that is the case then how we can shortend it?[code]

View 1 Replies







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