It works fine when it's previewd alone. But when i have my main,shell, movie load this movie that contains the button, it doesnt work at all. Am i supposed to use _parent somewhere?
I have weird problemo that involves mouse.hide and show. I have a button with this as on it,[code]It works fine when it's previewd alone. But when i have my main,shell, movie load this movie that contains the button, it doesnt work at all. Am i supposed to use _parent somewhere?!
These issues only appear on Safari and Firefox on Mac.I tested with Opera and Chrome and Windows (inc. IE), but they work fine.
Mac OS 10.6.8 Firefox 5.0.1 Safari 5.1 Flash CS5.5
1 Hiding the original black arrow cursor (Firefox only)When cursor rollovers to an Invisible button (oneBtn), I want to show custom cursor (newCursor) and hide mouse. But Firefox shows the custom cursor as well as the black arrow...
2. Mouse.show doesn't work only on Safari, Mac.When rollout to the invisible button (oneBtn), the custom cursor (newCursor) hides but the mouse doesn't appear. This happens only on Safari.
Ive been working on a script for a video player in which after a 7.5 second timeout and no movement from the mouse, the cursor would be hidden using Mouse.hide(). Also when the mouse was moved, the cursor would be shown using Mouse.show(). If needed I can show the script that did not work
i need to show the second one when there is a mouse over the first one and hide it when it goes out of the first one also i want the second container content to be usable (mouse clicks/moves)
I want to hide the mouse after some period when there is no mouse movement (i.e. 5 seconds), and then for the mouse to reappear when the user moves their mouse again.
I want to show/hide a symbol (movie clip) when i mouse over/out another symbol (button) and also want to move the movie clip as motion of mouse by attaching to the mouse... for this.. i think i have to use startDrag action but i am confused how.
if i use action on button like:
on (rollOver) { startDrag("abc"); } on (rollOut) { stop(); }
where "abc" is instance name of movie clip it will do the work but it doesnt give effect of appearing and dissapearing the movie clip when i mouse over the button.
i have 2 containers one above the other,i need to show the second one whenthere is a mouse over the first one hide it when it goes out of the first onealso i want the second container content to be usable (mouse clicks/moves)
I am using a magnifying glass animation for my portfolio and I want he mouse cursor to hide, which I can work out with: Mouse.hide()
But when someone clicks on a section it then loads a swf file above the original movie so I then want the mouse cursor to show but i'm not sure what the code would be for this? Also then once they press on the close button of this swf file with: on (release) unloadMovieNum(1); _level0.enableBtns();}
I want the mouse cursor to hide again becuase they are on the main movie again.
im building my site now and i want to have background of hexagons that get visible only when the mouse is at certain distance of them, so i found out that i have to use as3, ive read some tutorials and other post and i tried the following code that i found online:
stage.addEventListener(Event.ENTER_FRAME, showDistance); function showDistance(e:Event):void{ var distance:Number = (circle.x, mouseX, circle.y, mouseY);
I want to ask how to show/ hide movieclip by one click in the same position of the mouse cursor .
The idea is that i have 10 square shapes and i want to click one of them to put a small circle inside the square and do the same with the other squares .
Smarter than I Fellows:I've uploaded a source .fla for my project: [URL]I'm trying to get out of timeline based animation and start using AS.... I've been watching adobe tv and reading, reading. I can look at AS and understand it, but am far from knowing where to start when building something.Here for example I simply want my previous and next buttons to display hidden at the beginning of the movie and then show when the user mouses over the stage.
Of course they should also on click let us navigate from slide to slide and the slides will transition in and out on X axis with nice easing and a blur (i'm trying to mimic the action found at FontExplorerX [URL]. Right now, I'm just tying to get my buttons to not appear until mouseover (maybe they should appear on load and disappear after a delay and then reappear on mouseover - the mouseover trigger would be the whole stage for both buttons, not just the specific area).
I am using AS 3 Flash CS4, WIndows XP SP3. I am unable to use the Mouse.hide(); method in many of my scripts. If I add Mouse.hide() to a preexisting script, I get the following error; line1 1061: Call to a possibly undefined method hide through a reference with static type Class. If I add Mouse.hide():void; to a preexisting script, I get the following error: line1 Label must be a simple identifier Once this has happened, if I then remove ALL lines of script from the file...but leave the Mouse.hide(); [or Mouse.hide():void;], and also remove all objects from the stage, when I run the file, I still get those same errors.
Im looking for a quick solution (if its out there) using the autohide feature using the FLV Playback Component.
Current situation: Using ActionScript 2. The FLV component fills the stage. Autohide is set to true.
It looks to me that since the video fills the stage, the skin will not hide. What I would like to do is have the skin fade out if the mouse doesnt move for a certain period of time.
Several arrays are created by passing a number (k) from a different array,for every item in the array I need to have a little dot.I have a movieclip on the timeline with a maximum of 15 dots.So if the array has only 6 items, the last 9 dots should dissapear.
PHP Code:
function fill_items(k:Number) { var item = josXML.firstChild.childNodes[2].childNodes[k];
[code].........
But the dots_total[t]._visible = false; part isn't working...Maybe it's the wrong way to achive this, but i can't seem to figure out why it's not working.
How do I hide a datagrid and then show it?I have a button to select. The button when clicked should show the datagrid. Once the user clicks a cell on the datagrid, it should hide again.
I have button (csignal_btn and endsignal_btn) and i have dynamic text (csignal_txt and endsignal_txt). Now how i can when is unhovered to no be text (alpha=0), and when hover csignal_btn to show csignal_txt (alpha=1)?? Same thing for endsignal_btn
1. I've downloaded the Source for MX included in the "Hide/View the Scrollbar Component" page of It simply doesn't work when I open the file and publish it. I'm using Flash MX 2004, ... has anyone experienced the same problem and solved it?2. I've been able to set the scroll visibility with an external dynamic text using several procedures. One of them is:
SB1.setScrollTarget(_root.Texto1); if (Texto1.maxscroll > 1) { SB1._visible = true;
I'm not happy with my hide/show function..... the code works, but I think it is a waste of space on my stage that I need two buttons to hide and show a movieclip... there must be a better way
Attachment 54101my problem is in bitmap explained:1. after loading external text into dynamic text field,2. how to call/make visible "button over text" on the Scene by pointing a mouse over specific word in loaded external text?3. javascript, html, actionscript (asfunction, variable)
I have a flash map. There are 6 clickable countries on the map. When one clicks on a country I want html content to appear under the flash movie. As far as I can see the best way to accomplish this is to have all the content already under the flash movie each in a separate div, with display set to hidden. Then action script inside the country buttons calls a javascript function on the html when that button is clicked, to set display:block for corresponding content filled div. I've tried a few scripts but couldn't get it working.
<code>button_kenya.onRelease = function () { flash.external.ExternalInterface.call("kenya"); };</code>
Is there anything else i should do when imbedding flash into my page so that the flash can talk to the html and call the javascript?
I'd like to be able to have an array of movieclips where i'm able to toggle their visibility depending on what button has been pressed. I would need to have a default movieclip that is visible and all the others are hidden, but then when I click a button to make one of the other movieclips visible the default one is hidden etc.You can see an example of what i'm trying to achieve at http:[url]........I'm experienced in PHP and HTML but have not used flash for several years so i'm pretty rusty. Can anyone point me in the right direction?
Flash in general so this is probably above my skill level. Basically I have 3 movieclips, called random1, random2 and random3 for the sake of this.I want, at the start of the frame to pick one of the three objects at random, keep that object visible, and hide the other 2
I need to progress. [URL] The Adobe documentation assumes you are an expert with Flash and there are no clear cut examples of how to even show and hide a darned button, well, I can't find any referrences. I can imagine what I want to do with flash, but getting anything out of it cracks open my brain. Programming is not fair!!! for us graphic artists. Examples of things I want to study are loading images to the stage on a specific event such as "if(enterFrame == x)" ideally I would like the images to load from a directory on the server and ease in the image.
Basically I want to keep it simple yet effective. Alot of the code I see out there is double dutch to me and appears to go in the wrong direction of simplifying things. I can understand the basic fundamentals, but I wish when people post examples like myMC1.visible = true; that they explain that myMC1 is just a name chosen by the writer to look for an item called myMC1 or go the extra step and color code the code BLUE for actual code, RED for names of items given by the writer that exist on the stage etc etc...