ActionScript 3.0 :: Visible Not Working On Mac
Aug 1, 2010obj_mc.visible = false; not working on mac, work good on pc.
View 3 Repliesobj_mc.visible = false; not working on mac, work good on pc.
View 3 RepliesI'm using Flash Cs4 with As3 to make a project. In part of it I have an object which is invisible, but when a button is pressed is made visible. Only problem is, it won't make it visible.
Heres my code
PHP Code:
import flash.events.Event;import flash.events.MouseEvent;aSettings.visible = falsevar setVisible:Boolean = false;buttonVisibility.addEventListener(MouseEvent.MOUSE_DOWN,function():void
[Code]....
I'm not receiving any errors at all, but whenever I click the button the output says "false", so I know that its not changing it to true.
i am working on a web application based on media gallery.In this application i am uploading media using SWFUpload either images and videos.When i try to open my application on IOS then uploader not visible there.Where it is working fine on safari installed on windows. one site who is using SWFUpload is [URL] Here SwfUploader working nice on windows but not on IOS machines.
Is there any javax html5 compatible uploader?
I have 7 images, 6 of which are hidden, and they're all stacked on top of one another. The Goal is to click the top one, make it disappear, and make the one below it appear. the subordinate layers need to be invisible so that the glow doesn't interrupt the glow above. Im not certain, but the imported images were converted to symbols as a Movie Clip, not a button, but i don't know if a button would still be able to maintain a layer filter...
Code:
//Create only one visible layer to avoid overlay problems (Indigo - Red)
Purple.visible = true;
Indigo.visible = false;
Blue.visible = false;
[Code]....
[URL]
Im trying to hide components and other stuff using either the
._alpha = 0;
or .visible = false;
although when its on a flash component it wont hide?
Im trying to hide components and other stuff using either the
._alpha = 0;
or .visible = false;
although when its on a flash component it wont hide?
I'm working with a dynamic slideshow that was already set up. Instead of thumbnails each image has a button that you click to see the image. I cant get the buttons to turn off for the categories that have less than 26 images. he button instance names are imgB1, imgB2,etc... they are in a container that is called: mc,collection_menu with an instance name of: collection_Menu basically in the script bellow the: visible=false is not working, is this the right syntax... what is wrong here
Code:
// this is the main button to start the slide show
collButtHolder.Bali.onRelease = function() {
[code].....
So i have my index.swf file with an mc called "loadingspace" (as instance) who appears on a 10 frame animation.
At the 10th frame i have placed this code:
Code:
var my_loader:Loader = new Loader();
my_loader.load(new URLRequest("http://www.mysite.com/preload/preloader.swf"));
addChild(my_loader);
[Code]......
I have some AS that creates a movie clip and later tries to make it go away. However, _visible isn't working as I would think. Here's a sample: I create the triangle:
[Code]...
It doesn't work, however. So, I tried trace(triangle30._visible) both before and after the second chunk of code, and it does indeed change from true to false. However, the movie clip is still visible on the screen.
My button states aren't working right, and I'm pulling my hair out:The desired behavior is under the "Design... button--notice how when you mouseover the "Our Philosophy" link it turns blue? Why isn't this happening for the "What We Can Do For You" and "Our Process" buttons in the other movieclips?The document is structured as follows:
MovieClip 1: Design: Your Silent Salesperson
---Text
---Images
[code].....
My question is: Set parentSprite.visible = false will make all children in parentSprite all invisible, right? And is there any way to just make parentSprite itself invisible without effecting it's children?
View 2 RepliesI want to click on an object and make it appear and disappear. As the object is rectangular, I figured putting a white button the same size on a white background on a layer underneath the object would do this, but I can't seem to make it happen.I'm a complete novice, frustrated as I've been trying to achieve this all day and I'm sure it should be pretty simple, but could you give me the idiots guide. I know how to name an instance, make an object, script in actions on a separate layer. I would like to draw the button myself and give it an instance rather than drag it off the button component (as I can't work out how to make the component button white, change its size etc.!)
View 5 RepliesCode:
my_Dyn_Txt1._visible = false
cb1.onRelease=function()[code]....
When the checkbox (cb1) is clicked the "my_Dyn_Txt1" is visible. The problem I'm having is - when I move forwad and back in my frames the checkboxes which were clicked are not visible due to
Code:
my_Dyn_Txt1._visible = false
How can I make ("my_Dyn_Txt1"), a clicked checkbox STAY VISIBLE even after I move forwad and back in my FLA frames?
I want to make a little thing pop up when I put press a button... Would the best way to do this by doing a - movieclipname._visible = true/false
View 3 RepliesOkay, this should be relatively easy but I'm running into errors. My main character is visible in the beginning of the game (where the main menu is) and because I coded it so that all of the enemies don't spawn unless the main character is visible, the enemies spawn too. As a result, if you stay at the main menu for long enough, the score continues to go up, the health goes down when enemies attack, etc.
View 1 Replieswhen the video reaches 1 minute, a button appears. is there a way to hide the button again if the user uses the seek bar to go back to the 30 second (or any time before 1 minute) point?
View 2 RepliesI am unable to visualize the audio waveform in my flash timeline. I need to synchronize audio voiceover work and this is impossible to do without being able to see the timeline.
I am using CS4.....in previous versions I was able to see the waveform but no go for this version.....
I had a question if there is a way to set the stage as not visible? Meaning the .swf stage is transperent and takes the properties of the bg image of the bg of the page its laid on? I'm trying to steer away from just using flash for the site and using a mixture of flash elements in a css site but I can't seem to get the stage to be transparent.
View 1 RepliesI have six movie clips positioned across the stage and a following row of six movie clips below it. All of them move up the stage and are activated with a separate key press and it works ok first time. The following times going up the stage, the fifth and sixth movie clips are not visible on the first row, but are on the second row. The following code is what I am using for each clip - just repeated and named accordingly.
Code:
addEventListener(Event.ENTER_FRAME, leftbubbleMove);
function leftbubbleMove(e:Event):void {
if (leftbubble_mc.y > - 150) {
trace(leftbubble_mc.y);
leftbubble_mc.y -=2;
[Code] .....
I have my preloader which seems to be working correctly, however it only becomes visible as around 80%. So the page is blank up until then, then after that the loading bar is finishing and then goes to the rest of the site.
View 11 RepliesI have a dynamic text field. I have added a font object in the library, and selected that embedded font for my text field. I am using the font size I embedded. I also opened the Embed window & selected the characters I want.
When I do all of this, the text does not display in the text field. If I select DON'T embed from the embed window, then my text shows up, although, not in the right font.
My movie is 500 by 200 px. However i am loading display object much larger than that and have just a portion of them show. How do i programatically get the visible dimesions? root.stage.width gives me the extended value.
for the sake of good programing practices i dont want to hardcore the values.
I've been doing some simple text fades by keyframing the alpha values. Everything is fine on the stage, but when I publish it I can see a slightly translucent bounding box around the text. It's even visible on text I haven't animated. I've done fades before, but never ran into this problem. [URL]
View 14 RepliesI am close to finishing my animation and for starters one scene is lagging a lot and the artwork is visible outside of the stage dimensions. is this normal?
View 1 Repliesi have 10 buttons (b1,...,b10) and want to set their default visible property to false. I want only 1 of those mcs (pick by random) to be visible. How i do that?
View 7 RepliesThis code is placed in several text boxes in my 10th frame and when I go to the 15th frame and come back to the 10th frame the selected checkboxes are not visible. how to keep my_Dyn_Txt1 visible unless it's unchecked. But at the start I need my_Dyn_Txt1 not to be visible as in the code. After the checkbox is selected I should be able to move to any frame (front and back) while my_Dyn_Txt1 is still visible unless it's unchecked by the user.
Code:
my_Dyn_Txt1._visible = false
cb1.onRelease=function()
{ if(this._currentframe==1)
[code]....
I have a SWF with a few buttons. The text on the buttons does not show up, as if the alpha is set to zero. This only seems to happen with certain versions of IE in combination with certain versions of Windows.This is a SWF that someone else created. It is placed on the page with Javascript. I do not have the option of recreating this at this point.
View 2 Repliespackage
{
import flash.display.DisplayObject;[code]....
I have a flash project, its working fine in local system, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading... [URL]
View 12 RepliesI have a flash project, its working fine in local system and checked this file with uploading in someother websites, its working fine there too, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading.URL...and here the same file which i have uploaded it in other server its working fine.URL...
View 2 Replies