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




Creating Hotspots In Flash?



Hi,

I have a problem :'(

I have a movie clip that is a picture attached to it i have some action script allowing it to move left/right depending on which way the mouse is going. Thats working fine!

Then i needed to add a hotspot button to the animation (just a standard button!) i add this and tested to see if it would work. It does

But now i want to hotspot to be put on a certain part of the picture and stay on that part so when i move the mouse left/right and it arrives at this hotspot i can click on it. I can't seem to put the button in the movie clip itself as when i do it doesn't work!


Many thanks for your help

Joe



SitePoint > Design Your Site > Flash and Actionscript
Posted on: Jan 18, 2006, 09:36


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Creating Hotspots In Flash
Hi everyone,
I have a picture of about 6 people all standing in a croud on different layers in Photoshop.  I am trying to bring this into flash and have each person as a different button, but have the m still in the shape of their body.  I tried to copy one person and paste it into a layer in flash, but it will also paste a big white box around them.  How do I get rid of this?

Otherwise, is there a way I can paste the whole picture into flash and designate 'hotspots' in flash on each body?  I don't see a pen, magic wand, or slicing tool in Flash???

Thanks,
Ha1ls45

Creating Animation With Hotspots
I have an image and i want to create a hotspot on it so when i click on that hotspot it will take me to another frame in the movie. Is this possible?

Creating Hover Pop-ups On Hotspots Of A Single Image..
Hello, I'm trying to create the effect similar to:

http://www.herosite.net/guide.htm

What I actually did was:
======================================================
Import my image

Create new layer and draw shapes on wanted area

Convert new layer to symbol button and then edit in place

I then inserted key frame at 'Over' and then converted layer 2 to movie symbol

Then edited in place at over once more

Created a new layer and typed my text.

I then thought to reduce the alpha to 0 of scene1, because I wanted to get rid of the fill colour in the shapes I created. However all other symbols/objects of that layer inherited that property so you never get to see the hover unless you keep the colour of the shapes.
=====================================

I believe I was doing it the incorrect way. Can anyone help?

Thanks.


Flash Hotspots
Does anyone know how you can set up a right click action, in an interactive hotspot in a flash video. The Left Click works fine, but I can't get the right to work. Thanks for your help

Hotspots In Flash?
Hi,

I have a problem

I have a movie clip that is a picture attached to it i have some action script allowing it to move left/right depending on which way the mouse is going. Thats working fine!

Then i needed to add a hotspot button to the animation (just a standard button!) i add this and tested to see if it would work. It does

But now i want to hotspot to be put on a certain part of the picture and stay on that part so when i move the mouse left/right and it arrives at this hotspot i can click on it. I can't seem to put the button in the movie clip itself as when i do it doesn't work!

Many thanks for your help

Joe

Hotspots In Flash?
What is the best way to create a hotspot in FlashMX 2004? I can make buttons, but, I need to add a clickable area to an existing bitmap. Thanks!

Does Flash Have Such A Thing As Hotspots?
I'm very new to flash. In school we've had 3 lessons so far with only the basics.

I am used lingo though, so actionscript is easy to understand for me.

For a school project we need to make a flash menu for a website.
I have one big pic as a bg and want to make only minor changes at mouseovers (like a little icon next to each menu item)

In director I would just make an invisible shape, position it per menu item and add the script to it but how do I do that in flash?

the other option would be to break my bg pic into each menu item and make them buttonsymbols and put them in a moviesymbol... but it's a very complicated image and it would make like 30 different pics... (yea I'm lazy but this way I'll learn some new stuff about flash )

Thanx guys

Fireworks Hotspots To Flash
I have drop down menus in my fireworks file which i want to send to flash. Can anyone tell me how to do this?

Zoomify HotSpots In Flash MX
I work for a company that makes city street maps all over the US. We use Zoomify to zoom in our maps to get a close view on our maps. We sell advertisement on the borders of the map. We are wanting to put HotSpots on those ads that will send them to the customers websites. I get it to work in Flash MX but when I put the movie in GoLive and upload it to the website, it does not show the pinpoints and doesn't send them to the websites.

Can someone help me with this problem? Go to this website to see the maps that I am talking about: http://www.springhillpress.com/zoom/...Rapids_IA.html

Thanks for anyones help.

Zoomify HotSpots In Flash MX
I work for a company that makes city street maps all over the US. We use Zoomify to zoom in our maps to get a close view on our maps. We sell advertisement on the borders of the map. We are wanting to put HotSpots on those ads that will send them to the customers websites. I get it to work in Flash MX but when I put the movie in GoLive and upload it to the website, it does not show the pinpoints and doesn't send them to the websites.

Can someone help me with this problem? Go to this website to see the maps that I am talking about: http://www.springhillpress.com/zoom/...Rapids_IA.html

Thanks for anyones help.

Hotspots
I have an image I want to use on my website and I want to create hotspots to use as buttons. Can anyone help me do it?

amiee

Hotspots
When you mouse over a hotspot the cursor changes to a hand. My question is how do you stop this happening. I want the cursor to remain the same when you mouse over the hotspot (so that you can't tell that it is there!)

Thanks for your help
Neil

Can I Do Hotspots The Same Way As In DW 8?
In Flash 8 Professional, can I draw with a pen tool around specific regions in a jpg file and make it them a rollover? In Dreamweaver 8 you just do this using hot spots and I want to do it in Flash instead...see http://www.enhancedwireless.net/indexlayers.html for example of what I want to do...rollover the various wireless devices in the banner area.

I'm hoping you can do this as in DW 8 and not have to make each wireless device a png file, bring it in, and then make it a button. I need to make a tight outline around each area I want.

Thanks
KB

Bit Map Hotspots
Im wondering if its possible to create bitmap hotspots for clicking?

My problem came about when trying to do some work with PV3d (1.5)for the first time.

Basically I have a whole load of Cube planes with bitmap materials of album art on them.

I tried to add a play button to each of the planes but I couldnt find a way to do it. The play buttons for each plane would be added but not in the correct positions.

Then I thought it might be cool to just make an image of a play button and combine it to the bitmap data of the album art and make the area of the bitmap with the play button a "hotspot" that would trigger a play event when clicked.

Does this sound totally dumb or technically feasible?



ActionScript Code:
var myOb:Loader = e.target.loader;
           
           
            //Bitmap Material
            var bmp:BitmapData = new BitmapData( myOb.width, myOb.height, true, 0x000000 );
            bmp.draw(myOb);
           
            var bm:BitmapMaterial = new BitmapMaterial(bmp);
            bm.doubleSided = planeDoubleSide;
            bm.smooth =true;
            bm.name = "front";
           
            // Materials
            var materials:MaterialsList = new MaterialsList(
            {
                back:  new MovieAssetMaterial( "BACK", true ),
                front: bm
            } );
           
            var insideFaces  :int = Cube.FRONT + Cube.BACK;
   
            // Create a plane or cube with depth = 1
            //*b*Cube is a type of plane
            var p:Cube = new Cube( materials, myOb.width, 1, myOb.height, quality, 1, quality, insideFaces );
           
            //retrieve index
            var index:Number = pInfor[myOb];
                   
            // add to scene
        scene.addChild( p, "plane" + index );


var containerPlane:Sprite = p.container;
            // my play button
            var p:PlayButton=new PlayButton()

                       containerPlane.addChild(p)
           
            // turn on button mode
            containerPlane.buttonMode = true;
            containerPlane.addChild(p)

Hotspots
I just created a flash file that moves left and right using a button and a mask.

I now want to insert buttons into the images i have within the room. This is where my problem starts I know how to put the buttons in but they always stay on the side of the screen.

Is it possible to use fireworks Hotspots within Flash to eradicate this problem.

Import Hotspots ?
How Do I add Url to Button in Flash ?

Create a rectangle, convert to button, set animations ... but where do i set the Url link ?


Fireworks MX
I can export Buttons to Flash but not hotspots, is this possible ?

Thankyou alot

Unwanted Hotspots
i have a regular text based movie and i placed another full page movie over to pop up for easy access, and so that when you are done you can go back to the exact frame that your at in the bottom movie. any way i have one movie over another movie but the hotspots/sounds of the bottom movie bleed through when you are navigating the top.
thanks for any help

2 Hotspots And Rollover - Please HELP
Hello, thanks for reading.

Check out the attached flash movie. Do a publish preview, and you'll see what I am trying to to. Check out the boom lift button. When it stops, I need the top and bottom portions to link to seprate url's. This, this is why I created a hotspot on thet "hit" propertyies of the symbol in scene boom, frame 11. The link does not work.

Please help, I am on a deadline here!

Thanks!

Polygonal Hotspots...
I was wondering if there is a way to insert a hotspot that conforms to a polygonal selection. Example: I have a County map of North Carolina, and there are a lot of counties....I need each one to be clickable....Is there a way that after I select the county with my magic wand, that I can insert a hotspot without it being a rectangle so I don't have resize each one?? I want the hotspot to be what I selected with the Wand, I don't want to have to outline each one. Any ideas....

-Tim

[F8] Zoomify Hotspots
I made an interactive zoomify map, and now when i try to add hotspots (Labels) it doesn't work.

code:
var x=0;
var y=0;
var xscale=100;
var yscale=100;
var zoom=100;
var movieClipString="mc_hotspot";
var id=1;
var url="http://www.zoomify.com/";

var xmlText = "<Label x='"+x+"' y='"+y+"' zoom='"+zoom+"' xscale='"+xscale+"' yscale='"+yscale+"' id='"+id+"' movieClip='"+movieClipString+"' url='"+url+"' />
";

var xmlNode=new XML(xmlText);

_root.ZoomifyViewer.addLabel(xmlNode.childNodes[0]);

I want to use attachMovie after the data is loaded for the coordinates for the hotspots. Does anybody has any experience with this, or just with the AddLabel from the methods in zoomify component.

I added the .fla....

http://www.seadmemic.com/flash/map.zip

Thanks in Advance!

Masking/Hotspots
I have created a rotating wheel of text where each phrase is a link. What I want to do is make it so that the link can only be clicked when it reaches the middle of page. Is there any way to do this as mask? Or perhaps using a hotspot as a "window" to allow the link to be clicked?

Working Hotspots?
Here is my code I am using flashloaded’s 360PanViewerPro component I have read there Tutorial’s and visited there form and I can only get little help I figured out how to set up hotspots over my loaded swf in the component I am going to use the hotspots as nav buttons. Here is the code I was able to make reading there Tutorial’s here my problem how can i make these three hotspots to load moveclips in a blank moveclip on the main timeline. Thank you very much for your help and time with my problem.

var listener:Object = {};
listener.onLoad = function()
{
myPanViewer.setPosition(300,200);
}
myPanViewer.addListener(listener);
var hotSpotObj1 = {id:"door", x:600, y:410};
var hotSpotObj2 = {id:"window", x:700, y:410};
var hotSpotObj3 = {id:"window2", x:800, y:410};
myPanViewer.setImage("mainphoto.swf",iniObj,[hotSpotObj1, hotSpotObj2, hotSpotObj3]);

Changing Text HOTSPOTS
I would like to know how to set my mouse hotspots over text to include the entire text region (box) rather than the letters themselves. I find that some text is very difficult to click on because there is too much whitespace behind the text for the cursor to select, expecially when the text is small.

Thank you!

Demo

Shapes / Hotspots / Grow...
Ok, I've just bought SwishMax....
I want to have a map of an island, hover over certain (irregularly shaped) areas and make the shape grow towards the screen when the mouse hovers over it. Can someone point me in the right direction?
I have a main .gif background and each area in a separate gif, can anyone give me a clue??

Thanks

Simulating Hotspots On An Image
OK, Here's my situation:

What I am trying to do is take information about specific points on a map (imagine a campus map, for instance), and process the X and Y- coordinates from some xml to create clickable areas on the map.

But herein lies my problem:

1.) The map itself is loaded dynamically, so all I know is the map image location, and the x-y coordinates of each of the hotspots (overlays) on the map.

I already have all the data processedas far as the map and the reference points for the different spots, but I can't seem to figure out how to create the actual 'hotspot' or overlays on the map.

I understand how to draw them through the drawing API, but is it possible to create symbols through code, in order to utilize the hit test functionality, or am I just going about his all wrong.

Drawing the symbols at authoring time is just not an option because users can configure where they want them on their own, so my code has to be able to do all this on the fly.

Hopefully, it's something fairly simple, but at this point I just don't know.

Thanks in advance for your time,

How Do I Create Sound Hotspots?
I wish to make invisible hot spots that play sounds when you rollover them.
I'v tried with a button, but only works when you roll off the hotspot.
i want it to trigger when you move onto the hotspot. i put the sound in its own button sound layer in the up state box, but still it will only play when you roll off the button hotspot, whats wrong? is this the wrong way to do it?
if so whats the right and best way to do it?
any help would be appreciated.
regards
james.

Custom Cursor And Hotspots
I have a custom cursor, and I'd like to have the custom cursor change the same way the default cursor does when hovering over a button. Is this possible, or is that functionality lost when you implement a custom cursor? If it's important, the cursor is implemented as described in the documentation:

this.attachMovie("pointer_id", "pointer_mc", this.getNextHighestDepth());
Mouse.hide();
var mouseListener:Object = new Object();
mouseListener.onMouseMove = function() {
pointer_mc._x = _xmouse;
pointer_mc._y = _ymouse;
updateAfterEvent();
};
Mouse.addListener(mouseListener);

Several Hotspots With Complex Effects On Big MC
Hello to all members the community and thanks to everybody who posted here or made tutorials: you really helped me out!!!

But right now I need a solution for this:

I've made an 800x600px animation in Swift and a movieclip of it in Flash. My purpose is to make a complex animated navigation out of it. If mouse is over a certain spot of this mc it should play a certain animation AND rewind on RollOut.

I've had an perfect working navigation with complex animation buttons as long the buttons were seperated. Now I have one gigant movieclip and want flash to react only over these "hotspots", but in different ways.

I've visualised it:

Hotspots How Do I Track The Mouse Across A Grid
Hello World,

I have a movie 800x600 divided into 160x200 pixel squares. I want to track the users mouse movement across the grid. when the mouse is in a grid I want to tell a movieclip to play a range of frames within it.

I could layout a grid of clips with actions in each one to that tell the targetclip to play a change. Would I have problems later with clips being on top of one another?


But it seems that I could also do this with a switch statement. How do I describe the grid in an expression?

???


thanks
Link

2 Hotspots And Rollover - DEADLINE YESTERDAY
Hello all. I am relatively new to MX< but have used Flash 5 a great deal. I have this animation I created in MX 2004 PRO that has a fluke.

Take a look at my file, and you notice that when you roll out of the "scissor lift" button, the playhead goes to "boom" frame 12 instead of staying within that scene. I need a workaround or a fix, and I need the "fork lift" button to function in a similar way.

Please help!!

Panoramic, How Can I Create Hotspots Fla Included
This is my first panoramic flash file. When you first open the file, you will see circles and squares on it, because i was trying to make buttons so the user could click on. But for some reason i cannot make the buttons do anything. If i out a movie clip and animate it, it will play.

But I need to put hotspots all over the gallery, for every painting etc so a the user can be redirected to another screen or more interaction.

Any one?

Exporting SWF With Hotspots For Embedding Online
To say that I'm a Flash Newbie gives me too much credit, as I do all my work in Camtasia Studio 4.

I am creating a series of online video tutorials, and I am integrating a number of flash hotspots which I would like to link to various URLs online. Whenever I produce the SWF file from Camtasia, the file tests ok off my hard drive (I get the Flash Security warning, but the hotspots are clickable). When I embed the SWF online though, the hotspot text appears, but nothing is clickable.

I figure there is a simple explanation for this, but it has evaded me!

If anyone can steer me in the right direction (in laymans terms), I would be incredibly grateful.

- Paul

[F8] Outputting Hotspots To An External File
I was wondering if there is a tutorial or how can I when some clicks on a hotspot on an image how to get that to open up a html or php file in an html iframe? If someone could help it would be great thanks!

Dynamic MC Has Multiple Hotspots On ROLL_OVER?
Hello all,

I have tight deadline on commercial project done in as3, so forgive the brief post.

has anyone ever seen a dynamic button have multiple hotspots?

Objects inside my nav are triggering the rollOver rather than the entire nav.

a menu tab is created dynamically from a MC exported as a Class.
there is dynamic text and an image populating it from xml.
Behind those is a panel made in flash.

when I roll over the menu tab, both the text and the image trigger the rollOver function. Why the panel in the background doesn't I have no idea.
Its almost like the panel isn't there and it sees the image and text as two seperate targets.


Of course I can post my code, but I was wondering if anyone has experience with this.

Thanks in advance.

How Can I Dynamically Alter The _x & _y Hotspots On Rotation?
Hi all,

I'm having an issue right now. I've been trying to read my actionscript books, but i'm having trouble finding things because what I need to do is more specific.


I'm making 2 movie clips, and 1 movie clip is set to a relevant x & y to the other movie clip.

picture it as a pole (movie clip1) and a ball (movie clip 2)


the ball should sit at the top of pole at all times


ActionScript Code:
_root.onEnterFrame = function () {
    ball._x = pole._x;
    ball._y = pole._y;
}

however I want to rotate the pole in a clockwise direction. But the ball doesn't move w/ the pole tip, while it is rotating. it just stays static where I left it.

Also I set the pole _x & _y position to the tip of the pole, so I can attach the ball there.

my question is, is there a best way to keep the ball at the pole tip while the pole rotate?

Cursor Change When Rollover Hotspots
I have followed this tutorial:
http://www.spoono.com/flash/tutorial...rial.php?id=23

and have created a pencil movieclip that should change when I roll over different hotspots but it isn’t working, could someone please take a quick look and tell what I’m doing wrong?

Also the pencil attaches to the wrong point of the cursor, its well above the pencil tip!

HitTest Bounding Boxes And Hotspots
Hi!

I hope someone out there can help me.
I'm making a little flash interface in which the user can navigate a character through a house, topview. I have got the whole movement of the house around the character working (the guy stays in the center and the house moves around when he walks), but now I want to have him not be able to walk through walls anymore.
I can use hitTest to check if the character touches a wall, and I've set the shapeFlag to true so that it only checks for intersection with the content of the house (being the walls) and not the whole bounding box.

So what's the problem? I'll tell you: I can't get the movie to use the character's bounding box! It's so frustrating, I finally got it to use only the walls for hittesting, and now it turns out that it only uses the center point of the character, so half of him can still overlap a wall and not generate a hit.
The actionScript dictionary is very obscure on the subject, so I was kinda hoping one of you guys (or girls) has at some point encountered, and solved, this same problem.

Any and all help is highly appreciated.

Panning An Image, Jumping To Hotspots And Dragging
Hi, once again I need your help:

I want to take a rather large image, 1000x400px, and only show a portion of it.

Immagine a world map, where you only see one continent at a time.

When you klick on a button underneath, the image is supposed to smoothly scroll to the desired destination.

Like, I'm looking at Europe, then I click on a "USA" button, and the North America Continent slides into view.

An added bonus would be for the user to be able to manually drag the image as well, revealing other parts of the image.

So actually the script should read the current "position" and create a slide to the desired "position" of the image.

I hope I explained it properly

Anyone have any links to existing movies, sources, scripts, whatever that will put me on the right track ?

Thanks in advance,

cheers,
Daniel

[F8] Drag And Drop - Make Hotspots React?
I've got a drag and drop interaction where I want the target area(s) to highlight (change _alpha from 40 to 15) when the user drags the selection over it and to fade back to 15 when they drag out, but I can't get the hotspot to react to anything. I've tried putting in invisible buttons in, assigning the action to the movie clip instances and to the drag object, but no luck...

See the attached file...right now I'm forcing the target to drop into the first area on release, but I'll get to that next...

Any ideas on how I can do the highlight areas??

Here's the code, if that helps:


Code:
var droppedIn = false;
drag_mc.onRelease = function() {
trace("this._droptarget "+this._droptarget);
this._x = 106;
this._y = 200;
droppedIn = true;
this.gotoAndStop(4);
stopDrag();
};
drag_mc.onPress = function() {
startDrag(this, true);
};
drag_mc.onRollOut = function() {
chart_mc.hit1._alpha = 15;
if (droppedIn == false) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
};
drag_mc.onRollOver = function() {
if (droppedIn == false) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(4);
}
};
drag_mc.onDragOver = function(){
trace("drag_mc.onDragOver "+this._droptarget);
if (this._droptarget == " /chart_mc/hit1") {
chart_mc.hit1._alpha = 60;
}
}
drag_mc.onDragOut = function(){
trace("drag_mc.onDragOut "+this._droptarget);
chart_mc.hit1._alpha = 15;
}
stop();
Thanks!!

Hotspots In A Loaded Movie Not Referencing Correctly
My main movie uses an onResize function to reposition movie clips relative to stage H & W, a movie loaded into level 1 contains the hotspots that aren't registering properly.

CODE IN MAIN MOVIE:
Stage.scaleMode = "noScale";
Stage.align = "TL";
///////////REPOSITION ELEMENTS WHEN STAGE IS RESIZED////////////
this.onResize();
function onResize() {
newPosition();
}
Stage.addListener(this);
function newPosition() {
stageH = Stage.height;
stageW = Stage.width;
bkgrnd_mc._width = stageW;
bkgrnd_mc._height = stageH;
main_mc._x = (stageW- main_mc._width)/2;
main_mc._y = (stageH- main_mc._height)/2;
//loaded movie- all hotspots are inside this MC:
_level1.temp_mc._x = (stageW-_level1.temp_mc._width)/2;
_level1.temp_mc._y = ((stageH-_level1.temp_mc._height)/2);
}


on loading a movie into level 1 – I can see that the hotspots contained within it are visually repositioned when browser resized (hotspots all inside ‘_level1.temp_mc’) but the x & y coordinates referenced during hitTest remain those of the original loaded movie – ignoring the fact it looks as though it has been physically repositioned!
Hit test code placed inside the loaded movie (in ‘temp_mc’) uses shapeflag method to test hits, eg:

//display readings:
_level1.temp_mc.reader_mc.onPress = function() {
this.startDrag();
};
_level1.temp_mc.reader_mc.onRelease = function() {
this.stopDrag();
if (_level1.temp_mc.hotspot1_mc.hitTest(_level1.temp_mc.reader_mc._x, _level1.temp_mc.reader_mc._y, true) {
_level1.temp_mc.temp_txt.text = " hotspot1";
}
else {
_level1.temp_mc.temp_txt.text = "Nothing detected";
}
};

Resize function also called in first frame pf loaded movie: _level0.onResize();

Any help gratefully received, thanks in advance.

[as] Dynamic Hotspots In External Text Field
I have an external text and i want to make some hotspots in this text
preferably with actionsscript in flash so the next functions can be added in flash:

when somebody goes over it with the mouse it displays the position and some hover text and when the mouse goes over it or selects/clicks it, thats has to be registert.
I think some of these functions can easily be made in flash so thats why flash has to identify the specific word in the text file.

So i have the text: "this is an example text"
and i want flash to identify "example" as an hotspot or clickable word, when the mouse goes over it, it should display position and something should remember that the word has been clicked.

Is there any way to set up a variable for this? Or another method to do it?

any help would be appreciated

*Using One Image And Setting Numerous Hotspots On It That Lead To Different Scenes*
I want to use one image as a background image, but then I want to set certain hotspots on it (like an image map in HTML). I want the hotspots to also have "over positions" like they light up when you hover over them. I tried to accomplish this a few ways last night, but I couldn't get it to work the way I want it to. Can anyone help me and give me some tips?

I may not be able to check this board often, so can you possibly email the info to me at axcxmx@cs.com?

Thank you.

Tutorial: Creating A Flash Form + Creating Php To Send Email
I came across a great tutorial for those of you who do not know how to create a flash "contact" form and how to create the php file to go with it.

http://www.kirupa.com/developer/acti..._php_email.htm

Enjoy!

HELP-creating Links To .doc's And Creating Forms In Flash 5
right, how do i create a button in flash 5 that when pressed downloads a .doc file onto their desktop?(and how do i link to the .doc file?)

also how do i create a form in flash 5?

hope someone can help!!

mavis

Creating Animations / Creating Websites In Flash 8
I am trying to find some advanced animations for Flash 8 as well as information on how to build a website in Flash.

I am not exactly sure where i can find these questions out. I need websites that have tutorials that go step by step for beginners because I tried a simple custome scrollbar tutorial on here and got lost. It integrated all this actionscript but never told me where to put it or anything.

Get back at me asap if you can help.

Thanks

cd2502

Movie Clip "hotspots"
Hi,

I'm fairly new to actionscipt, but I'm attempting to make a project for my government class. I'm trying to make it so that when you click on a part of a movie clip something happens, but if you click on a different part of the same movie clip something different happens. Please help me, I've been trying to get this to work for days and I'm stumped. Please email me with any ideas and/or suggestions.

Thanks for all your help

Outputting Data In Flash To Text Documents, Creating Textdocs With Flash & Mc Filters
Question 1: How do I add a filter to a movieclip from actionscript,
More specificly, the "adjust color" filter, and I want to decrease brightness, saturation, hue, and contrast... by actionscript...
If you dont know what I mean, use the circle tool to create a circle, convert to movie clip, click the "filter" tab, then click + and add a adjust color filter, you'll see what I mean...

Question 2: I need to output text to 'text' documents, no I cannot use shared objects for this, as it is a program for a client, and it isn't safe enough for me...

Basically, this is what I want to do...


Code:
var archive:Array = [];
archive[7] = "Hello I am the 8th archive";

//save to a text document called "archive7" in the directory myProgramfiles
//finished with code...
then

on initilization of my program, it'd do this

Code:
//get text from the text document I saved in the directory "myProgramfilesarchive7"
Thats what I really need

Question 3:Is there a way to create a folder, text document, through flash
//example


Code:
var textdoc:TextDocument = new TextDocument();
textdoc.name = archive7;
textdoc.text = "Hello I am the 8th archive";
Can anyone tell me how to do this

Thanks in advance

Flash SWT Files Creating Flash Button Templates For Dreamweaver
I was working with some students who like the Flash Buttons that are part of Dreamweaver. They thought it would be a cool idea to create their own buttons and add them as templates. Reading on the Adobe website it says to use Flash 5 to create and export the file as a SWT file type. There are further articles that says this can not be done with Flash MX. Has Adobe brought this back for Flash 8 or CS3? How else would someone accomplish this?


Thanks.

Flash Script - Creating A Dynamic Drawing Application In Flash
This forum thread discusses the SitePoint article 'Flash Script - Creating a Dynamic Drawing Application in Flash' by SitePoint ScriptMaster.

"i did the drawing tool tutorial and it works great, but now i want users to choose their own color, so i replaced the rgb value with a variable called 'mycolor'... This only seems to work if i define 'mycolor' in the frame-actionscript, and not when i put it in a buttonscript..."

does anybody know what i did wrong? or does anybody know a tutorial of a drawing tool with more options? (colors, eraser, maybe even store drawings???)

that would be great

greets

onno

Copyright © 2005-08 www.BigResource.com, All rights reserved