Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Hit Areas And Their Crazy Sizes


hey yo!

First things first, I'm a bigtime newbie, so go easy alright. I just want to make myself a cool site, so if I could score some help I'd be really thankful. So okay, here goes....

In Flash mx do movieclip not need hit areas? I was told they act like buttons. Is this true?

Also, Is it possible to change the size/shape of a movieclips hit area on mouseover?

Thanks for listening
GM




FlashKit > Flash Help > Flash Newbies
Posted on: 09-24-2003, 12:46 AM


View Complete Forum Thread with Replies

Sponsored Links:

Text Areas And Font Sizes
Hey guys.

Working on a project right now and I'd like to make a certain aspect of it as flexible as possible. Basically here's the scoop.We have a bunch of text areas but we'll focus on one
User fills out input text area (Font size 11 pt, multiline text area but we only want 1 line to be filled out)
On submit I check the height of the text area (If the height is greater then the equivalent to one line I throw and error message - we don't want to use character count)
If all is ok the input the user typed goes into a dynamic text area for display(Font size 26)
What I would love to do here is basically fill out a few variables

for example
ActionScript Code:
dynamic_txt_font_size = 26;
dynamic_txt_allowed_width = 150;




And automatically resize the input text area's width accordingly. This way it makes sense to the user how much type the can fill out visually. The way I am currently doing this is hard coding the width of the input text area which works fine but I'd like to automate this.

So the real question at hand I guess is how would I figure out the aspect ratio based on font size?

I hope I have been clear

Thanks

View Replies !    View Related
[F8] CRAZY SWF FILE SIZES Please Help
Im currently slowly making a photography portfolio in Flash 8. Recently, my file sizes are going through the roof! which is making my site pretty unbearable to view! an average size for my SWF files is 1.3MB.... and this is just for menu's with a few static text buttons etc. Anything i try either boosts the files size or doesn't change it. To show my problem, I've attached a file of a BLANK PAGE!!!! from the site (swf) which has a file size of 912Kb! and it has no content! (20fps, 600x700)

What is going on??? anyone else had this problem? Please help, it's driving me crazy! here's the link for this file:

www.darrenwoolridge.com/Blank%20swf.zip

Any thoughts would be appreciated.

darren : (

View Replies !    View Related
CSS Sizes Do Not Correspond With Flash's Internal Sizes, Please Help
This is highly upsetting!

The sizes I'm setting with CSS for my Textfield do not AT ALL correspond with the size I would get if, using the same number, specificed directly through the interface. In short, a font-size:8 in a CSS file read by Flash produces far bigger type than type with size 8 set in Flash itself. In fact, the Flash CSS interpreter produces bigger type than ANY other program does for this value. What this means is that, using pixel fonts which needs to be 8px exactly, is IMPOSSIBLE, because the Flash CSS interpreter reads and interprets the size in a completely nonsensical way.

Please tell me I'm wrong?

View Replies !    View Related
Crazy Easy If/else Script Drive Me Crazy
Hello new Kirupa friend! I am jakartaguy from jakarta indonesia with crazy simple question...

code below is okay IF people put in only number... but if they put in LETTER... result is NaN (non number)....

the code i use (from tutorial here) is:

if (ques1 > 100 || ques1 < 0 || ques1 == undefined) {
ValidationMessage = "For statement 1 please insert a number between 0 and 100%";
}

But question - how do I add if/else for Letter??? The script below NOT WORK... can someone please help??

if (ques1 > 100 || ques1 < 0 || ques = NaN || ques1 == undefined) {
ValidationMessage = "For statement 1 please insert a number between 0 and 100%";
}

thankyou(terima kasih)

jakartaguy

View Replies !    View Related
Crazy Client Came With Crazy Idea.
I met my client two weeks ago.
Thay want to do some multimedia like Karaokae

but that Karaokae thay want not like the other

like hmm... I want to type some words and then it will speak(TTS)

AND SPEAK OUT LIKE SINGING..

If my job is english or other language I will think about it...

but my language is harding to do this.


Question is can we do this?
base on Text to speech?

View Replies !    View Related
Hit Areas
hi | how can i set hit areas? maybe i'm using the wrong word, but....i have a flash movie that has one large movie clip that when a user mouses over it, i change the cursor. this much works fine.

how can i program it such that as soon as the user scrolls off this movie clip the mouse returns to a normal Windows cursor?

thanks. - matt.

View Replies !    View Related
Hit Areas
Hello members,

Is it possible to make a button perform 2 actions.

For Ex. I have a hit.btn that is over my menu. When you mouseover it will make the sub menu drop down. I also want it to initiate action on another .mc depending on where your mouse is located (I would assume this is done by telling it some area in actionscript).

Refer to my image I attached. The blue hit.btn at the top is the main one. The squares below are the sizes of each hit area. When you get in the area of each individual square i want it to initiate the action on that particular movie clip.

Thanks for the help

View Replies !    View Related
Hit Areas On Hit Areas?
Ive got THIS so far and as you can see Ive got a big hit area that triggers a movieclip to play using this code:


ActionScript Code:
on (rollOver) {
    if (Number(_currentframe) == 1) {
        gotoAndPlay(2);
    } else if (Number(_currentframe) == 7) {
        stop();
    } else {
        gotoAndPlay(12-_currentframe);
    }
}
on (rollOut) {
    if (Number(_currentframe) == 7) {
        gotoAndPlay(8);
    } else {
        gotoAndPlay(12-_currentframe);
    }
}


..to bring up the nav.

Trouble is the octagan shapes are gonna be buttons....but you cant put hit areas over the big hit area cause as soon as you go off the big hit area with the mouse the movieclip plays...and I cant cut out the hit area where the buttons are becauce it'll mean going off the big hit area again!........that make sense?

Any suggestions for a solution?

Thanks!

View Replies !    View Related
Hit Areas
Hi im new to flash so naturally im having a few proplems that hopefully someone can help me with.
I have two movie clips that i want to associate with the same hitarea so when i roll over the hitarea it plays one and when i click it i want it to play the other but when i put in two variable's to associate the two clips with the hitarea they seem to cancell each other out, plus if i use two hitarea's instead and put them on top of each other they also cancell each other out.
I hope this all make's sense to someone.

Tks for any help Bryan.

View Replies !    View Related
Who KNOWS Drag Areas?
I'm loading a 760X420 movie (a window) in to the main movie which is alsi 760X420. However, when I set the drag rectangle area for the window movie, it doesn't work when it's loaded into the main movie, I can't go all the way left or to the top, and I can drag too far to the right and bottom. I already check to see if the numbers are in the right place, and still it doesn't work. Anyone have an insight?

Thanks for your help!

View Replies !    View Related
Overlapping Hit Areas
I have a movie that the hit areas are overlapping and I need to know how to make it so that only one plays at a time.
This is a navigation and when rolling over it the scroll out menu is there and one scroll out menu overlaps the other causing my hit areas to over lap

View Replies !    View Related
Hidden Areas
i want to make text scroll across the screen but only visible within about 60 pixels. now what i was goin to do was make a movie clip that way i can control it with buttons. the text was only goin to go from left to right but i want it to only show in a certain area. i tried looking through the tutorials and examples but i couldnt find anything i needed.

thanks

View Replies !    View Related
Mouse Hit Areas
Hi
this is hadi.
That would be great if someone could do me a faver and solve my problem.

I gonne explain the problem shortly and completly here but you may get the point easily if you download the action.zip file.

There are some movie clips with diffrent instance names that we gonne use them as Hit Areas.
by Hit Area,I mean that when we move the mouse from other places over them,(WITHOUT USING ANY BUTTON) they will each cause another movie clip called Motion to play specefic frames. And now, I'm tring to find the action Script, to do that.

Thanks.

Consider that I do not have any other refrence for help except flashkit.com

View Replies !    View Related
Xml Link Id Areas
I received this message from a programmer who's integrating my flash file into an html site:
"I don't know what the person who created the Flash called the different link id areas so I don't have the info to create the xml link file."

I have never worked with flash/xml communication. Can someone please tell me how to designate a "link id area"?

Thx.

View Replies !    View Related
Dynamic Areas In SWF
i have a client who wants certain parts of his flash webiste to be dynamic in the sense that he wants to be able to upload new content (text and pics) from time to time. I'm obviously familiar on how to do this with regular html, cfm, or php file. But is it possible to do this in flash? If so, how?

View Replies !    View Related
Non-Click Areas
I have a "Volume" slider, it slides up and down.

I have a cover that covers parts of the slider where it shouldn't be visible.

How (If possible) can I make the slider non-clickable to the parts that are behind the cover?

View Replies !    View Related
MC/Button Hit Areas
Given these two simple objects...

1 MC - myContainer
1 MC - myContents (is right on top of myContainer)

The plan is for myContainer to reveal myContents when you rollOver myContainer. When you roll off myContainer, myContents dissapear.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
myContainer CODE:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
on(rollOver){ _parent.myContainer.gotoAndPlay("fadein");}
on(rollOut){ _parent.myContainer.gotoAndPlay("fadeout");}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Now, when i roll over myContents (which has its own commands) the "rollOut" state is activated for myContainer.

Any Thoughts?









Attach Code

on(rollOver){
_parent.myContainer.gotoAndPlay("fadein");
}

on(rollOut){
_parent.myContainer.gotoAndPlay("fadeout");
}

View Replies !    View Related
Can Anyone Help Me With Advanced Hit Areas
On a regular button you only need one hit area. But when you rollover a button and it slides out, I need that new area that slid out to be the new hit area. I admit I am a mere "beginner" when it comes to Flash, so if this is something really stupid please take pity and enlighten me. Thanks. Benjimano

View Replies !    View Related
Scroller .fla, Hit Areas
my problem is that if you go over the menu text above my scroller it controls the scroller. I wan this areas movement to have no effect on the scroller below. is there a way to script my scroller to set it to this?

View Replies !    View Related
Conflicting Hit Areas
I am trying to make a menu something like gucci.com but my problem is this: the hit area for my button within a movieclip is interfering with my hitarea for the sliding bars. maybe this is the wrong way to approach this. can anyone help me? below is AS i have so far...

var bar1x = -162;
var bar2x = -228;
var speed1 = 30; // speed of box 1
var speed2 = 60; // speed of box 2
var speed3 = 10; // speed of text coming in / out
var textAlpha = 0;
text._alpha = 0;


var motionInterval = setInterval(checkBars,10);

theHitArea.onRollOver = function() {
//text._x = 3;
//text._y = 15;
bar1x = -2;
bar2x = -2;
textAlpha = 100;
}

theHitArea.onRollOut = function() {
bar1x = -162;
bar2x = -228;
textAlpha = 0;
}

function checkBars() {
bar1._x += (bar1x-bar1._x)/speed1;
bar2._x += (bar2x-bar2._x)/speed2;
text._alpha += (textAlpha-text._alpha)/speed3;
}

stop();

View Replies !    View Related
Can Anyone Help Me With Advanced Hit Areas
On a regular button you only need one hit area. But when you rollover a button and it slides out, I need that new area that slid out to be the new hit area. I admit I am a mere "beginner" when it comes to Flash, so if this is something really stupid please take pity and enlighten me. Thanks. Benjimano

View Replies !    View Related
Help With Scrollable Areas
Hi guys,

I'm trying to create a scroll area similar to http://www.norwaysays.no ... with text content and thumbnails.

I am having no trouble bringing in the information I want (both text and images), as I am calling the variables I want via PHP from my database...

I can already successfully load new content into a textarea with a scrollbar (component), and change the content by sending new requests to the database, though I obviously can't insert the images into the text area.

However, I can create the thumbnails as per the following code inside my 'for' loop (I have already set piclocation_x and _y variables outside of the loop):



Code:

//thumbnail image loop
//levelhack = a means to ensure loading new image into a unique level

_global.levelhack += 1
_root.thumb_clip._alpha = 99
_root.thumb_clip.duplicateMovieClip("thumb_clip"+i, _global.levelhack);
_root["thumb_clip"+i]._x = piclocation_x
_root["thumb_clip"+i]._y = piclocation_y
_root["thumb_clip"+i].loadMovie(this["image"+i])
piclocation_x += 0
piclocation_y += 70

So, I have my text loaded into a scroll area, and my thumbnails in a vertical line at 70 pixel increments beside the text... (as the text entries are approximately 70 pixels / 3 lines worth each). Obviously though, the text content is scrollable and the images are just sitting on the stage next to the text area.

My problem is, I can't seem to load all this content into a scrollpane component or a masked scroll area because that means I have to imbed the text in order for it to display, and that seems to have the effect of not updating the text content when I send new requests to the database.

So basically, my problem is not loading the text and images how I want, but loading them into a scrollable area, and having that scrollable area refresh it's content when I send new requests to the database.

Any ideas? I am tearing my hair out over this!

I can supply source file if anyone requires it.

Many thanks in advance...

View Replies !    View Related
Manipulating Areas Of Shapes
I have a movie that needs a slight modification.

I can alter the shape of a triangle using maths and the _xscale and _rotation of movie clips. I need to know how to fill the shape in with colour.

http://www.mathslesons.co.uk/lessonp...rems/index.htm

Thx in advance for any help.

View Replies !    View Related
Mouse Follows Object In Certain Areas
I have a movie clip wich follows the mouse and I am using the following code:

onClipEvent(load)
{
this.minx=0
this.maxx=550
this.halfWidth=this._width/2
}
onClipEvent(enterFrame)
{
this._x+=(this.tx-this._x)/4
}
onClipEvent(mouseMove)
{
this.tx=_root._xmouse
if(this.tx>this.maxx-this.halfWidth)
{
this.tx=this.maxx-this.halfWidth
}
else if(this.tx<this.minx+this.halfWidth)
{
this.tx=this.minx+this.halfWidth
}


I want the MC to follow the mouse but only in a certain area of the stage. When I jump out of this area, I want it to remain where I jumped out, until I enter the area again - at which point the MC follows the mouse again. How do I do this?

Hopefully, somebody can help.

Thanks.

View Replies !    View Related
Why Are Button Areas So Small
Why is it when I create a button the area you have to hit to actually make the action occur is so small?

I was making a button out of the word 'Home' and you have to hit it perfectly on for the action to occur when I test it. How do you make the area larger?

I also tried making a box around it and still the same issue.

Your help is much appreciated.

Happy Flashing!

View Replies !    View Related
Big Trouble In Preloader Areas
Please help if you can! I have been sharing my preloader, just a little movieclip, between about 12 files from one source file. The Problem is, on photographers.asp or photographersstatic.asp if you qickly move your mouse over to the left on the FIRST load of the movie it will freeze and put up odd symbols. It has me on the verge of convulsions. PLease help!
www.wincreps.com password: present

ah the preloader code is
ifFrameLoaded (_totalframes) {
gotoAndPlay(2);
}

but this works for all pages except two. PLUS the pages are sometimes faulty on Netscape Navigator 6.2. Please please please.
Thanks-
Katy

View Replies !    View Related
Printable Areas In Flash
I like to know if its possible, and how if so.
If i could make so i click a button and it will print a selected area
in the movie.

speak code to me, i know what you are saying, just i never done this before.

View Replies !    View Related
Question About Masking Areas?
Edit: Wrong subject - lol ;-)

Hi everybody,

Maybe someone can help me out:

As you can see on the picture I have attached, I would like to have four buttons (1) which will be scaled a bit bigger when the mouse is moved over one. The one the mouse touches should become even bigger (2) and pushes the others aside. It's like all four buttons are individual and can move each other out of the way. When the mouse leaves the buttons they should be scaled down again like in pictures 1.

Maybe someone can point me to a webpage with some tipps or give me a hint?

Cheers,
Bye!

View Replies !    View Related
Input Text Areas
i have some input text fields (set to variables email, message and fullname) within a movieclip which isn't always visible - it changes frame.
i can always see the text fields when i want to, but the most bizarre thing is happening with them. when i click in them, no caret appears and when i type, nothing appears.
when i open the debug i can see that the variables email, message and fullname do actually change when i type in the textfields and i can copy and paste their contents as if the text is there, but invisible. if i click on the text fields' instances in the debug menu and look at their variables, i can see that text and html text do not change, but just display what the textfields have in them to start with (i can't see that when i preview either).
how can i fix this?
thanks

View Replies !    View Related
Creating Hot Areas For Mouse Over
I posted this below but I think this better describes what I am trying to do.

I have a movie clip that uses the onClipEvent command which in turn makes a movie play forwards and backwards based on the position of the mouse on the screen. Here is the code

//
onClipEvent (enterFrame) {
if (Math.sqrt(Math.pow(_xmouse, 2)+Math.pow(_ymouse, 2))<250) {
nextFrame();
} else {
prevFrame();
}
}


I need to better define the area. Is there a way to say if the mouse's coordinates are <250 for x and <100 for y go to nextFrame, otherwise go to prevFram?

Thanks again for everyone's help!

View Replies !    View Related
Scrolling Areas With Links
hi all,

I've made a big list of names, which I wanted each to be links. I've selected over the text and added the link to it.

it all works fine, though I'd like to have a rollover, and selected colour to the text links??

can this be done ?

thanks for your time

View Replies !    View Related
User Secure Areas
in my project i have users sign upto a website. there will then be a login area where some data will be needed to be fetched from a database using coldfusion specific to the user who has signed in. does anyone know the simplest way of having such a system working?

View Replies !    View Related
[F8] Creating Invisible Hit Areas?
Is there a way to draw invisible movieclips on top of a graphic to designate hit areas (similar to an HTML image map)? I have a group photo and I want to make each person clickable.

View Replies !    View Related
Negative X / Y Areas With Copypixels
Hi,

this is quite tricky to explain, so apologies if it's a bit confusing...

I have a movieclip which contains graphics within negative x and y areas. I'm trying to duplicate some of the graphics within this negative space using copyPixels. I've tried all variety of negative values in my code but all negative areas remain uncopied within the duplicated bitmap.

Can anyone advise please? Is it even possible? Thank you. Jon ...


PHP Code:



var bitmapData1:BitmapData = new BitmapData(700, 600, false, 0xCC0000);// width height
var bitmapData2 :BitmapData = new BitmapData(350, 600, false, 0xCCCC00);// width height

function enterFrameFunc(e:Event) {
    bitmapData1.draw(allIntro);
    var rect1:Rectangle = new Rectangle(350, -100, 350, 600);
    bitmapData2.copyPixels(bitmapData1, rect1, new Point(0,100));

}

allIntro.addEventListener(Event.ENTER_FRAME,enterFrameFunc);

var bm2:Bitmap=new Bitmap(bitmapData2);
this.addChild(bm2);

View Replies !    View Related
Multiple OnRollOver Areas
-----------synopisis------------------------

I have 468x400 banner.
When i drag the mouse over the banner, the banner goes to frame 2.

On frame 2, a movieclip textanimation is activated.

When i drag the mouse off the banner, it goes to frame 3, where another textanimation is activated.

All good so far. There is a animation when you "enter" the flash, and when you "leave" it.

-----------problem------------------------

The trouble starts when i want to add some interactivity on frame 2 (the mouse is somewhere ON the banner).

In the centre of the banner, i have a small icon. When i drag the mouse over that icon, i want to display some text.

But when i drag the mouse over that icon, flash thinks that i am leaving the stage, and the movie goes to frame 3. I want to display that text, not leaving frame 2.

Does anyone know how to solve this?

View Replies !    View Related
Draggable Areas In Flash
Hello People,

At the moment I am working on a drag and drop quiz for someone. This involves dragging the correct symbol to go on the correct sign.

I can define the draggable features thats no problem, I am searching for some actionscript that sets boundaries for the draggable movie clips. In other words, I want the clips to be dragged in a certain area and not over the entire screen.

If anyone knows I'd be very grateful,

Thanks and warm regards

James,

View Replies !    View Related
Negative X / Y Areas With Copypixels
Hi,

I have a movieclip which contains graphics within negative x and y areas. I'm trying to duplicate some of the graphics within this negative space using copyPixels. I've tried all variety of negative values in my code but all negative areas remain uncopied within the duplicated bitmap.

Can anyone advise please? Is it even possible? Thank you. Jon ...


ActionScript Code:
var bitmapData1:BitmapData = new BitmapData(700, 600, false, 0xCC0000);// width height
var bitmapData2:BitmapData = new BitmapData(350, 600, false, 0xCCCC00);// width height

function enterFrameFunc(e:Event) {
    bitmapData1.draw(copyMC);
    var rect1:Rectangle = new Rectangle(350, -100, 350, 600);
    bitmapData2.copyPixels(bitmapData1, rect1, new Point(0,100));

}

copyMC.addEventListener(Event.ENTER_FRAME,enterFrameFunc);

var bm2:Bitmap=new Bitmap(bitmapData2);
this.addChild(bm2);

View Replies !    View Related
Idle Watcher In Different Areas
Hey all.

I'm attempting to use Michael's Idle Watcher class...
http://www.actionscript.org/forums/s...2&postcount=78

Of course, I never make anything easy on myself. So, I need to figure out the proper syntax to call the Idle Watcher on different frames of my main timeline. So, instead of a "global watch" - I want to use it to watch from when a visitor enters certain areas of my site.

For instance let's say you just entered the about section. I want to initialize the IdleWatcher right then. Then after say 20 seconds of Idle ... I want to say something like... about_movie.gotoAndPlay("About_Frame_Label");

Then clear the IdleWatcher so, it doesn't call the function again until...

You enter another section of the site ( say Contact ) .. re-initialize IdleWatcher, listen for idle in that section - then play a movie. Clear IdleWatcher (so, it doesn't play the movie again - even if the person is idle again).

Then go to the next section - re-initialize IdleWatcher - and so on.

// ----

Basically, I'm not sure how to set this up. Any help ( or nudges in the right direction ) would be great.

Here's the IdleWatcher Actionscript ...

// here you simply tell the object how long to wait for the user
// before deciding he/she is inactive
var idleWatcher = new IdleUserWatcher(10000);

// then we register an object to listen for the onUserIdle() event from
// our IdleUserWatcher object
idleWatcher.addListener(_root);

// IdleUserWatcher has one property, it returns whether or not the user is active
trace(idleWatcher.isActive);

function onUserIdle()
{
myAboutMovie.gotoAndPlay("HeyThere");
}

View Replies !    View Related
Clickable Areas In Mc Buttons
is there any way to make certain areas in a movie clip button clickable and others not? For instance, i have a shape and text inside the button but i only want the shape to be clickable and not the text.

Any ideas?

Thanks, Keith

View Replies !    View Related
Navigate To Different Areas Of A Screen
Hi there, im looking for help, even if someone can point me in the right direction of a good tutorialfor this would be great.
Thing is I dont even know fully how to explain.

But basically what im looking to do is whats on this site:
www.playgroundsfestival.nl/playgrounds.asp

where there is basically one very large page, there is then a floating menu/navigation and when you click on one of the links it takes you to that area of the page.

Ive just done this (please ignore the style of it!!!!) www.thegregwilliams.co.uk/test1.html but as you can see I can move the movie clip (in this case the blue box) by the navigation buttons. But as you can see when you click on button 2 (in my movie) the movie (blue box) instantly snaps into place. What I want is that nice smooth animation where you actually see the transition (ie the screen moving across to the right section of the movie clip). Does that make sense?

This is my action script for the buttons:

on (press)
{
_root.xxxc._x = 270;
_root.xxxc._y = 144;
}

anyone know any tutorials?

View Replies !    View Related
Flash Help Hit Areas And Menus
Hi all,

I've nearly finished my website and was just stuck on menu system.

Basically I have a glass orb effect and when the mouse rolls over the hit area (which is slightly larger than the glass orb) a looped animation plays and the menu slides out from the orb. This was all done and working with the normal movie clip up, over down and hit states.

The problem I have is two fold, firstly:

When the mouse moves away I need the menu to go back behind the orb, but at the moment it just disappears. It's a 60 frame animation and at frame 30 theres a 'stop' action code, so I need it to play from frame 31-60 when the mouse moves away. (frame 31-60 is just the reverse of 1-30 - basically menu out then in)

Secondly:

When the menu slides out there are three button each on there own layer, but as soon as the mouse moves over to one of the buttons everything disappears because it's outside the glass orb hit area. So I tried creating sepearte hit areas for the buttons, but when I play it back it just flickers like crazy.

If anyone can help it would be much appreciated I'm actually a 3d artist so it's been quite tough for me to learn flash being 2d, but I really felt as though I was getting somewhere until now.

Thx for reading

Sonder!!

View Replies !    View Related
Drag Areas Question? Help
Hey i am have a quick question, when you have a movie clip that can be drug around, how do you define its area that it can move in.

Using:

on (press) {
startDrag ("_root.yellow");
}
on (release) {
stopDrag ();
}



I just want to know how to define the area that i can be drug in...

View Replies !    View Related
Masking Text Areas...
AHHH it still doesn't work. I now can embed regular text (using the text tool) but the text in the TextArea component still doesn't show up under a mask... I dont know how to embed those fonts or something else is wrong... Any suggestions?

View Replies !    View Related
Follow Mouse Areas?
Sorry for the peculiar thread title; i didn't know how to sum up my problem in a few words.

I have an mc, that i need to have follow the mouse on the x axis. I have that just fine. But my problem is that i need a certain frame within the mc to play if the mouse is at a certain area of the stage.
For example, if the mouse is at the x coordinate of 235 to the left, frame 2 of the movieclip will play. I uploaded just a test fla that i was practicing on.

Thanks for any help whatsoever.

Take care,
victor

View Replies !    View Related
Clickable Areas In Mc Buttons
is there any way to make certain areas in a movie clip button clickable and others not? For instance, i have a shape and text inside the button but i only want the shape to be clickable and not the text.

Any ideas?

Thanks, Keith

View Replies !    View Related
'Masking' Areas That You Don't Want Clicked On.
Case in hand;

http://www.gimmick.i8.com/

If you hover over the '1800-Gimmick-tees' sign, it will show pink labels, indicating which object does what. That's good.
However, if you then hover over where the pink labels were, they also appear. The same happens with the TV.
Is there any way I can stop this? Like another layer that sits on top and stops people activating it from any place OTHER than the intended sign?

Thanks,

Rift

View Replies !    View Related
How To Create A Map With Active Areas
hi,

i was wondering if someone has an idea on how to create a map with active areas (links)

like this one for example : http://web.microconcept.com/html/index.php

View Replies !    View Related
Clearing Text Areas
Hi all,

Sorry in advance if the answer to this question is already on the site! I looked for a while there but couldn't find anything - probably to do with my wording?

Does anyone know how to refresh a textarea everytime a button is pushed? I'm doing up a small flex application which sends parameters to a perl script and gets back results! One of the results is a list of times which i'm displaying in a textArea!

However, if the user presses the submit button a second time with the same or different parameters, the new list of results is added to the bottom of the old list! But I want the textArea to refresh evertime new parameters are passed so that on only the new set of results is displayed in the textArea! Is there any way of doing this?

Thanks a mil in advance

Regards,
Derm

View Replies !    View Related
Collapsible Areas In Flex?
Hi all,

I was wondering if anyone knew how to implement collapsible areas (preferably VBox or Hbox) in Flex? What I'm trying to do is have an area of the screen which the user can choose to display or hide?

Any ideas or help would be greatly appreciated!!
Thanks in advance for any help
Derm

View Replies !    View Related
Drag Areas Question? Help
Hey i am have a quick question, when you have a movie clip that can be drug around, how do you define its area that it can move in.

Using:

on (press) {
startDrag ("_root.yellow");
}
on (release) {
stopDrag ();
}



I just want to know how to define the area that i can be drug in...

View Replies !    View Related
Masking Text Areas...
AHHH it still doesn't work. I now can embed regular text (using the text tool) but the text in the TextArea component still doesn't show up under a mask... I dont know how to embed those fonts or something else is wrong... Any suggestions?

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved