ActionScript 2.0 :: Type That Makes The Mouse Disappear?
Jun 10, 2005Is there something you type that makes the mouse disappear?
View 2 RepliesIs there something you type that makes the mouse disappear?
View 2 RepliesI have this script on a specific frame and when this frame is called it should load an external movie into a mc that I have on my stage. The mc is named as holder and thumbURL down there is a vatiable which holds the name of the swf I'm trying to load into the holder.
My problem is that the mc dissappears when I try to load this new swf into it. Could it be something with relative/static paths?
onEnterFrame = function(){
var mcl:MovieClipLoader = new MovieClipLoader();
var mclL:Object = new Object();
[Code]....
i have some dynamically created symbols populating the stage through external packages. they show up on the swf fine.i add some different symbols to the timeline. everything still shows up fine.i turn one of the above timeline symbols into a mask, and ALL the dynamic symbols disappear on the published swf. I need to have a mask for some of the interaction I want to do.. but i obviously can't have it make everything else disappear! what's going on here?
View 9 RepliesI'm creating a simple liquid flash site layout with one MC that does not scale and remains at a constant position, and one mc that should stretch to fit either the height or width (whichever's larger) of the stage, but scale proportionally. [code]...
View 3 RepliesI am trying to apply a transition to one of my forms. It seems like everything works fine except for the text disappears when I apply transitions like rotating.
I did a google search and saw that I have to embed fonts but I wasn't able to get it working.
I tried:
Code:
var myFormat = new TextFormat();
myFormat.font = myEmbeddedFont.fontName;
myFormat.size = 12; // the same size as the embedded font
[Code].....
when i set embedFonts to true, the textfield cant be seen on stage. but when i set it to false, it appears on stage. whats going on?
Code:
var newTextField:TextField = new TextField();
newTextField.text = "Hello Ayumilove";
newTextField.alpha = 0.5;
newTextField.embedFonts = true;
addChild(newTextField);
I've got several custom classes. Let's call them "Character", which is supposed to import and use "Head". Then "Head" imports and uses "Hat". That works just fine...
[Code]....
This runs without a hitch. Simple as pie... But if I try to create a new instance of "Hat" or even define the Hat variable in "Character", it gives me the compile time error: 1046: Type was not found or was not a compile-time constant: Hat. If I try to define "Hat" class and create a new instance of "Hat" in my main script, or in "Hat" it works like a charm... If I try to do it in my "Character" it gives me this godforsaken error. I've checked my imports, they're all the same!! Why in the world is it doing this?!
When applying text formatting to a comboBox, the text formatting appears perfectly on the dropdown menu items but the textField text disappears.Removing the text formatting from the textField makes the textField text reappear but of course there is no text formatting.
Is there a trick to this.
I have the following code:
Code:
this.createTextField ("imageText",2,95,0,390,96);
imageText.multiline = true;
imageText.wordWrap = true;[code].....
The problem:If I uncomment either of the imageText.embedFonts lines, my text will disappear... but the trace(imageText.text); will still return the correct contents. It's as though embedFonts causes the textField to disappear.Possibly related, (but maybe not), is the fact that the vertical positioning of the font is off. Even though I create the textField at Y = 0, the text writes somewhere around Y = 10. I suspect this is something else, but I thought I'd add it just in case.
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 RepliesWhen I skew a dynamic text box, the resident text disappears.
View 1 RepliesI am trying to make a flash footer for this forum. A footer is 300 by 60. If the user mouses on the top half of the footer, then my image inside will scroll up. Vice versa for mousing on the bottom half. It aint seem to work. I put the below on the image, which is a movie clip.
Code:
onClipEvent (load) {
//because the footer is 30 pixels high
newHeight = this._height+30;
}
[code]...
I'm developing a kiosk in AS3 that utilizes StageVideo (publishing for FP 10.2 on a Mac Mini). It works fine, except as soon as StageVideo is engaged the mouse becomes visible. This is a public kiosk so I need the mouse to stay hidden.
View 1 Replieshow to create code that makes a movieclip repealed by the mouse?[URL]
View 3 Repliesi had this problem buggin me all evenin... does anyone know how to create code that makes a movieclip repeled by the mouse? like this kind of movement.. -- http:[url].....
View 5 RepliesWhen my mouse leaves the thumbnail image the previewArea image stays there. What is the coding to make the image disappear once the mouse leaves the thumbnail? I think that it's either in the previewLoaded or tn_out is where the script should go.
function previewLoaded(e:Event):void {
var flashmo_tn_bm:Bitmap = Bitmap(e.target.content);
flashmo_tn_bm.smoothing = true;
[code]....
How can text disappear on mouse over with effect like in the about section of the following site?
View 14 RepliesIs it possible to make an idle mouse dissappear after about 2 seconds, but if it becomes active again it reapears? I figure there is but I don't know the functions I would need to do it.
View 9 RepliesI have recently followed a tutorial to make a movieclip in flash that makes buttons spin around a point depending on the mouse position. I have made my own version off this and would like to use it in a full flash website that i am making at the moment.
The only problem that i am having is with aligning this clip and as it is made up of script i cant physicly drag it to were i want it. I understand how to alighn this with x/y positioning but when i preview the flash in a web browser it is positioned correctly but then when i 'full screen' the browser this clip jumps about 4 inches down the page.
how can i make the butterfly disappear on mouse click in this simple work ?
View 2 RepliesIs it possible to make an idle mouse disappear after about 2 seconds, but if it becomes active again it reappears?
View 9 Repliesdoes anyone know how to make the initial text in an input text box disappear once your cursor changes from the arrow to the type cursor? For example, I have an input text box which has the text visible saying "enter your email address here" I want this text to disappear automatically when the user goes to type something there...
View 3 Repliesi have a problem with hitTest, i want when my mouse is on the leaf movie clip the movies clip disappear. or away any where
[Code]...
This shouldn't be too difficult, but what I have is a button, which in the 'over' state I want to load an external image, and then have the image disappear when the users mouse hovers off the button
View 2 RepliesOk, so I'm making a Myst-type game as a simple first application, and one of the things I need this to do is not have the arrow change to a finger when over a manipulable object. How do I either tell the program to change a certain cursor to another in a given context, or to keep it at default even in situations where
it would not be so (over a link, etc)?
This is probably a step beyond the questions I've asked so far in complexity but I'm sure you gurus are up to it. :)
I'm wondering how I would go about making a Mouse Trace, on a line that's preset but my choosing to let people enter into my Flash and/or progress throughout it. Basically, I have a picture of say, the number 5, I want to be able to have people use the mouse cursor to trace the 5 from one end to the next, and once completed the sites move forward. Though, I will be using my company logo which is a bit more advanced than a single number or letter form. If no one is sure what I'm talking about I've added a picture to demonstrate what I'm trying to do. Another idea I have if this one can't be accomplished, is a slide bar.Basically, it would look like a timeline control in say, VLC, and I would have the user drag a button from one side to the next to unlock and move forward. Though that may seem a bit more simple that my main idea, I would also like to be able to get really advanced with this second function and make a series of slide bars, say, 3, and they have to be slid in a certain manner, like slide bar 1,3,2 then it unlocks and moves forward.
View 1 RepliesI 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.
[CODE]...
I get the error message. Doing like tuts said. package { import flash.events.*; // rememeber to import all flash libraries or the ERROR will come up with "TYPE" does not exist etc.
[Code]...
[Code]....
I'm basically having the following error: 1067: Implicit coercion of a value of type void to an unrelated type Array. In relation to the event listener that calls 'Backdrop'. Backdrop is a public function in another class, but it does still recognise Backdrop as a function.
im making a game and i have occured a problem.i have a hits text on the screen and every time a enemys bullet hits me it decrases by 1.and i wanna make that when it gets to 0 my ship explodes.
package com.asgamer.basics1
{
import flash.display.MovieClip;[code]............
i get this error 1067: Implicit coercion of a value of type int to an unrelated type String.