ActionScript 3.0 :: Shape Displays In One Part Of Program, But Not In Other

Nov 16, 2011

I have multiple simple audio players displayed on the screen, each contained in an HBox. Each audio player has a Waveform, a Container that displays a waveform Shape that is drawn from samples.

The issue I've been having is that in one part of the program, where multiple audio players are just added to a tab from top to bottom, the waveform displays fine, as well as the bar that tracks the current position of the audio playing (a child of WaveForm). However, in the main part of the interface, where audio players are indented such that each audio player has a visible "child" audio player that can be expanded/hidden, the WaveForms don't display at all.

The strange thing is that these sound player objects are being created by the main tab where the waveform isn't displayed, and are occasionally sent to the other tab where the waveform works - they're the exact same objects, and the WaveForm objects retain the same parameters and visibility etc when they're passed, they just aren't drawn. In the tab where they aren't being drawn, the only additional parent graphical component is an HBox containing all of the sound players - I can't figure out for the life of me if I'm missing some sort of parameter or what.

View 0 Replies


Similar Posts:


ActionScript 2.0 :: Test The Movie The Trace Part Displays In The Output Without Clicking On My_button?

Mar 4, 2008

For some reason when i test the movie the trace part displays in the output without me even clicking on my_button?

PHP Code:

my_button.onPress = function() {       _root.clicked = true; } if (clicked == true;) {       trace("clicked is true"); } 

View 4 Replies

ActionScript 3.0 :: Delete A Particular Part Of A Shape?

Jul 1, 2011

I am working in a complicated shape manuplation project. In that user can join 2 shapes , he can duplicate, he can delete a particular part of a shape ect;
 
In the following code copies a shape and adds to stage.
  
import flash.display.Shape;
var sh1:Shape = new Shape();
sh1.graphics.lineStyle(2,0x000000);sh1.graphics.drawRect(45,45,100,100);addChild(sh1);trace(sh1.x);trace(sh1.y);sh1.rotation = 45;
 
[Code]... 
 
In this all the properties of sh1 copied except the rotation value. But i dont want to assign it directly like sh2.rotation = sh1.rotation;

View 3 Replies

ActionScript 3.0 :: Program That Queries A Database For Options And Displays The Options In A Number Of ComboBoxes?

Aug 29, 2011

Im building a program that queries a database for options and displays the options in a number of comboBoxes. The comboBoxes are dynamically built and loaded via code and added to the stage. I would like to build the comboBoxes into a single movie clip (maybe not the correct wording) so I can use options like tweening and such to make it look better. The code is below.

package classFiles
{
import flash.display.MovieClip;

[code]....

View 3 Replies

ActionScript 3.0 :: FireFox Displays "some" Flash File - IE Displays All

Feb 17, 2009

I've hit a brick wall here. I have a Flash file that displays fine in IE. It also displays fine when ran as a SWF. However, in FireFox, it does not display my scroller. I developed the Scroller component dynamically... everything is drawn from scratch, no library movieClips, etc. I'm starting to think that could be the cause? I've tried many different things:

[Code]...

View 5 Replies

ActionScript 3.0 :: FireFox Displays "some" Flash File But IE Displays All

Feb 15, 2009

I've hit a brick wall here. I have a Flash file that displays fine in IE. It also displays fine when ran as a SWF. However, in FireFox, it does not display my scroller. I developed the Scroller component dynamically... everything is drawn from scratch, no library movieClips, etc. I'm starting to think that could be the cause? I've tried many different things: Changed the HTML code to bare bones embedding code.Recompiled in Flex.... same result!Tested on another computer... it worked fine! However, I tested on another computer with FireFox... same problem.

It's so weird.I seperated the Image Slide show component from the Scroller... the scroller had the same effect... didn't display in FF.Played around with WmodeChecked my code for addChild problems, visibilty, alpha properties... nothing out of the ordinary.Asked God.Drank some Gin.Took a break and came back to it.I've reseached Google and the most I could come up with is to compile using FP10. It is FP10. I'm using CS3 and FlashDevelop. When I right click on my Flash file, it does indeed display FP10. Same with Flex.

[Code]...

View 6 Replies

ActionScript 3.0 :: Add An Exit Button Onto Program So When Its Clicked It Exits The Program Completely

Nov 4, 2008

Im trying to add an exit button onto my program so when its clicked it exits the program completely.. I've tried some of the suggestions on the forums but they arnt working. what I have been using and its not working..

// CLICK to Exit
exit_Btn.addEventListener("mouseUp", goExit);
function goExit(evt:MouseEvent) {
fscommand("quit");
};

View 9 Replies

ActionScript 2.0 :: Start An Unrelated Program (such As Window's Media Player) From Inside Of A Flash Program?

Sep 29, 2010

Is there a way to start an unrelated program (such as Window's media player) from inside of a flash program?

View 2 Replies

ActionScript 2.0 :: Program A Timer For A Typing Tutorial Program?

Mar 24, 2003

I need to program a timer for a typing tutorial program. It needs to go to 5 minutes. When the timer gets to 5 minutes the movie has to go to frame 13 which displays the results of the typing test.

View 1 Replies

ActionScript 3.0 :: New Shape - 1046: Type Was Not Found Or Was Not A Compile-time Constant: Shape

Nov 30, 2009

ActionScript Code:
package {
import flash.display.MovieClip;
public class Base extends MovieClip {
public var baseHP:int = 50;
var newRect:Shape = new Shape();

1046: Type was not found or was not a compile-time constant: Shape. 1180: Call to a possibly undefined method Shape. What does it mean by "undefined method"? I am somewhat of a newby, so sorry if there are any stupid errors

View 1 Replies

Professional :: Adding Shape Hints Makes Shape Disappear In Between Frames

Jun 22, 2010

Whenever I add shape hints to a shape tween the shape disappears in the between frames. I am using CS5 on Vista. I using files from [URL]to practice.

View 2 Replies

ActionScript 3.0 :: Draw The Shape Of A Existing Movieclip Which Is Irregular Shape?

Oct 11, 2011

need to draw the shape of a existing movieclip which is irregular shape.

View 2 Replies

ActionScript 3.0 :: Draw The Shape Of A Existing Movieclip Which Is Irregular Shape

Oct 11, 2011

need to draw the shape of a existing movieclip which is irregular shape.

View 1 Replies

ActionScript 1/2 :: Shape Colliding Another Shape, Not The Rectangleof A Movieclip?

Jul 9, 2009

Id like to know if there is a way to do a shape hitTest.Not as the normal hitTest would do, but shape colliding another shape, not the rectangleof a movieclip.It can be in a movieclip.

View 23 Replies

Actionscript :: Connection From Program To The Server Using XAMPP Server And Program In Flex?

Oct 26, 2010

i have the following code ]

[Code]...

but no connection established what is the reason behind not know help required and one more thing XAMPP is installed in D: drive.

View 1 Replies

Regex :: If Part Of Substring Is True Then Replace Part Of Substring With Running Var?

Mar 9, 2011

Ok perhaps ive bitten off too much here...I know you are not supposed to parse xml/html to regex but the thing is there just arent many other options.Im using AS3.im parsing the source of textflowlayout text to a different format.

string to parse :

< fontFamily=Verdana encoding=unicode fontWeight="bold"> some text < fontFamily=Verdana encoding=unicode > some text < fontFamily=Arial encoding=unicode fontStyle="italic"> some text < fontFamily=Arial encoding=unicode fontWeight="bold" fontStyle="italic"> some text

what i really need is:

< fontname=Verdanabold encoding=unicode> some text < fontname=Verdana encoding=unicode > some text < fontname=Arialitalic encoding=unicode > some text < fontname=Arialbolditalic encoding=unicode > some text

logically i think of it as taking apart the string into substrings

checking if there are fontWeight or fontStyle in the substring

if there is then appending the font name with the weight or style so so that the font name becomes font NameWeightStyle.then rebuilding the string.The font could be any font with variouse styles or weights..so far:

pattern = /<(.*?)>/gixsm;
var matches:Object = pattern.exec(str);
var finalstring:String = "";[code]...........

View 1 Replies

Flash :: Flv/video Player Which Allows To Seek For Part Of Not Loaded Video Part?

Mar 11, 2012

I'am looking for a flv/video player which allow to seek for not loaded part of the video,just like on youtube.

View 1 Replies

Professional :: Change The Shape Of A Shape?

Oct 19, 2010

using the shape tool you can draw basic shapesthen using the subselection tool you can re-shape them by relocating certain points

What i want to do is create a tween whereby one of the points is movedthe problem is you have to convert to a symbol first and after you have done that you cant change the shapes shape.so how do i go about using a motion tween to change the shape of a shape?

View 1 Replies

Flash8 : Run A Flash Program From Another Flash Program?

Jan 29, 2010

I have created a flash program and I would like to run a second flash program from inside the first. To explain, say I am running a program that draws a circle and fills it with a color. Then, I have designed a second program that will divide a circle into sectors by entering percentages, to turn that circle into a pie chart. Is there a way to be running the "draw a circle" program and have a button that opens the "divide the circle into sectors" program in a new window and then passes information from that program to the first program. I am sure I will have to send the information from the second program to an XML file and then have the first program recieve it from the XML file (which I can do), but I don't know if I can run the second program from inside the first program.

View 1 Replies

Professional :: SVG Does Not Displays In IE?

Oct 8, 2010

I cannot display any SVG image in my Internet Explorer. I recently installed the Adobe SVG plugin without success.

View 1 Replies

IDE :: MAC Displays A Different Font Than PC?

Mar 10, 2010

I created a flash file on my PC and exported it. When I view it online with my PC, it looks perfect...but when I look at it on a MAC, the font type is different than what it should be. I tryed different browsers on the MAC and it still displays the wrong font.

View 1 Replies

Only Background Displays While Working On An .fla

Oct 3, 2009

I've recently installed CS4, and I've just gotten around to using Flash. Unfortunately, there's a big problem. Only the background color displays while working on an .fla, no matter what you place on it. The .swf is fine, but it's not very useful without being able to see what you're doing. I've tried it with an existing CS4, CS3, and new files, and they all have a blank display. I haven't been able to find anything relevant to this, and it's really disconcerting to hit a dead end on the first try.

View 3 Replies

Professional :: Embedded FLV Never Displays?

Jun 23, 2010

I've embedded an FLV file (created in Premiere Pro CS4) using Dreamweaver CS4 and I cannot get the actual video to show/play in any browser. If you right click where the video is located on the page, or highlight everything on the screen, you can see the defined outline of it, but nothing ever actually loads/shows. I uploaded all of the files that Dreamweaver created with its little FLV embed wizard, so I'm not sure what exactly I'm missing

View 1 Replies

ActionScript 2.0 :: Preloader Only Displays When It Get To Like 50%

Jun 15, 2006

My problem is when i make a preloader i allways seem to get this problem i dont know if it is what everyone elese gets but when i make a preloader and add my content to it i get these issues. the preloader only displays when it get to like 50% whats the deal with this??? it never ever seems to start from 0% then work its way to 100% it allways starts wrong ????? does anyone have a solution to this because it is really bugging me

View 3 Replies

ActionScript 2.0 :: XML Only Displays After A Reload?

Feb 13, 2008

I don't get this, my menu shows the menuItems after i reload the page, not the first time.

on frame 1 i have

Code:
xmlSettings = new XML();
xmlSettings.ignoreWhite = true;
xmlSettings.onLoad = loadXML;

[Code]....

How can i make sure the menuItems are show on first load?

View 1 Replies

Flash Is Not Displaying In Firefox But Displays In IE?

Aug 18, 2010

Here's my code...

<div id="header">
<div><!--Valid flash version 8.0-->
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash

[Code].....

View 2 Replies

ActionScript 3.0 :: Array Displays Value From Another Class

Sep 4, 2009

I am in the midts of this application, and it seems as when i pass in an array into a class, and try to place the same object in a diffrent context on the stage. It remembers the settings of that object from the previous class, even though i assign it as a new instance. Talking about Loader

the array looks like this
 
_meta:Array = {category: loader_object};
 
My document class
 
_firstview = new FirstView();
_firstview.object = _meta[0].category; //This is placed through an access modifier
_secondview = new SecondView();
_secondview.object = _meta[0].category;

[Code].... 

The object from the first screen now disappears and it shows up on the second screen, but it should appear on both screens

I tried to copy the array and the object, instantiated new Loader object, but it is still giving me the same results
 
why there would be this glich, how can an object not be copied properly, if it is stored in private variables within the class
 
I tried:
_meta.concat(); 
_copyArray = _meta;

View 7 Replies

Swf - Flash Movie Displays In IE, But Not In Chrome

Sep 15, 2010

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="230" height="130" align="right">

[Code].....

Why code above can't function in Chrome?

View 2 Replies

Flex :: Nothing Displays When Add UIcomponent To Canvas?

Oct 22, 2010

i am trying to add a uicomponent which contains an object of a custom class the extends UIcomponents and i want to display this uicomponent to canvas i have done no error compile or run time but it does not display the Uicomponent.

here is code;

var item:RecordRanderer = new RecordRanderer();
item.randerItem(child);
item.x=20;

[Code]....

View 2 Replies

Flash 9 :: Iframe Containing Swf Displays On Top Of All Other Swfs?

Nov 21, 2008

I need my SWF banners to display in an IFRAME, and after a set amount of time, they need to animate and end up behind another SWF on the page.

Currently JPGs and GIFs do this just fine, but when the IFRAME contains a SWF, it displays on top of the other SWF, not behind it.

I've already tried the following:

-setting z-index on the SWF and IFRAME
-setting wmode=transparent

I know the obvious solution here is to use object/embed code in the div, but for reasons beyond my control and too annoying to discuss here, this isn't an option. The SWFs must be placed using an IFRAME. This makes setting WMODE impossible, and when the IFRAME contains a swf, the browser ignores z-index.

View 0 Replies







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