ActionScript 3.0 :: Highlight Any Image Blue?
Sep 19, 2009I want to know how to highlight any image blue, but just the image, not the square its in if you know what i mean.
View 2 RepliesI want to know how to highlight any image blue, but just the image, not the square its in if you know what i mean.
View 2 RepliesIf you take a look at [URL] you see I created a timeline motion tween on the blue transparent image. Now I want to load this image via actionscript and follow the exact guidelines I gave there.
This is what I use in AS3:
Code:
loader = new Loader();
loader.load(new URLRequest(lastImage));
thisMovie.imageLoader.addChild(loader);
It does load the image, however it does not place it in the imageLoader I created in Flash (yes I gave it an instance name). This is the error I get (i.e. it doesn't access the imageLoader). It does when I put it in the first frame on the timeline, but then it doesn't follow the guidelines I gave in the timeline.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
I've completed the tutorial to create a photo gallery using flash and xml, and have gone on to add the thumbnails. Everything works as intended, but now I would like to add another feature... I'd like to highlight the thumbnail that coordinates with the current image (maybe at 100% alpha while the others are only at 50% or something along those lines). Any suggestions, building off of this:[URL] ?
View 1 RepliesI've seen this being done before and I thought it would be easy, but got stumped when trying to replicate it. I'm trying to create a function in flash which will take dark pixels of an image of hair and lighten it and maybe add colour too... Is that really tough to do or does anyone have an easy way around it? Example: [URL]
View 2 RepliesI load my thumbnail into flash this way:
Code:
material.holder.loadMovie("material.png")
material.holder._xscale = 75;
material.holder._yscale = 75;
how can i make it so when the user rollsover the image loaded, it darkens to appear highlighted?
This is ridiculous. All I have is a blue box tweening across the screen, nothing else, and it is having all these intermittent distortion *blips* in the box as it tweens. Only 1% of my cpu is in use! Below is a link with a zip that has both the fla and swf. Could someone download it and tell me if it blips on your computer too? why I don't seem to be able to get a simple tween to work without getting distortion??
[URL]
How can I make this blue effect of lines? like in diablo 3 site
View 1 RepliesHow would I create a blue html hyperlink in AS 3.0?
View 1 RepliesI need a blue box with "man" typed into it made into a MC. (can do that bit).Which when I move it around on a startDrag command needs to change to "woman" in a pink box when it encounters a hitTest with other stationary words on the stage.I obviously need to stopDrag when the mouse is released.Is this about an MC inside another MC?
View 14 RepliesI am a newbie with Flash CS4 and via a tutorial of Lynda.com I am trying to make my first website. With the exercise files of Lynda I had no problem, but with my own .psd file I am getting error 1061 after I tried to make a mouseEvent.I noticed that in the actions script the word "eventListener" stays black instead of changing into blue.
This is the action script:
Actionscript Code:
stop();//handle events for buttons...about.addEventlistener(MouseEvent.CLICK, clickSection);function clickSection(evtObj:MouseEvent){//trace shows what's happening... in the output window trace("The about button was clicked!")}
See attached screenshots for more info.
A blue box surrounds each individual line I make with the paintbrush. I'm on the final stages of an animation. I'm currently using Flash CS5.5. The problem with these blue boxes is that it treats it like a seperate drawing disabling me from filling the the object in with paint bucket, however it does appear on the drawing it self. As a side note I've noticed it has labeled it has a drawing object, where as the other ones are considered shapes.. Is there a way to deactivate each thing as a drawing object
View 3 Repliesi am interested in putting some blue screen filming into Flash to interact with theanimations on screen, i was wondering how to start going about this
View 1 RepliesI would like to link the red squares to the blue square in 3D with CS4 only (please no papervision or sandy...)I'm very closed to the solution but I still have a wrong z (visible when you move the mouse to a corner for instance)
[code]....
The main function is drawLines()
I am trying to make my first website. With the exercise files of Lynda I had no problem, but with my own .psd file I am getting error 1061 after I tried to make a mouseEvent. I noticed that in the actions script the word "eventListener" stays black instead of changing into blue. See attached screenshots for more info.
View 1 RepliesI'm the developer of ShellShock Live, a free online artillery game: [URL]
Everything has been running smoothly, but every once in a while for a period of 4 hours or so, hundreds of "VerifyError: Error #1026" will show up in my error log. Then, they will stop.
I looked into VerifyError and found that "The VerifyError class represents an error that occurs when a malformed or corrupted SWF file is encountered." The SWF on Newgrounds is just small loader SWF that loads the full game SWF from another site, so there must be a problem there. I'm stumped, because the game will run fine for days, and then just start getting these errors out of the blue, after no changes to either SWF.
How would i program this preloader. I want it to be all red rectangles and as it loads i want it to fade in the blue as it loads to 100%.
View 1 RepliesWhy does .png/png converted to symbol have blue border?
View 3 RepliesAs stated in the title an odd blue box appears around my drawing not allowing me to continue with what I was creating. I tried to get rid of it but just dont know how.
View 5 RepliesI have a question I came up with 3 days ago about how to do the blue underlining of a datagrid row programmatically. I thought to have found the solution, with just adding the column and row Indexes to the datagrids editedItemPosition Property.It turned out, that this is just practical if you want to be able to edit the grids row right away. But what if I just want to underline it with the blue color?Additionally how to detect that a list based Item got this kind of selection? es there a event to detect that? whats the name of this kind of selection?
View 1 RepliesMy button doesn't have a blue focus ring around it, even though it has focus. I've got a component with a RadioButtonGroup and a Button. After a selection is made in the RadioButtonGroup, focus is switched to the Button. I added click="focusManager.setFocus(myCloseButton)" on the VBox.
After, a radioButton is selected, if the user clicks the spacebar the Button fires. So, as I understand it focus was switched to the button. But, the button doesn't get a blue focus ring surrounding it. How do I get the focus ring? I have visible="false". I turn them to visible, after some effects are finished. So, don't let that throw you.)
[code]...
I have a grid of objects that have been added to the stage dynamically, the objects are either of a Class Red or Class Blue, how do I perform a hit test on the Classes? I want the Blue object to disappear once it hits a Red one.
View 3 RepliesI'm creating a photo gallery, but my pictures have transparency, that is why I can use the jpg format to load the pictures from a folder. I read the tutorial to make a photo gallery but it works only for jpg files, I also want them to appear and disappear using alpha. I think I must use the attachMovie method and keep the images in png format in the library but I can't get to the correct script.
View 2 Replieshow when you turn a ps2 on, it has that moving blue fog on the bottom? How, preferably by using actionscript, would I recreate the fog effect?
View 2 RepliesAfter clicking the button, the blue box will expand, and then I want it to go and stop to another frame. Why my script does not make that happen. File is attached.
View 1 RepliesCode:
button.addEventListener(MouseEvent.CLICK, myButtonAction1);
function myButtonAction1(e:MouseEvent):void {
for (var i:uint = 0; i < 9; i++){
var ray:RaySpark = new RaySpark(i*15)
addChild(ray);
[Code] .....
The blue lines should each be pointing at a circle, what did i do wrong?
I'm creating a photo gallery, but my pictures have transparency, that is why I can use the jpg format to load the pictures from a folder. I read the tutorial to make a photo gallery but it works only for jpg files, I also want them to appear and disappear using alpha. I think I must use the attachMovie method and keep the images in png format in the library but I can't get to the correct script.
View 2 RepliesI'm doing an aplication with Flash CS4, using adobe air in as3. I have some frames, and in the frame 25 there's a stop, when user clicks a button, go ahead to frame 27 and stage resize the whole screen, just like a FULL_SCREEN, and then I load an pdf. I can't use FULL_SCREEN or FULL_SCREEN_INTERACTIVE property, because doesn't works the pdf loaded, so I would like to simulate it. The application it will be use in windows ( I am not sure if XP, vista, but windows). So when resize the stage, to load pdf, then and ONLY then, I want the title bar disappears, just to simulate full_screen. How can I do, to make in a desktop application that?
View 1 Repliesin adobe flash cs4 professional. how do you see the image?
View 1 RepliesI'm doing an aplication with Flash CS4, using adobe air in as3. I have some frames, and in the frame 25 there's a stop, when user clicks a button, go ahead to frame 27 and stage resize the whole screen, just like a FULL_SCREEN, and then I load an pdf. I can't use FULL_SCREEN or FULL_SCREEN_INTERACTIVE property, because doesn't works the pdf loaded (even adobe help say it), so I would like to simulate it. The application it will be use in windows ( I am not sure if XP, vista, but windows). So when resize the stage, to load pdf, then and ONLY then, I want the title bar disappears, just to simulate full_screen.
View 1 RepliesI burnt so much time on a costume made component which extends NumericStepper.Adobe should be ashamed.. The flash component quality is poor.Now I'm at stage that all I try to do is to disable the numericStepper's focus rectangle.I haven't found a thing that works, all of the solutions I came across were Flex related.To clarify : this is a pure flash ac3 project.. no flex involved.
View 2 Replies