Actionscript 3 :: Flex Bubble Chart Bubble Scaling

Mar 22, 2011

I am trying to Scale the bubbles within the bubble chart. The problem is, I have no control over the data coming in, and the radiusField values are usually below 0 ( no negative values ) with a max of maybe 2.

I created an ItemRenderer for the BubbleSeries, and tried adding a scaleX and scaleY value on the createChildren method, but nothing happens.

View 1 Replies


Similar Posts:


Flex :: Possible To Make Animated Bubble Chart?

Jun 20, 2011

I want to draw a animated bubble chart in Flex 3 / Flex 4 like the link belowDoes anyone know if this made using a readymade component or is custom developed

View 3 Replies

Flex :: Make Bubble Size Relative To Chart?

Jan 12, 2011

I'm wondering if there is any way to make the bubble sizes scale or resize when the size of the chart resizes. If the bubbles are set to a specific pixel size, it seems as though the size is set and that's it. So, if your chart is large, the bubble is size X and if the chart is small the bubble is still size X. [code]...

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

Flex :: Sorting - ArrayCollection Bubble Item Up Or Down By One Position?

Mar 22, 2010

I have an ArrayCollection where I want to be able to bubble items up or down by one position. What is the best way to do this?

View 2 Replies

Actionscript 3 :: Flex: Bubble Events From Custom Classes - Non-UI

Jul 24, 2011

bubble events up a class tree for none-ui components.I have a structure like this:Controller Unit of Work Child Unit 1 (Raise Event)I would like to handle the event raised in Child Unit 1 in the Controller. I've tried to set the bubble property to true but I've read that this only works for UI components.Is there a way to enable this for custom classes that are not UI components?

View 1 Replies

Flex :: Charts - Take Care Of Bubble Sizes Using MinRadius - MaxRadius

Mar 30, 2011

I have a Flex BubbleChart and I want to set my bubble sizes explicitely. I don't want flex to take care of bubble sizes using minRadius, maxRadius. I need my bubbles to be rendered with exact size value.

SOLUTION
Override CircleItemRenderer.updateDisplayList

View 1 Replies

Flex :: Allowing Mouse Events To Bubble Reliably Through The Youtube Chromeless Player?

Mar 30, 2011

I'm working on a prototype that would require me being able to read and track the mouse movement over a playing youtube video. The basic code to replicate my problem boils down to this simple test case:

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

[Code]....

Expected behavior is:

Youtube player loads The label on the top right tracks the X coordinate of the mouse The number should update even when moving the mouse over the Youtube player

So far the program behaves as expected when running from the IDE (tested on both FlashDevelop and FlashBuilder) and even when running the file manually from the output folder. But, alas, when I try to run it from anywhere else than the debug folder (be it another location on my computer or up on a webserver), the Youtube player seems to eat the events.

I don't get sandbox security warnings when debugging (thanks to allowDomain("*")) but I'm running out of ideas on why the program fails once you take the file out of the debug folder.

View 1 Replies

ActionScript 2.0 :: Why Isn't Bubble Working

Dec 8, 2004

Check out frame 3 of this .FLA it was working perfectly fine until I moved the bubble actions from frame 1 to frame 3 Here is the .FLA: [URL]

View 2 Replies

Flex :: Dynamic Child Control With Dynamic Properties And Bubble Event In 4.5

Jul 18, 2011

i have a question while reading Flex 4 Cookbook i came across the method to dynamically adding control to the container controls but nowhere i came across with how to provide them with the dynamic properties and events like they have created a button dynamically inside a group control but what good a button be if i cannot give it an event dynamically. in the same way i want to add a tree view inside a vbox but what good that be if cannot provide a data provider to it dynamically.actually i am creating an web application where i add the tree view to a vbox and i want to the data provider should also be dynamic depending upon the option i have selected in the combo box.

View 1 Replies

Flex :: Best Way Of Creating A Body Of Text With A Text Bubble Background?

Apr 6, 2010

im new to flex, so naturally I would just create a dynamic sprite using the drawing api and put it behind the text... but my app is really buggy using the rawChildren to addChild.So is there a better way to have a bg for a piece of text though actionscript? like modifying an existing component?

View 1 Replies

ActionScript 3 :: Any Possibility To Bubble Event Up?

Jan 22, 2012

I want to have the parent of my class handle the event first, then I want to have the child handle the event. Is there a way to explicitly bubble the event up? I want to do something like this:
...
this.addEventListener(MouseEvent.CLICK, characterClicked);
...
private function characterClicked(e:Event):void{
// pass event to parent to be handled first
...
}
Is this possible, and if so how?

View 3 Replies

IDE :: Storing Word Bubble Text?

Oct 22, 2009

I'm working on a little game. The machanics are fine, but I'm curious on the best way to work the "cut scenes" between the action. This will involve some "text bubbles" for the conversations.

I guess there are several ways to do this. I could actually make frames for each conversation frame, leaving the text drawn on each frame. I'm tending towards this method, as I can see it all as it should be layed out.

Is it worth it trying to store all the text in a sperate file that is called upon when the text is needed? I have seen this done in many other games (non-flash), but in those games there is quite a lot of text.

View 1 Replies

MX04 To Move Snap-to Bubble Of Symbols?

Sep 14, 2011

I've been away from Flash for a while, and have been trying to get back into it by creating a simple movie. I'm trying to animate some characters along a path, but need to move the character's snap-to bubble (not sure what the proper name is - the little circle which 'connects' to the motion guide) so that the character is in the right position in relation to the path. I can't for the life of me figure/remember how to do this. Is it possible?

View 4 Replies

Load Up A Random Voice Bubble Image?

May 15, 2010

I'm looking to help a friend with his site and basically, I need a good tutorial on how I could create a character with a voice bubble that, when you click on a button, displays a random quote.  Also, I know this might not be the right forum to ask this in, but would this be easier to do in Dreamweaver if I just place the item of the character and have it load up a random voice bubble image?  If so, are there any good tutorials for that?

View 1 Replies

ActionScript 2.0 :: Create Random Bubble Movement

Apr 27, 2010

[code]I follwed i tutorial the other day on how to create random bubble movement snd it works but the bubbles generate across the page, but i just want them to generate between around 300 x 500 pixels

View 8 Replies

ActionScript 3.0 :: Creating A Dynamic Bubble Re-arrange?

Feb 5, 2009

how to create the same effect?I mean: how to resize and rearrange the bubbles so that they do not overlap?In this application only the sizes and colors are dynamic from XML and the bubbles are placed an a relativ x and y when the application starts. How do they rearrange so they don't overlap?

View 14 Replies

ActionScript 2.0 :: Make The Bubble Start From A Certain Point In A Movie?

Dec 30, 2002

I was trying to modify the kirupa "falling snow" tutorial into a water bubbles effect which is just making it up side down. However, I was having trouble to make the bubble start from a certain point in a movie. For example, I was trying to make the bubble start from the bottom of the screen, but it didn't seem to work for me. Therefore, I was hoping if there is someone who can help me to solve the problem.

View 7 Replies

ActionScript 2.0 :: Make A Bubble Movie Clip - Fade In/out?

Jun 7, 2005

I'm trying to make a bubble movie clip, instance name storeBtn, grow in and out and fade in/out. I understand now that I can't use more than one prototype object because their onEnterFrame's replace each other? On their own each of these protypes work, although the scaling one isn't contraining the movie clip, it squishes the bubble in and out a bit. Is there any way to combine alpha and scale in one prototype? I tried adding more parameters but that didn't work. Or is there some other way?Here's the code I'm trying to work with.

MovieClip.prototype.fade = function(minAlpha, maxAlpha, speedAlpha) {
this.onEnterFrame = function() {
if (!this.trigger) {[code].......

View 9 Replies

ActionScript 2.0 :: Depth - When Click On An Individual A Movie Comes Up But Bubble Stays There

Mar 11, 2010

I added a thought bubble over an individuals head and have a couple problems with it. The first is that when you rollover one of the other individuals they should be on top of the thought bubble. The other issue is when you click on an individual a movie comes up, but the thought bubble stays there. I want it to disappear until they go back to the main screen. Here is the flash file: [URL] When you rollover the top individuals they are executing the following code:

invisible._height = 190;
this.swapDepths(_parent.getNextHighestDepth());
transition(this._name);

View 4 Replies

ActionScript 3.0 :: Way To Exclude An Element From Whole Capture / Bubble Event Procedure?

Jan 31, 2007

[code]I added MouseEvent.MOUSE_OVER event listener to the 'back' sprite, but it doesn't get called, because the 'text' element is in front of it.I want to keep the event firing only when mouse is over the 'back', so I can't add eventlistener to the 'btn'.I could put some transparenet duplicate of 'back' in front of the 'text' and add listener there, but I believe there should be a more elegant solution.Maybe there is some way to exclude an element from the whole capture/bubble event procedure?

View 4 Replies

Flash :: Determine The Display Object Hierarchy An Event Will Capture/bubble Through?

Jun 7, 2011

In Actionscript 3 is there any way to determine the precise display object hierarchy an event will traverse through when dispatched from a given object? The object is not necessarily a display object.Although I could imagine this actually being useful somehow, in my particular case it is a learning exercise. I'm trying to master the event system in flash and have some locations where I'm very curious what path an event will take when I dispatch it.

View 2 Replies

ActionScript 3 :: Bubble Game Base Class - Sound Playing Too Late

Feb 12, 2012

Any examples of ActionScript 3.0 code that deploys any kind of sound files to be used in Flash Pro files, for final output as SWF. I am using the code (below) for the Base class of a Bubble Game (of sorts), and the problem is, that when popped, the sound plays a little too late, not spot on.

This is my code - which is linked to the Bubbles in the library of my FLA:
package {
import flash.display.*;
import flash.events.*;
import flash.media.Sound;
import flash.net.URLRequest;
public class BubbleBaseNew4 extends MovieClip {
[Code] .....

View 1 Replies

Actionscript 3 :: Bubble Pop Game / Defining ToString Method Through Reference With A Static Type Class

Apr 3, 2012

I have the actionscript code here for a bubble popping game. When the game starts, bubbles fall down from the top of the game to the bottom and score is kept for the most bubbles clicked or popped in 30 seconds.The size of the bubble is defined by the initialize method in the code, and uses ToString() to calculate the score. ToString gives me a 1061: Call to a possibly undefined method Random through a reference with static type uint. This error which I cannot figure out where it comes from.[code]

View 4 Replies

Actionscript 3.0 :: Make A 360º View Bubble Like Google Street View

Mar 18, 2010

I am wondering how to make a 360º view bubble, like they use for Google Street View, but have no idea how to go at accomplishing this task... i have the string of photos that i attached in photoshop(so that if you connected the left to the right it would be a full 360º view).

View 1 Replies

Creating A "bubble" When A Button Is Clicked?

Jun 1, 2010

I do not have a good background in flash, I tend to avoid it as I look at actionscripting and think, Time.

Problem is, And I already have this already made too, A black bubble that when a button is clicked, A small black circle appears and expands, Fading away as it does so.

I already made that, And it works, But the bubble is only there for the time that I click the button. If I let go of the mouse button before the bubble has fully expanded, It stops expanding and cuts off.

How do I get the bubble (Which I have as a movie clip in library already) appear and stay appeared one the user has clicked and let go of the mouse button?

View 1 Replies

Flex - 9 Slice Scaling Doesnt Work For Chart Fills?

Sep 8, 2011

I wanted to e to replace the standard flex bar chart bars with my own image. This worked by embedding the image and setting as a bitmapfill. however these images dont scale well even tho i have applied 9 slice scaling when embedding.

[Code]...

View 1 Replies

Flex :: Prevent A Default Chart Item Roll Over Highlight In A Spark Column Chart?

Mar 3, 2011

I'm trying to prevent a default chart item roll over highlight in a Spark column chart.If you look at any of the chart examples on this page , when you roll over any of the chart series items, they turn a darkened shade of their original colour. This is what I want to prevent.

So far I have had no luck with using the itemRollOverColor property, as this only allows you to set it to one specific colour for the whole chart (my app has several different coloured series on the chart at once). Also, trying to leverage the itemRollOver event (with preventDefault() etc) hasn't worked either.

View 1 Replies

Flex :: Make Chart Which Is Combination Of Bar And Line Chart Using Charting API

Jan 10, 2011

I'm trying to make chart which is combination of bar and line chart using Flex Charting API . Here x axis would be common and y axis would be different. note that y axis got different range of value one is % and other is amount. Any one got idea how to make this chart. Here line chart would be staked on top of bar chart . The line chart and never over laid or drawn on top of bar chart.

View 1 Replies

ActionScript 3.0 :: Develop Chart In Flash (eg. Bar Chart, Pie Chart)?

Mar 2, 2011

Is it possible to develop chart in flash (eg. bar chart, pie chart)?

View 1 Replies







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