Flex :: Hide (not Remove) The Content Of A Panel Container?

Dec 4, 2009

I'm extending a Panel to build a custom component. Without knowing what this will contain later, how can I add a method to temporarily hide all contents and displaying an internal object (which is normally invisible) instead?

[Code]...

View 2 Replies


Similar Posts:


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 :: 4 Spark Component Panel - Hide Title Bar

Aug 18, 2011

Flex 4 Spark component Panel - Hide Title Bar I have used Spark panel to display the object inside a container. The panel and the inside elements are created dynamically. (using ActionScript). I need to remove the title bar of the panel in actionscript. When i tried to remove that, i am unable to hide the same. Tried below ways.

[Code]...

View 2 Replies

Flex :: Setting A Group Container Height To 0 Does Not Hide His Children?

Feb 21, 2012

I need to resize a Group using myGroup.height = 0. And it works, but myGroup's children are still visible, I do not know why...

View 1 Replies

Actionscript 3 :: Capture Panel Content In Flex 4?

Jan 30, 2011

I am creating a application in which Live video streaming in publishing in mx:video object.I want to capture.

View 1 Replies

Flex :: Actionscript - Remove Login Panel Upon Clicking On Screen In Flex?

Sep 19, 2011

i am using following code to popup a login panel whenever i click on some specific button.
the problem is the login panel sticks it should be non visible again if i click somewhere else on screen. Anyone got ideas how to do that.

[CODE]....

View 3 Replies

Actionscript 3 :: Hiding Content Pane In Flex Panel

Aug 20, 2010

I am writing an custom component in Flex 3.2 that extends the panel component. After a user performs a certain action I would like to hide the main content area in the Panel component, as well as the Control Bar if one is specified. Any ideas on how to do this? controlBar.visible does not seem to hide the control bar, and I don't know of another easy way of accessing the main content area besides iterating through all the children of the main panel, and I would like to avoid that if possible.

View 2 Replies

Flex :: Hide/remove The Up And Down Arrows From The Scrollbar?

Oct 20, 2010

I want to hide/remove the up and down arrows from the scrollbar - how can i do that? the scrollbar is to fat - the skin i am using is not that fat. How can i make the scrollbar thiner.

View 1 Replies

ActionScript 3.0 :: Roll Over = Show Panel, Roll Out = Hide Panel?

Mar 3, 2011

I have basic movie clips, On roll over, show arrows [NEXT, PREVIOUS] on movie clip [they then show other images inside movie clips]I can show arrows on roll over.But when i roll over the arrows the main ROLLOUT function gets called, the arrows hide. I've tried several flagging methods and have resulted in using a larger invisible border around the clip, rolling over that hides them.

View 1 Replies

Flex :: Hide (or Remove) Label Text Without Changing The Button Size?

Dec 21, 2010

I have a button with variable-length of label text. I have a User Setting that can turn on or off the label text on this button.

How can I implement this?

NOTE: the button's background has a gradient color.

I tried using BlendMode.LAYER, no luck;

I tried using Button.resizeHandler

private function resizeHandler(event:ResizeEvent):void
{
if (event.oldWidth > this.width)

[Code]....

but it only worked if the initial UserSetting value is true.

How about embedded font? I don't know how to apply it to button

View 3 Replies

Flex :: How To Get Size / Coordinates Of Content Area Of Container Objects

Jul 21, 2010

How do I get the size of the content area of Container objects? One non generic solution is checking for styles I suppose but I am looking for some code that works generic for all standard flex Container objects. The controls are Flex 3

View 1 Replies

Actionscript :: Collapsible Flex Container That Can Handle Dynamic Content That Works When Pre-collapsed?

Feb 2, 2011

Do you know any collapsible flex container that can handle dynamic content that works when pre-collapsed? I tried the CollapsiblePanel component by Arc90 for Flex, but it did not work when pre-collapsed.If I have a VBox inside the panel, and I set the "collapsed" property of the CollapsiblePanel to true, the size of the CollapsiblePanel cannot be restored. It seems like this is what is happening:

The CollapsiblePanel's collapsed property is pre-set to true in the MXML markup.

The VBox auto-adjusts its height to 0 since the CollapsiblePanel is collapsed.

When the CollapsiblePanel's collapsed property changes to false (i.e., it is expanded by the user), the VBox does not expand itself because its parent's content area is 0. Therefore the CollapsiblePanel remains at the same height because its content's height is 0.

Note: This occurs only when the CollapsiblePanel is pre-collapsed, as seen in the markup below.I've already tried this (didn't work):

<containers:CollapsiblePanel minimize="pnl_minimize(event)"
restore="pnl_restore(event)" height="100%" width="100%" collapsed="true">
<mx:VBox width="100%" height="100%" verticalGap="0">[code]....

View 1 Replies

ActionScript 3.0 :: Use An Auto-hide Control Panel?

May 11, 2010

I have a video player that has a clip on it, called sliderTarget. on ROLL_OVER, a thumbnailsSlider comes down from the top, showing thumbnails of other available videos to play...

Problem is, I'm having trouble with the layers, so that when I roll over the thumbnailsSlider, it doesn't register, since I'm really still on the sliderTarget. If I swap depths, then the thumbnailsSlider slides away since I've officially rolled out.[code]...

View 0 Replies

Actionscript 3 :: Remove Child Content From ViewStack In Flex 4?

Sep 9, 2010

In my example below, when I click "Add Content", new stack content is loaded into the ViewStack as expected. But when I then click "Close Content", I'm expecting it to close the newly created content inside the ViewStack and switch to the "defaultContent" content.

[Code]...

View 2 Replies

ActionScript 3.0 :: Remove Container VS Remove All Children?

Sep 6, 2011

In my experiment memory usage keeps growing a little (more, and more RAM usage after GC) when I use repeatedly:

Code:
removeChild(picContainer);
addChild(picContainer);

[code].....

View 5 Replies

Hide A Child Container Of A Viewstack?

Jun 29, 2010

I have a tabbar whose dataprovider is a viewstack and the viewstack contains a group of vbox containers. I am trying to hide one of the vboxes based on a certain condition but the tabbar still shows the corressponding tab for the hidden vbox. I set the visibilty and includeinlayout of the vbox to false but the tab still exists.

View 1 Replies

ActionScript 3.0 :: Flex - How To Remove / Disable Link From Loaded SWF Content

Dec 4, 2009

How to remove/disable link from loaded swf content? In flex I have an image component, which loads swf through "source". This loaded swf contains "clickable" links. I want to this loaded swf a simple image behave.

View 2 Replies

Flex :: Maximizing Panel - Make The Map Within Panel Growing Synchronizely?

Mar 6, 2010

I have a map in a panel.When maximizing the panel,the map remain the smaller size.How to make the map growing synchronizely with the Panel? When maximizing the Panel,I added Resize Effects.How to apply Resize effects on the Map when the extent of the map changing? It seems to me that I should dispatch extentChange event when maximizing the panel.

View 1 Replies

Flex :: Controls In Spark Panel Still Show When Outside Of Panel Size?

Mar 24, 2011

I discovered this while doing some programmatic panel resizing:Components in a spark Panel will still be visible when their location is outside the physical Panel boundaries. This does not happen with the mx Panel.unning Flex 4.1 on Windows 7I tried putting mx and spark controls in the spark Panel, and they both appear outside of the boundaries. Note this doesn't happen with the mx Panel. What am I missing to make the spark behave like the mxSample Code:

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code].....

View 1 Replies

Flex :: Popup - Dock A Normal Panel To A Pop Up Panel?

Nov 14, 2009

I want to create a panel docking to a pop up panel in my flex app, like Winamp's playlist window can dock to main window. but I didn't find any useful on docking in flex

I've traced the PopUpManager, but I didn't find any available interfaces or events about popup window's moving, I think it's design shouldn't be so bad.

View 2 Replies

ActionScript 3.0 :: Remove The Loader But Its Content Still Playing I Know That From The Sound Of The Content Was Loaded?

Apr 20, 2009

How to remove a loader and its content using removeChild or any other way, I had removed the loader but its content still playing in the background i know that from the sound of the content.this is the my code for removing:

removeChild(getChildByName("SampleLoader"));

View 9 Replies

Flex3 - Skinned Panel Content Offset?

Sep 5, 2009

Here is the problem. I've created custom RectangularBorder and set it as border skin for TitleWindow. After this manipulation inner content of window is starting at 0,0 point of it. How could I set offset of it?

Just setting top padding does not work because scroll bar still begins from the top of the window after this manipulation.

View 3 Replies

CS3 Controlling A Content Movie Clip Through A Navigation Panel?

Nov 23, 2009

I've just start working on a project whereby the site will be entirely in flash, have a nav panel down one side, and a content panel down the other. I want some subtle animations on the content as each page is selected (either scroll or fade out) but as each page will have a different background, I'm not sure what the best way to do this is.

My current thinking, would be to put all the 'pages' in one movie clip, animated with each having a fadein, then stop, then a fade out. When a link is pressed, it would play until it encounters a 'stop' (hence, the fadeout frames), then jump to the fade in animation for the link that was clicked.With being new to Flash though, I just thought a) I'd check to see if this is the given way to do this, or if there is a better, standard way, and b) if anyone can give me any tips on coding it. I would imagine it would be onPress(function), then the two instructions?.

View 3 Replies

ActionScript 1/2 :: Possible To Hide XMl Content Using An If Statement?

Jun 16, 2009

Is it possible to hide XMl content using an if statement? If on frame 15 hide XML content? I'm not sure what the code would be?

View 3 Replies

ActionScript 3.0 :: Remove Or Hide MC From Stage

May 22, 2011

hey, im trying to remove these movie clips from the stage but its not working. Im spawning the movie clip to the stage every time i slide the timeline_slider, which is instance name for a slider component.I manage to put the spawned movie clip in a array using push, but i don't know how to delete them. Because what i want to happen is that every time i slide the slider i only want a certain amount of movie clips on the stage, but what is happening is they spawn on the stage and stay there.for example. if i slide 1 across it spawns 5 mc if i slide again to the second increment it spawn 4 so total number on movie clips on the stage is 9.i want to only spawn the number of movie clips that increment on the slider is set to. i would also like it to work backwards as well, so if im on the second increment it should have 4 movie clips on the stage,and if i go back to the first increment i should only have 5 movie clips on the stage.Even just hiding the movie clips and unhiding the movie clips is fine as well. this is my code for spawning with the slider this is my arrays of the numbers are now many movie clips i want to spawn to the stage.[code]

View 16 Replies

Javascript :: Hide / Remove Div When Cookie Is Set?

Aug 29, 2011

I am working to add a transparent flash video to a site of a person walking out. The problem is that I don't want the video to play every time the home page is loaded, so I set a 24hr cookie that if detected the div containing the video is set to hide. This works perfectly in Google Chrome and FF, the problem is in IE the div is apparently hidden because you cannot see the video but the audio of the video is still heard. Perhaps there is a different way to do this then the way I am going about it and maybe even a way to do a remove instead of hide?[code]...

View 1 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

Hide / Show Content From Layers When Button Is Clicked

May 14, 2009

I have an animation that shows items highlighted in a diagram. As the items are highlighted, the audio will play (to explain the animation). because we are creating this for people with possible disabilities, we also created captions with text for the audio. So, in separate layers, we created speech bubbles and text that is synchronized to the animated actions on the screen. this will also be synchronized with the audio. We want to have a button (close captioning button) that when users press it, they see the text captions and if they press it again, they don't see the text captions. my questions are

1) what will be the easiest way to create the effect i am looking for?
2) what actionscript command will i need for the button's actions?

View 14 Replies

Flash :: Hide The Video Content Of The YouTube Player?

Mar 14, 2010

hide the video content of the YouTube player (only statusbar (where is play button etc.) is visible) ? Or maybe do you know other (flash) players that have the ability to stream the YouTube movies ?

View 2 Replies

Javascript :: Toggle Flash / Hide&stop Or Remove?

Apr 21, 2011

I am going to be setting up a control that can hide and show a flash video.I want to either stop it when its hidden, or remove it entirely. I've been able to do both, but which is better for the user.Hide and stop means its already loaded. But the flash object is still there, so I worry about it eating up processing power.Removing it entirely means no, its not there, but adding it again appears to send out a call to re-download the file.

View 2 Replies







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