ActionScript 2.0 :: Change Icon On Determined Zone?
Sep 13, 2005
I did a simple flash file to be able to users paint on draw. Now i want to change the icon only on certain zones but i don't know how to do that.. I want the icon to be the pencil when it's on the yellow area and i want it to be red again when it's on the red area.
Here is my fla: [URL]
View 1 Replies
Similar Posts:
May 17, 2011
I am coding a graphical interface using Flex, and I have a qestion related to masks in Flash.I want to create a kind of mask that defines which color and which alpha value a text will have according to its position on the screen. It is very easy to do that with the text being the mask of a bitmap, for instance.
However, I also want to take into account the color of the text itself.for instance, if I create a red text, in some zone it will be red with a modified alpha value, but on another zone, the text will be full white, as if there was a kind of mask which also applies its own color on top of it.
Is there a way to easily do this kind of thing? Of course, I can manually apply the format on the text according to where it is, but I wonder if there is an automatic processing like mask or blend mode using a DisplayObject as a processing pattern.
View 1 Replies
Nov 25, 2008
Is there anyway to change the appearance of my swf icon?
View 1 Replies
Mar 1, 2010
I have created a flash movie(Interactive Map) for my company and I have been asked to print out the file with our company Icon instead of regular flash icon.
View 2 Replies
Jan 24, 2011
I'm trying to make an application in adobe air where you can externally load icons into the application. Can I change the window application icon in actionscript?
View 1 Replies
Jan 5, 2012
I would like to change the icon of my Flash.app projector. I used img2icns to make the new mac icon but how can I make it use this icon ?
View 2 Replies
Feb 21, 2012
i have a other problem after i publish out to exe when you open the exe without fullscreen there is a title on top "adobe flash player" is there any way to remove the title? and any one have some good software that can change the exe icon?
View 3 Replies
Nov 9, 2004
How do I change the icons to Alert buttons like OK, CANCEL etc?
View 1 Replies
Feb 28, 2010
I have created a flash movie for my company and I have been asked to send the swf file with our company Icon instead of regular flash icon.
View 1 Replies
Sep 9, 2011
Until now, my solution for a disabled button's icon was to have a second, greyscale icon and swap the icons based on the button's enabled value. Obviously this is very hackish.
I'd like to drill down into the button's icon and apply some kind of greyscale filter when the button is disabled and remove the filter when the button is re-enabled. I tried a couple of things, but I don't know enough about Flash graphics to really have a good idea about what to do.
Can anyone give me some pointers? Ideally, I'd like a Flex 3 solution (since most of my apps are still mx/spark mixed), but Flex 4 would be OK too.
View 2 Replies
Mar 15, 2012
I'd like to change icon of the node according to the attribute automatically/dynamically in Flex.[code]
View 1 Replies
Nov 11, 2009
I publish my project... i put it on the web... but the icon that happears is 1 white page.... how can i change the icon??
View 1 Replies
Mar 14, 2012
Introduction: I have a flat ArrayCollection of object's, which i group to create the dataProvider for an AdvancedDataGrid. In this AdvancedDataGrid i have different branches representing different type of tasks. I want to conditionally change the icon for the leaf nodes in the AdvancedDataGrid based on a date field stored in each object.For this purpose lets say each Task object contains an id and an updatedDate (Representing when the task was last updated). If the task has not been updated in the last five days (updatedDate+5 < today) the icon of that leaf node(Task) should be red, in constrast to the opposite the leaf icon in the AdvancedDatagrid should be green, e.g. like the image below. In this case task 35 has not been updated in the last 5 days, while 13 and 39 have.
Question: How do i change the leaf icons in the ADG based on the updatedDate of the underlying object? I would think that i have to extend AdvancedDataGrid and override some method, but which and how?I have seen easy ways of changing the open and closed icons on the web, but no way of conditionally changing an open node's icon :)
View 2 Replies
Jan 13, 2008
I adopted the tsunami effect that i've got from this link [URL] but the problem is how can i plug the title on each icon, showing up on an icon when i point on it (on rollOver)
View 5 Replies
Nov 9, 2010
I am working on an older Flash project created in CS3 ActionScript 2.0 How can I make the pointer cursor change to the hand when hover over a list item?_root.slidePanel.myList'myList' is the list. I have traced out the contents of the List MC and it has a child MC called 'content_mc'. I assumed this was the object containing all of my list items but the only members of this MC I can see (when tracing them out) are 'setRGB' and 'searchKey'.
View 1 Replies
Aug 17, 2010
How do I change the icons to Alert buttons like OK, CANCEL etc?
View 3 Replies
Apr 11, 2006
is it possible to change the icon and the title in the title bar? are there any opensource or low cost ways (prehaps software with a education licence) to change the apperance of the projector window.. like for example itunes, breaks out of windows xp standard UI
View 2 Replies
Oct 19, 2010
I'm seeking a method that tells me whether my code is running inside an AIR app or not. Something a lot less tacky than polling an AIR-only method. So far, searching the docs has been unfruitful.
View 2 Replies
Oct 21, 2009
Is this determined by the fps set in the .fla? or does it simply run as fast as the computer can run it?
View 1 Replies
Sep 8, 2006
I have multiple Flash forms that all go to the same database via php I am trying to figure out how to have a pre-determined "Value" for one of these fields..URL...then "Collectors" then "Invitation Request" Once you choose what type of collector you are a drop down form comes up. I need a way to make the first field or "type of collector" to be filled in and send the different pre-filled fields to my database...I know this is a complicated explanation but I don't know how to ask it any simpler.
View 2 Replies
Sep 19, 2005
I am with big problem, example I am making a "item product", that he goes to show image, the description of the product and the price of the product, the image, the description and the price, I am catching these data of my HTML.[code]As I would make thus, in my HTML I have that to put 4 images, 4 description and 4 prices it to works normal, without giving error, but if I to place 2 images, 2 description and 2 prices it show 2 products, but it still goes until the end of timeline showing nothing.how I would make if I placed only 3 or 2 products, it I would only twirl these 3 with Loop, if I placed 1 product only show 1 time without loop, it he would be without Loop and thus for ahead?
View 1 Replies
Aug 24, 2009
I'm working in Flash 9, AS2.
I have a button that (should) open a new window whose URL is determined by a variable, downloadlink:
on(press) {
downloadlink = _root.download[songnumber];
_root.getURL(downloadlink, "_blank");
}
I've traced this, and the variable for downloadlink is working correctly, pulling in a full URL like [URL] from an array in the root
this does not seem to be a popup block issue - because when I replace the code with: downloadlink = [URL] ... the new page opens with no problem, in a new window
View 2 Replies
Apr 28, 2011
I have a working USA Time Zone Map. It works, but there are some bugs that I cant seem to get rid of.1st off, the time is based on the PC's clock. ( It's a work related thing, and no need to go from there)I have a clock displaying OUR current time (AST). I have EST, CST, MST, and PST times displayed also.I offsetted the clocks in each zone by simply adding the following code for each clock movie;[code]If I do -4, or -5, and so on, I get a '-' in front of the hours before the hour number, and if I add the AM, PM code in , like in the AST movie, THE movies dont show the proper AM, PM times when it is either AM, or PM.The FLA attached works fine as is, but I want to be able to have the AM/PM after the time on the clocks that are not local to the user 's PC clock.url...
View 3 Replies
Nov 14, 2008
I am trying to create a button that when clicked will open a webpage with a pre-determined size. This is my code now that works without Java:
[Code]....
but I can't seem to figure out how to add this and make it all work:
[Code]....
View 1 Replies
Aug 8, 2010
If the size of the Document object in a Flash application is not set explicitly, how is its size determined?
View 5 Replies
Jan 10, 2007
Ok so basicaly what I want to do is load in an external swf onto the stage which is 1024x768, above all existing items (so preferably into an existing container mc) but set the loaded swf's width/height so that it fits into a pre-determined space of 700x400, even though the loaded SWF is larger.
The stage of the SWF being loaded in is 700x400, which as stated above is the desired size, but objects within it are larger than it's stage for purposes of the animation. This means that when you load the SWF onto your current stage with the normal loadMovie("xxx.swf","container") you wind up seing parts of the object that would normaly be outside the 700x400 stage if you were to view the SWF on it's own, obviously resulting in an ugly movie clip.
I could cover up those parts with extra layers, but the majority of the primary stage is transparent so this isn't really an option. So, is there a way to load an external SWF but only display the actual stage of that SWF, or set the width/height to mimmick the same sort of thing?
View 6 Replies
Jun 10, 2002
Let's say I have three symbols (whether they are movie clips or graphics, I'm not sure yet, but let's assume they're movie clips). Okay three movie clips, each is 5 frames of animation. The clips are named bugs1, bugs2, and bugs3.
Okay, now I have a variable named bugsvalue. Here's what I want to do:
If bugsvalue == 1, I want bugs1 to appear on the screen. If bugsvalue == 2, I want bugs2 to appear on the screen. And if bugsvalue == 3, I want bugs3 to appear on the screen.
There's two ways I think this can work, but logistically don't know if either one will work. We can have all 3 on the screen, but have their visibility set to 0. When the variable is equal to their value, their visibility is set to 100 and they appear. I don't like this approach because it's means having all three on the screen, which increases demand on the computer.
The other way to do it is to have none of them on the screen. Then when their variable is equal, have the clip actually appear and then when the variable isn't equal anymore, to have that clip disappear.
If this is confusing, is there a way I can provide a .FLA so perhaps you can see what I want to happen?
All movie clips are in the library, but I don't know how to call something from the library to appear on the stage, and then disappear again when I don't need it on the screen anymore.
View 2 Replies
Jun 2, 2009
what I need to do is take a value (angle) and round it to the nearest number from a pre-determined set of values (e.g - [0, 45, 90, 180...]. The purpose of this is to restrict the angle to vertical, horizontal or diagonal movement (it's for a word search).
View 3 Replies
Dec 20, 2009
i'm trying to load an external swf (as2) and I want to use it as a background for my movie.I'm doing it with this code:
Code:
var bg = new Loader();
bg.load(new URLRequest("background.swf"));
addChild(bg);
[code]....
Why is not working when I set as the width and height the stageWidth and stageHeight parameters?
View 1 Replies
Nov 4, 2009
I am somewhat new to Flash CS4 andt am having a problem making simple buttons in Flash CS4 on a Macintosh: I have made a few buttons with a graphic and can go into them and successfully create the Up, Over and Down stages of the graphic. Then when I create a new box for the hit state (which is larger than the graphic and I have deleted the graphic itself from the hit state) it doesn't want to appear correctly when I test the movie. When I test the movie, the hit state is correct everywhere around the graphic (to the bounds of my hit state box), but is not active where the graphic is.
When I go under the Control menu, down to Enable Simple Buttons, the hit zone looks great right in my Flash file, but when I preview it or publish it and look it on different browsers (PC and Mac), I don't get my pointer right over the actual graphic, but get it everywhere around the graphic to the boundaries of my hit box. Why can't I get the actual graphic to be a hot spot in this situation? I have tried leaving the graphic in the hit timeline, and tried putting both the larger box and the graphic in the hit timeline, and still can't get them to respond correctly with the pointer in the browser window.
View 2 Replies