ActionScript 3.0 :: Width And Components Acting Weird?

Feb 22, 2009

I have a parent Sprite A, that I add a Label component and aList component to. The Label is placed directly above the Listinside of Sprite A. No matter how I change the width of the Labeland the List, Sprite A always reports a width of 115. How can I fixthis so that it reports the actual width?

View 10 Replies


Similar Posts:


ActionScript 2.0 :: Basic Slideshow Acting Weird

Feb 18, 2010

I am trying to create a very basic slide show of images that automatically revolves every 4 seconds. everything works fine but for a short time. After 2 cycles the images start to show up out of order, in less than 4 seconds and single images may repeat instead of playing the next image.

View 1 Replies

Flex :: Make Width Of Child Components To Be 100%?

Apr 14, 2010

I usually write something like this:

<mx:VBox height="100%" width="155">
<mx:Button label="b1" width="100%"/>
<mx:Buttonlabel="b2" width="100%"/>

[code].....

View 1 Replies

ActionScript 3.0 :: Increasing Width Of Scrollpane Components On Android?

Jan 4, 2012

We are working on an android application that works on web also. On android the scrollpane components are showing very small and difficult to catch with finger. We tried to increase the width of scrollpane component but this don't work.

View 1 Replies

Flex :: Components - Components - Any Component With The Functionality Such As Horizontally Collapsible Window Or Panel

Aug 22, 2010

Do you know any flex component with the functionality such as horizontally collapsible window or panel I found arc90, but it folds vertically.

View 1 Replies

Flash :: Flex Dynamically Created Components Added To Custom Components

Sep 8, 2009

I am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating the Vbox....

[Code]...

View 1 Replies

Put Links Into These Weird Buttons?

Nov 18, 2009

ive got a flash template, but its really difficult to edit. heres the thing: there are 4 main categories buttons, and when i click each categorie, 3 options appears. for example

[Code]...

green, blue, red and yellow are already with button codes, for when i click it, it opens their 1, 2 and 3 option buttons, but these 1 2 and 3 for each color are not links, and when i try to add a code to them, ALL of them get the same link, like their instances from the same thing. and when i try to set a button to be instance of another thing, all of them change again.

its really difficult and i've tried everything. even creating another box for these 1,2and 3, but when i create a box on this section, another 2 boxes are created at its sides.

View 2 Replies

My Navigate To URL Is Not Acting Right?

May 23, 2009

stop()
var home_req:URLRequest = new URLRequest("home.html");
function home(event:MouseEvent):void[code].....

I created this flash intro (CS3) and after this flash intro, I want the home page to come up. It's not doing it. What am I doing wrong in this code? I want it to open in the same page.After my into, it's just a blank web page.

View 3 Replies

Is It Bad Design To Nest Components Inside Components Using Flex 4

Sep 15, 2010

Is it bad practice/design to nest components inside components using Flex 4? Should I simply be creating components and inserting them into my main application as below, or doesn't it matter?

<com:MyComp1>
<com:MyComp2>
<com:MyComp3>

[code]....

View 1 Replies

Flashp 8 :: Weird Blink With Glow?

May 25, 2011

ill try and give as much detail as possible: im trying to teach myself and make a flash site at the same time, so far so good, i already had one, but didn't like the layout

im using Macromedia flash 8 to make this. when i use the glow effect on text, and make a new keyframe to dim the glow again theres a weird blink on that keyframe and im not sure what is wrong.

live demo:[URL]...

View 7 Replies

Installation Instructions For .tar.gz Weird Fantasy?

Nov 20, 2009

On Linux (Debian Lenny) the installation instructions for the *installer*.tar.gz download file say:Unpack file.Navigate into directory or folder created.Run install program.But no directory created; no install program - what the hell is going on??What you get is a single *.so file.  What do you do with it?I got it to work in the past, but perhaps by a different method.

View 1 Replies

ActionScript 3.0 :: Timers Acting Different Between OS?

Jan 7, 2010

I developed a flash/as3 animation recently which used a couple of timers. I devved on a mac and then transferred the fla to a pc. When I output the swf from the pc it acted different.The timers were much faster

View 0 Replies

ActionScript 2.0 :: Script Acting Different In Fp8 Instead Of Fp6?

Mar 10, 2008

i've been playing around with this dynamic ribbon effect for some days now. It was made in Actionscript 2.0 for Flashplayer 6, now i need to change the Flashplayer to 8, because i made some other scripts which needs the new features in the new player.

But for some reason the animation is acting strange when i change the player. It is like it misses out just a tiny bit of the code, or some function. It is acting like it is stuck in the upper left corner all the time.

[code]....

View 5 Replies

ActionScript 3.0 :: Timers Acting Different With OS?

Jan 7, 2010

I developed a flash/as3 animation recently which used a couple of timers. I devved on a mac and then transferred the fla to a pc. When I output the swf from the pc it acted different. The timers were much faster. Has anyone seen this before?

View 1 Replies

ActionScript 3.0 :: RollOver And RollOut Weird Action?

Sep 9, 2009

basically its a movieclip button with 2 other movieclip within it. i managed to code the rollover and rollout script for it but there is a funny spot that keeps triggering my rollover and rollout script endlessly if i leave my mouse hovering on it....any expert out there can clear this doubt of mine pls^^?^

View 3 Replies

ActionScript 3.0 :: Weird Masking Graphic Glitch?

Jul 31, 2010

Anyone has had white vertical lines along one or both sides of their masks?Looking for the lines and can't find them (Mask are made in the visual interface).The mask is a black rectangle, it moves over a 2 black rectangles, one 100% alpha, the other one 35% alpha. White lines only show on 35% alpha part.

View 1 Replies

ActionScript 3.0 ::drag And Drop - Weird Behavior?

Jan 21, 2010

I'm using AS3. I have a timeline with 12 labeled frames (page 1...page12). On frames 1 to 10, I have 3 objects that users can drag and drop onto matching places. There is a timer (60 seconds) and a counter. Users should match 15 objects correctly. If so, they go to frame 12 (congratulations!). If not, they go to frame 11 (Sorry, try again), which returns them to frame 1 (page 1).

ISSUE: When users drag an object (mouseDown) and don't release it when time is over, the dragged object remains on the screen. When users go to frame 11 and game starts over, the object remains throughout the entire game.How can I get rid of the dragged object that isn't dropped when the time is over?Here ism y code:

// TIMER
var time1:int=60;var myTimer1:Timer = new Timer(1000, time1);[code]..................

View 13 Replies

Professional :: Flash Text Weird On Mac / Fine On PC?

Apr 7, 2011

Basically it's a font called Scene Pro and it's Open Type. I have a guy working on a Mac and the font does this on his computer.But it's completely fine on my PC. It's the same font.He has Font Book and we disabled all the fonts except Scene Pro - and still this happens. We need this guy to do more work in Flash but on a Mac he's kinda held back a bit with the text behaving like this. I end up Publishing the file from my computer. 

View 17 Replies

Flash :: Set Mc Size On Stage Yields Weird X , Y?

May 19, 2011

I have an empty movie clip instance on stage with x=y=w=h=0.0. Anytime I try to set a non-zero width or height in the properties palette, the corresponding x or y value goes insanely huge, sometimes negative. When I lock the padlock, and set width to 1.0, the other goes like "-1.$".

View 1 Replies

Actionscript 3 :: GetLatLngBounds Returns Weird Bounds

Feb 29, 2012

I'm working with the Flash Api for Google Maps in my Actionscript/Air project. I now need the latLngBounds (the top left, top right, bottom right and bottom left) values of the current view of the map. The function map.getLatLngBounds should do that, but it always gives me a really low lat/lng bounds back. Always somewhere around:

[Code]...

View 1 Replies

ActionScript 2.0 :: Weird Compression When Importing Jpgs

Mar 6, 2008

Fairly new to Flash but I was wondering something. When I look at a jpg in Photoshop, the quality is fantastic and the white border is sharp.

When I import that same jpg into flash and convert it to a button, it somehow looks a tad odd around the edges, like it's been scaled by 0.1% or something, enough to make the once crisp white edge, look anti-aliased.

View 5 Replies

ActionScript 3.0 :: Button Hitarea Is Off/ Distorted (weird)?

Aug 13, 2010

Got this weird issue going on today. The hitarea, the 'interactive space' of some of my buttons is off/ distorted. I created several buttons in a class with the pen tool and converted them to Buttons. I added some eventlisteners, but when I tested my Movie, I noticed the interactive space of some buttons was gone or at a different position or not the size I made it.

I made another button using the rectangle tool, and tested again. I noticed the visual button was at the place I put it, but the 'interactive space' was at the bottom right. Whenever I would move over this interactive space with my cursor, the visual button would instantly go to the place the interactive space is. Whenever I move the mouse out of the interactive space, the visual button goes back to its inital place.

Check it: (press start, 2 times the right arrow, then the window, then go to one of the buildings in the landscape and click on it)[URL].. Here you see two rectangle shape buttons. Hover over them, no interactivity. Move the mouse somewhat down to the right, and weirdness happens.

[Code]...

View 4 Replies

ActionScript 3.0 :: Flash/SWF Acting Differently In IE8?

Jul 27, 2009

ave anyone run into a SWF acting differently when loaded in IE8? I just finished a banner/header for a client that is working perfectly except when loaded in IE8, here is what is happening...

[URL]

Basically my masks are not being loaded on init()... I'm loading external XML so I'm thinking it might have something to do with that.

View 2 Replies

ActionScript 2.0 :: A Movieclip That Is Acting Like A Button?

Apr 27, 2010

I have a movieclip that is acting like a button. I cannot seem to target the movieclip.Here's my path:THIS DOES NOT WORK!

ActionScript Code:
var tb = toolBar;
tb.stateViewBTN.onPress = function() {

[code].....

View 8 Replies

Actionscript :: Use Components Code In Mmxl Components

May 8, 2011

how i can use actionscript component code in mmxl components,as in actionscript components we use classes ,but in mmxl component we can not use classes function, so how i can use actionscript component code in mmxl component

[Code]...

but i cant use this code in mmxl components how i can use public class DialogTitle extends HBox implements IBindingClient in mmxl component code,what are the way to use it,sorry i am newbie if it is silly question

View 1 Replies

ActionScript 3.0 :: Weird Error Involving Classes And Loaded SWF

Jan 28, 2010

My project is about a header.swf that calls a nav.swf (with a menu and other stuff) and also inits a slideshow through a Slideshow class.This is in header.swf:[code]I renamed the XmlParser class to "XmlParser2.as" (as well as other references to it) and then...it worked...what the hell was going on here?

obs: I tried that also: I commented all the code inside the "initSlideShow" function, keeping the XmlParser instantiation, and the nav.swf didn't show as well.

obs2 : i didn't had XmlParser.as imported cause it was in the root directory. ( i explicitely imported it and tried to compile but same thing happened)

obs3: nav.swf uses the XmlParser.as to load two menus, however I don't believe it has anything to do it since it's a file that is already compiled, at the point I try to load it into header.swf, right?

View 2 Replies

ActionScript 3.0 :: Weird Yellow Stroke On Flash Buttons?

Dec 30, 2010

there is a yellow stroke appearing on my Flash buttons sometimes and i really have no idea why..anyone had this before? I didnt put there...and sometimes it appears on random buttons..

View 5 Replies

ActionScript 2.0 :: Flash CS3 Weird Error When Trying To Autoformat A File?

Feb 9, 2008

I get this error when I try to Auto format my script in an .as file inside flash CS3, though when I just check Syntax it says the script contains no errors. This is the error:

Code: ActionScript 2.0 class scripts may only define class or interface constructs. I just moved to CS3, and I use AS2 still, on flash 8 it didn't do that, so now I can't Auto format my .as files. I found out this question was asked on these forums and the answer was just not to use Auto format.

[Code]...

View 5 Replies

ActionScript 3.0 :: After Reinstall, Weird Flash Does Not Seem To Compile Any Script?

Oct 18, 2010

First, the tab areas of the window panes in Flash go blank.See:[url].....I could understand if I was working on a slow PC. My system scores a WEI of 7.2. I'm running Win7 Pro 64-bit. It's very bizarre and distracting. I have to open and close the windows to make them look normal again.Secondly, and even more importantly, Flash does not seem to compile any actionscript! I created a new AS3 file. I tried a simple trace command, and it won't even output the trace.

ActionScript Code:
trace("Hello?");

Why would it ignore everything in the AS pane? Even obvious errors ( import com.blah; ) don't cause problems.

View 2 Replies

ActionScript 3.0 :: Sounds Play A Little Delayed/weird Detection?

Jan 25, 2012

I'm trying to make an instrument type thing.[URL]... How come the sounds play about half a second after you hover your mouse on one of the circles? I need it to be completely instant.

[Code]...

Also, sometimes, it just doesn't detect the hover at all and doesn't play a sound (if you hover too fast)..

View 5 Replies







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