ActionScript 2.0 :: [MX] Change Alpha Settings On MC?
Jun 7, 2003Is there a way to change Alpha settings on MC using AS? Something like this:
[Code]....
Im trying to duplicate the window effect on this weeks site of the week: [URL]
Is there a way to change Alpha settings on MC using AS? Something like this:
[Code]....
Im trying to duplicate the window effect on this weeks site of the week: [URL]
I am having a problem with Flash.I get the message Movie not loaded if I right clich where the video should be.I may have set the hardware acceleration on/off by mistake, but I cannot get the Settings manager to open to check it.I am running Feroda rc14.If I go to http:[url].... and right click in to white area at the top, I get the message 'Movie not loaded' and the flash version - 10.2.159.1. This is where I should be able to open the settings window.Where does Flash store that info on my PC? How can I check it/change it without Settings manager?
View 4 Repliesi made text into a movie clip and put in this code to adjust the alpha.
onClipEvent (load){
this._alpha=100;
i=1;
}
onClipEvent (enterFrame) {
if(this._alpha=0 && i==0){
[Code]...
The alpha is going down.I think, because the text isnt there. What i'm having trouble with is getting it to go back and forth. Increasing and decreasing the alpha when it gets to it's maximum or minimum. I hope I'm making some sense.Does anyone have any ideas? And no I cannot do this with a simple motion tween because there are things happening in the background.
I need a way to blend two movieclips each with an alpha between 0% and 100%, and instead of adding the two overlapped parts together, i need the colour to be an average of the two overlapped parts.
Ive been looking for a few different ways to manage this. The reason I need this effect is to do a realistic motion blur for a moving ball (which can be in any direction).
In Flash CS3 you could set a default color with an alpha setting. I have not found a way to do this in CS4. Is there a way? Its nice to have some default colors for shading that are easy to get to.
View 6 RepliesI'm working on a simple movie clip that shows a few lines of outline text. Audio will eventually accompany the text, and to make the clip more "interesting" from a viewer perspective I've been asked to fade in the text line by line as the clip progresses. I hadn't expected any trouble with this...I created the text clips individually, converted them to symbols, then applied alpha=0 at appropriate points, then inserted a motion tween to transition to the same clip with alpha = 100.
The problem I'm seeing is that when I publish the swf and open it, it just shows me all the text immediately, no fade in, no nothing. When I click Control->Play while in editing mode in Flash, the clip behaves as I'd expect. Is there some feature of text clips that prevents them from behaving as expected in this context?
I've been trying to export some png assets for flash from photoshop and keep getting this weird banding issue (see attached image). As you can see, the image on the bottom is the png loaded into photoshop and placed on a white background. Then, on the top is how the png looks when placed on a white background in flash. WHY?! Just to rule out some of the more obvious responses, I've already tried the following:
- Exporting as a 24bit+alpha png from photoshop (interlaced and non-interlaced)
- Exporting as a 32bit alpha png from fireworks
- Exporting as an 8bit alpha png from fireworks
- checking the image properties in flash (losless, no smoothing)
- checking the colour space settings in all apps involved
how can I change my rulers' zero points on the stage? In Photoshop I just drag new points from the top left corner, but that doesn't seem to work in Flash. This is very useful for me, e.g., setting "0" at the center of the stage, or quickly measuring some space.
P.S. Where's the email alert button on this Forum's posts?
I got 12 scenes on my file and all of them are running on actionscript 2.0 engine. I import a new scene but it requires a actionscript 3.0 engine. is it possible to change the actionsript on a particular scene?
View 1 RepliesI'm trying to change a Flash animation into a Quicktime movie to post to YouTube, which I've done with a much smaller file, but have had trouble with a larger 2.6M file. When testing Flash movie I get dialog box saying- Content will not stream... Change Runtime Shared Library Library > Advanced ActionScript 3.0 in Publish Settings. So I enter Publish Settings, on Formats I leave Flash and HTML checked. Select center tab for Flash, click on settings for ActionScript 3.0 in scripting box. In Advanced ActionScript Settings dialog at the bottom I've tried changing the Runtime Shared Library drop down to the Merged into Code option but it didn't help. The other option is the Preloader Method, where I think the problem is, but when it is changed form Preloader SWF to custom the Preloader SWF box at the very bottom empties and when the movie is published I get a warning of no Librarys linked and when movie is played int the Quicktime player some of the animations fragment and leave the fragment as remnants.
View 3 RepliesI bought a template but can figure out how to change a few flash settings .My website is done except for these few minor changes.To see what Im talking about go to the website main page here [url]....
1) There are two flash files, a menu and a header, in the menu when the page paods the buttons are white and turn orange when you scroll over them. Id simply like them orange when the page loads and then to turn white when you scroll over them. I can figure out how to get the scroll over to white but not the first part to getting the load orange.
2) In the header file there are several pics. Beside the pics there are scroll over buttons. Id like the first button, that says domestic contract, open when the page loads.
I have a file I am working on that was coded in AS1 and I need to Publish in AS2 (so I can incorporate an AS2 Gallery I have). When I change the publish settings to AS2 I get errors on a couple pieces of code. I will paste them below and attach an Error Log txt file as well.
[Code]....
I have made some nodes for some shapes to follow during play, however I don't want these nodes to show up when the game is actually running. Could someone please tell me how I can change the nodes settings so they don't appear on the stage when the game is running.
View 2 Replieshow to change a few flash settings. My website is done except for these few minor changes.
1) There are two flash files, a menu and a header, in the menu when the page paods the buttons are white and turn orange when you scroll over them. Id simply like them orange when the page loads and then to turn white when you scroll over them. I can figure out how to get the scroll over to white but not the first part to getting the load orange.
2) In the header file there are several pics. Beside the pics there are scroll over buttons. Id like the first button, that says domestic contract, open when the page loads.
I'm creating a banner that is supposed to send an user to a Web site. I have the following as my AS3 code (in a separate layer)[code]...
How do I get to this "settings manager"? I'm using Windows 7 Professional.
well i want this actually
<s:Button x="240" id="anything" y="80" label="User 4" click="click_Handler(event.currentTarget.id)" />
protected function click_Handler(s:String)
[Code].....
Well in this code of course s.width cant be done. i must change the width when i click on the button.
if its possible to change the settings of SCROLLPANE particularly the arrow scroll speed. it scrolls a little bit slow especially if it loads a lot of text.
View 2 RepliesI'm working on some optimisation techniques to allow Flash for export my .swf in various file sizes.I need to export the same .swf in a high quality and a lower quality version; so I normally just alter the JPEG quality manually.But I was wondering if there is a method using AS3 that allows me to adjust the JPEG quality dynamically? [code]
View 3 Repliesplay ();ifFrameLoaded ("content", "loader") { gotoAndPlay ("content", 1);}downloaded = math.floor((_root.getbytesLoaded()/_root.getbytestotal())*100) add "%";_root.bar.download_bar.gotoandstop(downloaded);bytesloaded = math.floor(_root.getbytesloaded()/1000);bytestotal = math.floor(_root.getbytestotal()/1000);_root.bar.message = bytesloaded add "Kb";_root.bar.message2 = bytestotal add "Kb";
this is for a loader on an already created flash. Which I am updating. All I am doing is changing a picture that has no coding with it, and changing the publish settings. The publish setting for the original was set for flash player 5, however I need it set to flash player 8. After I change these settings and export the movie to a .swf, I get the errors.Has the action script changed that much from flash 5 to flash 8?
i want to know whether its possible to change the local settings manager of flash programatically?. Earlier when the global settings manager was there i changed the settings by directly editing the .sol file? Will the same work now?
View 1 Replieshow do change the settings of a flash movie so that it's default will be on medium or low?
View 1 RepliesIs it possible to change the publish settings - specifically, the file path and name of the exported swf - using Actionscript? Or must they always be set in the Publish Settings dialogue box? Nothing I've seen indicates it can be done, but I thought I'd make sure.
View 7 RepliesI have created a finite menu and it works fine, the only problem is that now I want to have the menu set to 50% alpha and when the user moves the mouse over the menu it gradually increases to 100%
View 14 RepliesI am trying to dynamically change the alpha value of a set of movieclips on a timer. The timer works but I get an error message from the function. This is the error:
TypeError: Error #1010: A term is undefined and has no properties. at piedacoulisse_timer_fla:MainTimeline/zoom/piedacoulisse_timer_fla:onT ime()[piedacoulisse_timer_fla.MainTimeline::frame1:124] at
[Code].....
Im very new in the flash business and i started making a gallery after this videoi get 2 errors when i write te action code for alpha change. Is it because i use ActionScript3 instead of 2? because i made it with flash CS3.
View 8 RepliesBasically, I want to change the alpha value on my movieclip. I start my mc with an alpha of .08 (8%).
mc.alpha = .08;
What I then want to do is increment it to .9 (90%) and when it hits that, decrement it back to .08, and then when it hits that, increment it again to .9 etc.
I have tried
if(mc.alpha==.9){
mc.alpha -= .01;
}else{
mc.alpha += .01;
}
From what I understand you can change the alpha value of a textfield to be fully transparent. I would like to have chat output that fades after a while. I was wondering if there was a way to change just a portion of the string inside of a text field to transparent. The textColor does not have an alpha value. I could just use multiple text fields but I would like to avoid doing that if possible for efficiency sake.
View 1 RepliesI'm making a drawing API for my homepage. My homepage is exclusively created in Flash AS2... But I have a problem with my brush for the drawing API... I would like to change the opacity/alpha value of the brush, with keypress LEFT and RIGHT... But i can't get it to work!
Here is my code:
ActionScript Code:
lineThickness = 0;
selectedColor = "0x000000";
[Code]....
Ok. I am new again so I hope I am describing this correctly. I don't know the best way to do this but this is what I've dreamed up so far: I have a number of movie clips on my screen, all thumbnail sized images, each with an instance name (ex: tw_lifeoftheparty, tw_xmen, tw_xfiles, tw_diehard, etc.).
In each movieclip there are 2 layers: the thumbnail image(bottom layer) and a black border(top layer). The black border is an object named wk_border and isin each of the thumbnail movieclips.
I have given wk_border the same instance name in each thumbnail movieclip "border"
[Code]...
Let me try to explain what I'm doing. I have multiple movieClips (mc_aitkin, mc_anoka, there will be a lot more) on the stage that I want to change their alpha using data from an xml when it loads. I can isolate the info I want and trace it so it shows in output, but I'm not sure how to use it from there.
I've tried to convert the xml data to a number and do an if/else as shown below, but the only output I get is "not" (from a trace). So I'm guessing the if/else isn't recognizing the xml data as a number?
If I can resolve that, the next step will be to apply this function to the large number of mc's I'll have on the stage. Would that be with something like e.currentTarget.alpha = .5; ?? I don't think I can put it in the same changeAlpha function because there the property of 'e' would be undefined.[code]...