Flex :: Two Overlapping Buttons Receive The Same Click?

Dec 20, 2009

I need to create a workaround for a button issue. I don't know how to have one button created by one class send a click event to another item created in a different class

Therefore, I'd like to place both of my buttons on top of one another, alpha one of them out and have both buttons receive the same click.

View 1 Replies


Similar Posts:


Buttons Slightly Overlapping Each Other?

Apr 4, 2009

I have 3 buttons slightly overlapping each other, all on one layer. What i'd like to happen, is for whichever button is rolled over with the mouse to show up on top of the other buttons..

View 2 Replies

MovieClip With Hit Zones - Buttons Overlapping

Apr 13, 2009

I have a movie clip with hit zones over buttons. It looks like a cam corder and when you roll over them a thumb moves to that button and when you click. The thumb presses on the button. That all works great. I want to put buttons in the main scene over top of these that will change things on the screen when you click it. And get urls of the videos that I have on my website. But when I put the hitzones over other hitzones the ones in back dont work. Is there a way to make them both work or am I going to have to make everything contained in the movie clip? So in short can I have two buttons on top of each other that do two different things?

View 8 Replies

ActionScript 3.0 :: Overlapping Buttons Can't Working

May 30, 2011

This seems like such an easy thing to do but it's driving me crazy. Sorry if this is a simple question. In a site I am building it is necessary to have a large movieclip overlaid over an image gallery. This movieclip controls scrolling so has a rollover listener attached, but of course the gallery pictures also need to have button actions. I cannot get them both working at the same time. How can I make it so that rolling over a movieclip doesn't disable the rollover for any movieclips underneath it? Here is a very simple example of the problem. Where the two buttons intersect, I want for the rollover to trigger them both: [URL]

View 1 Replies

Professional :: 2 Overlapping Buttons Not Working (CS4)?

Oct 5, 2011

I've created a banner and made the whole area clickable with an invisible button. But there's one small element in that banner I'd like to give a roll over state for extra fun. This element doesn't need a link hooked to it just to change colour when moused over. When I put the invisible  button on top, it blocks the element on top the invisible button is not working either. Since it's a banner I have the document set up in as2.

View 4 Replies

ActionScript 2.0 :: Dynamic Buttons Without Overlapping (_x, _y)?

Dec 27, 2004

I've a digram with lots of button from top to bottom. At present all the buttons are manually placed on the stage and add corresponding links to each button. I've managed to add dynamic links on the fly but any other option to place buttons dynamically on the stage from library without overlapping one with another.

View 2 Replies

Dynamic Background Overlapping Buttons On The Stage?

Apr 2, 2009

My dynamically loaded background is overlapping my buttons for audio on the stage.

My .fla is located at www.saleck.net/TEMP/U0863279.7z

There are 4 buttons and a Text box on Frame 1, but the background that is loaded in the code overlaps.

View 1 Replies

ActionScript 3.0 :: Map Navigation Menu - Buttons Overlapping?

Aug 10, 2010

I'm using a map as the navigation "menu" between descriptions of items located on the map. Each item has a button, which is enlarged on hover. When the button is clicked, the description of the item shows up and a picture of it substitutes the map (and all buttons disappear). Here's the issue: some buttons, when enlarged, overlap with other buttons. I am currently using addChild() to ensure the button currently pointed at is on top of any others. The problem is that, when I click the buttons, any buttons I pointed at do not disappear, but stay on top of the picture. Is there a better way to make the buttons go to the top, one that doesn't keep them on when the frame changes? Or at least, is there a way to make them disappear when the frame changes?

View 4 Replies

ActionScript 2.0 :: Activate 2 Overlapping Buttons At The Same Time?

Nov 9, 2007

Is it possible to have 2 buttons work on the same rollover when they are on top of one another?

View 1 Replies

ActionScript 3.0 :: Buttons No Longer Receive Mouse Events

Jul 9, 2009

I've got a movieclip on my stage that contains a scrollbar and a few buttons.I have a function that rotates the uses _mc.rotationX=10;After an interval the function uses _mc.rotationX=0;After the movieclip has be rotated back to its original position the scrollbar and buttons no longer receive mouse events.[code]

View 2 Replies

Flex :: Keyboard - Flex Air Receive Input When Unfocused?

May 12, 2011

I am trying to find out how to continue to receive keyboard input to my app when the app is not focused. For example, if I dock my app to the system tray, is there a way to continue to receive keyboard input to be fed to the app?

View 1 Replies

ActionScript 2.0 :: Buttons Within Movie Clip - Sub-menu Won't Stay Open In Order To Click On Buttons In It

Jul 25, 2007

I am creating a navigation bar in Flash (which will then be used in Dreamweaver). When you mouse over each topic in menu (ex. Products), i want it play a movie clip (so it shoots out a sub-menu underneath). so far so good, but the only thing is, the sub-menu won't stay open in order for me to click on buttons in it. For each button, I assigned it the Behavior to go to a url. Also, I tested the buttons within the mc and they don't seem to direct me to url. do you think maybe it's because it's nested within the movie clip?? Is there an easier way to go about this?

[Code]....

View 2 Replies

ActionScript 3.0 :: SwapChildren - Swap The Buttons When CLICK Or ROLL_OVER Buttons

Mar 8, 2010

I have 4 buttons , one container and one background movieClip as the attached file shows. Well.. at the Gallery movieclip displayList I add the other three BLACK buttons like this:

[Code]...

Everything I need consist on swap the buttons when i CLICK or ROLL_OVER those buttons, how do I do on thats circunstance? With a container and a background at the same displaylist.

View 2 Replies

Rails Best Way To Receive Xml Data From Flex Application?

Feb 2, 2010

i'm able to display xml content on my swf file but how can I send the changed xml file back to my rails Server?

View 2 Replies

Flex :: Sprites Are All Draws From X - Y Coordinates That Receive From XML

Jun 2, 2010

The orange square is the currently selected selected sprite. The sprites are all draws from coordinates that i receive from XML. var sprObject:Sprite = new Sprite();

[Code]...

What I want to do is the following. If I'm currently on the orange square and I use my keyboard direction buttons (up/down/left/right). I want to deselect the current sprite and select the next sprite in the appropriate direction. The problem I'm having is that I cannot get the x and y coordinates of the drawn sprites. If I look in the array, the x and y coordinates of the sprites are all 0. If I can retrieve that I can write an algorithm to determine the next sprite to select.

View 1 Replies

Receive An Image File Through Flex's HttpService?

Jun 30, 2011

I've written this piece of code to use a PHP script to send data to Flex.[code]...

If there is no way to use HttpService for this end (i.e. send image files), how can one do it then? I've seen it in an app I worked on so I'm positive it can be done.

View 2 Replies

Flex :: Display AxisRenderer Outside Graph Without Overlapping?

Sep 7, 2009

Is there a way to display the Vertical Axis outside the graph? I need the limits of the graph to be displayed between the vertical axis, without overlapping the series over the graph.

See that screenshot of what I have:
I need to get something like:

Or I should create a custom axis renderer component that get data from this graph and display it outside?

View 1 Replies

Flex :: Can Overlapping Sibling Prevent Any Event?

Oct 11, 2009

Below is the code for a simple Flex actionscript project. A sprite is partially covering a hyperlink. What's happening is that when you hover over the sprite, if you're also hovering over the hyperlink, the hyperlink is activated. I want to prevent that. I want the hyperlink to be activated only when the mouse hovers over it -- but not when the mouse hovers over the sprite which covers it.

package {
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.events.TextEvent;
import flash.text.Font;
[Code] .....

View 3 Replies

Flex :: Programmatically Set Focus To HorizontalList So That It Could Receive Key Events?

Oct 26, 2009

look at the code:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:creationComplete>

[Code]....

As you see, I try to make my HorizontalList focused when application is loaded. And I actually receive Received focus message in console. But I expected that I would be able to navigate over list elements with arrow keys after setting focus. But that's not the case. They work only after clicking component with mouse. How to make list have focus and respond to arrow keys?

View 2 Replies

Flex :: Bottom Uicomponent Does Not Receive Mouse Events

Apr 19, 2010

I have a base ShapeContainer(UIComponent). I add a uicomponent which has mouse down listener to ShapeContainer. the listener works great. When I add a simple sprite(draw square) on the ShapeContainer, The listener does not work any more. In the code, if I comment below line, The event listener works fine.

[Code]....

View 2 Replies

Flex :: Console - Send / Receive Same Window In TextArea

Apr 21, 2010

Any example of a telnet/chat or other console like FLEX application where you can use the same TextArea as input/ouput area. I've been trying to modify the app at: [URL] but so far, computer says no. All the implementations I've seen use a combination of TextInput and TextArea.

The challenge is that we'll be using this app to telnet into some old routers and we'll need to do a fair amount of copy/pasting. Based on what I've seen, it seems that I would need to point the mouse into the TextInput in order to be able to right click and paste, which is not very sleak.....

View 1 Replies

Java :: Flex Socket - Can't Receive The Command From Server

Aug 20, 2010

I am writing a online game with flex and java server and I have a big problem. In normal case, my game run smoothly but some time the clients can't receive the command from server. I found that if server send message too fast or client is doing something when server send message, the game client can't detect for a new message so my game is freeze. I only tested with 4 clients and I don't know what happen when thousands clients online in the same time. So terrible :(. In the game client, I use one EventDispatcher class to dispatch any command from the server. Do you have any solution to warranty that client must receive any message from server when the connection is still alive or server must know if client received the message or not. I use flex 3 with Socket (binary) and Java QuickServer.

View 1 Replies

Actionscript 3 :: Prevent Overlapping DragDrop Images In Flex

Apr 16, 2010

I am trying to create basically a puzzle in Flex Builder 3. I display images from an array onto a canvas that can be dragged and dropped around the canvas. My problem is that I don't want the images to be able to overlap each other. how to prevent this?? They can overlap as you drag but not when dropped, they need to "snap" to the nearest point that is not already occupied by another image.

View 1 Replies

Flex :: Overlapping Flare Canvas - Clip It To The Container?

May 11, 2011

I'm having a serious issue when trying to display a FlareCanvas within my application. It simply doesn't respect the bounds (see image here)

I've tried "clipContent" and a bunch of alternatives but nothing seems to prevent the canvas of being "passing" over its container. What should I do? It is taking me several weeks!

[Code]...

View 1 Replies

Flash :: Flex 4.6 Increasing Socket Receive Buffer Size?

Apr 5, 2012

I am having an issue with sockets where the data I'm sending is getting truncated on the client side (Flash/Flex). The data that is sent by my server is full and in tact, but flash does not wait the appropriate amount of time before firing an event saying to read the data. This results in the data not getting fully read and (as such) I can't parse the object out of it after that. We are exploring the possibility of stripping the object into smaller chunks, but the idea is for it to be as lightweight as possible so we would much rather get it to work the way it's supposed to than patch in a temporary solution.I'm not entirely sure if referring to it as the receive 'buffer' is correct, as some computers are able to receive all of the data and others are having it truncated (which means the buffer is adequate but flash isn't waiting the appropriate amount of time to dispatch the event for whatever the reason).

View 1 Replies

Flex :: Adobe - Send/receive Data From/to Media Server

Oct 27, 2009

i want to make a simple chat with flex as3 and red5 media server

my idea is that i send from the swf a message to the server and the server sends it to all the swfs (including the one that sent the message)

i just don't know how to to send and receive and how to receive from the server

View 2 Replies

Android :: Air Native Extension - Receive Broadcast In Flex Application?

Jan 31, 2012

I am developing application with Adobe Flex on AIR platform. Using native extension for Android, it is possible to send SMS from my Flex application. Would it also be possible to receive SMS with my application (receive Broadcast carrying information about incoming SMS)? More generally, is it possible to receive Android Broadcasts in my Flex application?

View 1 Replies

Actionscript 3 :: Detect Control Overlapping In Flex 4 While An Object Is Moving?

May 7, 2011

I have this small project HERE. Right now it barely does anything but make the character move.

I move the character by using <s:Move>. Now as you can see on the link to my project page, it moves to where you point the mouse and click. I want to be able to stop the character from moving if it hits another object or in this case, the "tree". Is there a script in AS3 that will let me detect collisions or controls that are overlapping each other?

View 1 Replies

Flex :: Using NetConnection And URLStream To Send/receive Data At High Frequency

Jun 17, 2009

I'm writing a Comet-like app using Flex on the client and my own hand-written server.

I need to be able to send short bursts of data from the client at quite a high frequency (e.g. of the order of 10ms between sends).

I also need the server to push short bursts of data at a similarly high frequency.

I'm using NetConnection.call() to send the data to the server, and URLStream (with chunked encoding) to push the data from the server to the client.

What I've found is that the data isn't being sent/received as soon as it's available. For example, in IE, it seems the data is sent every 200ms rather than as soon as NetConnection.call() is called. Similarly, URLStream isn't making the data available as soon as the server is sending it.

Judging by the difference in behaviour between the browsers, it seems as though the Flash Player (version 10) is relying on the host browser to do all the comms. Can anyone confirm this? Update: This is very likely as only the host browser would know about the proxy settings that might be set.

I've tried using the Socket class and there's no problem with speed there: it works perfectly. However, I'd like to be able to use HTTP-based (port 80) connections so that my app can run in heavily fire-walled environments (I tried using a Socket over port 80, but that has its problems).

Incidentally, all development/testing has been done on an internal LAN, so bandwidth/latency is not an issue.

Update: The data being sent/received is in small packets and doesn't need to be in any particular format. For example, I might need to send a short array of Numbers, and this could either be encoded in AMF (e.g. via NetConnection.call()) or could be put into GET parameters (e.g. using sendToURL()). The main point of my question is really to see whether anyone else has experienced the same problem in calling NetConnection/URLStream frequently, and whether there is a workaround (it's also possible that the fault lies with my server code of course, rather than Flash).

View 2 Replies

Java :: Push Data From BlazeDS Without Receive Message From Flex Client?

Dec 9, 2009

I am using BlazeDS for data-push feature in my Flex application project. From the official tutorial, Getting started with BlazeDS, it shows messaging example with producer/consumer from API. but how can I implement server side which doesn't need to be invoke from Flex client, but from within server-side instead. I got some idea but I don't know how to do because I'm a Flex developer, not Java developer In Google, there's a tutorial show about I need to extend ServiceAdapter class in Java-side, which extends Invoke method. Do I need to extend other class instead of this to do what I want?

View 3 Replies







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