ActionScript 3.0 :: Only Happens With The Colour White?
Jan 21, 2010Why does this not work?
Code:
package
{
[code]......
Why does this not work?
Code:
package
{
[code]......
I have a bitmap and it set to black and white using a colorMatrixFilter. Im trying to create an effect that will tween the bitmap from black and white to colour.
View 5 RepliesI am trying to load a colour image and then it is changed to black and white image. Here I am using a mask. But it is not getting worked. The code that i am using for this purpose is attached following: import
[Code]...
How should vector artwork be drawn in Freehand so that white details sitting over a blue base are still readable when alpha of e.g. 50% is applied in Flash 8 ? In Freehand 9 I created a logo. Logo has an rgb mix blue base rectangle and rgb white drawn shapes on top. I also drew over the text and gave it the rgb blue as a fill with line none. That sits on top of one of the white shapes.
[Code]...
I want to create a flash document that allows me to change the colous of an image using a colour palette of my own. I am a complete beginner and have no idea where to start this, hence i would need to know what to do and how to do it. I basically want the image to be a simple 2d image that i will create using different layers in photoshop and import them into flash, the layer images will all be one colour so the colour of the whole layer changes. so the colour palette will be on the side of this and when i click on an image and then a colour the image changes to the colour i clicked.
View 3 RepliesI am parsing colour codes that I get from a Flex(Flash ActionScript) application, then creating HTML div elements with that same colour. My Problem: The colours are all only 8 digits long. So they cant be RGB colour values can they? What color value format are they in? If I can figure the format they are in I can convert them to RGB. Maybe the last/first digit signifies its 0. alpha value?
PS: Should I convert the colours to RGB or something else?
This is an example of the colour code values I getting from the flash application:
i have a background and i want to be able to change the colours of it using a colour picker... if the MC was to cover the whole stage... how could i then get a colour picker and make it so it would change to whatever colour i wanted from the colour picker?
View 5 RepliesI'd like to be able to click on each of the buttons and have the background color change and also have its color name loaded in the dynamic text field. E.g. Clicking the white square would change the background color to white and should also display the text ''white'' in the dynamic text box. I've sorted out the colour changing part with the following code:
[Code]...
I need to change all the elements in my movie that have the color X and change their color to color Y. Is it possible to have this in AS? like, if i press one button all the elements that have the color black (graphic, text, background, etc) change their color to yellow?
View 1 Repliesdo anyone know why there is a white box of flash when u open a flash website? from my understanding i thought that was bcause the SWF file is trying to load but it still even show before the preloader. does that mean that even the preloader is too heavy to load itself?
View 9 RepliesI looked for similar questions on the forum, but couldn't find a reference. This is likely an inane question (with a simple answer), but here goes.I have created slideshows for a site with a blue background. In quick succession, the page loads, a white box appears where the swf will play, and then the Flash movie starts. The background color of the Flash file matches the background color of the site. How do I get rid of the white box that appears beforehand?
View 2 RepliesBelow I have set up a movieclip and now I want to set the colour
Code:
this.attachMovie("bgimg","bgimg_mc",this.getNextHighestDepth());
bgimg_mc._x = 10;
bgimg_mc._y = 96;
I dont want to tween the colour just set it something like Code: bgimg_mc._colour = #ffffff I know that's not how to do it but you get what I mean from that.
I loaded a page on the server and is not showing up the flash object. You can hover the screen and you know the object is there but is showing a white box. Locally in my computer I can see it. The test page is [URL]
View 2 RepliesHere is the site. Works fine in all browsers, but firefox.[url]...
There is a two inch white gap on the top in firefox. I have tried everything, below is my html code. I'm using swfObject.[code]...
This is a combined Dreamweaver/Flash question. I have added to a webpage a flash movie, once I navigate away from that page and then back again I get a white flash when the Flash movie page loads. I have looked through the forum history and tried some various fixes, such as changing the .swf's background color, didn't work, add code in dreamweaver which embeds a darker color, nada.
View 5 RepliesI have an animation, when i preview it looks fine, but when i use the timeline to scroll through the animation (and when i export as .avi) - there's this strange white bar over the text! I have tried to remove the object from the library, but then the text disappears (also when i preview)
If you wonna check it out, the .fla file is here (5mb) : [URL]
if you go to [URL] they've got this animation on the home page where some guy in tie walks into frame surrounded by nothing by empty white.. how do you do that? Film against a white background?
View 1 RepliesBasically when I just run the swf file locally from my computer it works perfectly, I have succesfully managed to embed it into the home page of one of my sites... [URL] - it is about 3/4 of the way down the home page. Now I have also managed to embed it on another one of my sites just as a test file and it works fine on its Html page... [URL].. So I feel rather confident that it is not a problem with my code.
Now when one of our advertisers try to put it on their site it simply will not show - just a blank white box shows - now even if I send them the exact code that we use and even have tried linking it to one of the sites (digitalbarn.ca) that it was previously working on. Nothing seems to work, this is my first stint into flash so it is possible it is a coding error on my end but for me to be able to get it to work on two sites seems to baffle me.
[Code]...
I have a web design for a client that was pretty much complete. They decided that they wanted to replace one of the graphics with a flash animation. When I added the swf file to the layout in Dreamweaver it apparently is adding some space around the swf which breaks the rest of the design. It looks to be about 4 pixels or so of space that is getting added. I experimented with padding, margins, borders on every element in the design. I tried changing the Scale parameter of the swf to "no border" and "exact fit". I tried enclosing the elements in a table. To simplify things I created a new blank page in Dreamweaver and added the two elements that are giving me grief. The original width of the design was 792.
On the top I had 2 graphics, the first was 212 wide and the second was 580 wide. The first graphic is the one that got replaced with the swf file. The swf is also 212 wide. But for some reason there is that extra space on the right side of the swf that forces the second graphic to the next line. You can see the example here: [URL]. This shows what happens when the original graphic was replaced with the swf. (The swf doesn't do anything as I actually replaced the client's swf with one I made that has the original graphic as the only item in the movie). If you look here: [URL]. I changed the width of the second graphic to 574 wide. That kept the graphic on the same line, but you can clearly see that the swf has the unwanted space to the right.
URL...The problem is with the flash banner at the top. It was created with a utility for creating banners and displays in firefox without any problems. In IE 8 there is white space to the right and I cannot get rid of it anyhow.
View 5 RepliesI'm publishing both locally as swf and win projector files, but upon publishing one returns this error: Warning: No libraries were linked as Runtime Shared Libraries (RSLs) because of your publish settings: Windows Projector. Now the exe file works fine but not the swf it provides a white screen with black dots. Don't know why one file is fine (the other project) and only the exe of the other all work, and the swf gives me the white box.
View 6 RepliesI have written, based on some internet tutorials, a simple header for my website to display a slide show of images. I have set my animation dimensions to 845x295, the same as each of my images. The DIV tag I then embed this into is set to the same dimensions but when the animation runs I get a white border down the right and across the bottom.
View 1 Repliesi have a few rectangles and text fields that i have in my library but i exported them through actionscript. All i want to know id how do i set the rectangle behind the text fields.And i also want to know how i can set the colour of the stage
View 3 RepliesI have a psd that is to be the background of a flash site that i'm working on. I've tried every combination of exporting from photoshop and flash but the end result (in the browser) is always significantly brighter.Does anyone know what the best prossess for keeping the colour of imported raster content accurate in swf while keeping the size moderate?
View 1 RepliesCurrently I skin videos with Steel External no volume. However my client wants a lighter grey, not as light as Mojhave but lighter than steel. I wonder if anyone knows if I can get other coloured flash skins (just the basic ones) from anywhere. Im happy to purchase but all I can find are fancy skins rather than just more variety of the standard skins.
View 1 RepliesI'm having a problem I haven't seen before with a Flash application I'm working on. I have attached two images of a part of the screen: one is taken with 16 bit color setting and the other with 32 bits. The texts are standard dynamic text fields.when i view the app at 32 bits all colors seem to be OK, but when I set it at 16 the textboxes seem to have a different background color, even though it's set to transparent!
View 1 RepliesI have this code in a function to change the colour of a mc called Tab1. It works fine. But when the mc is tweened it doesn't move. If I don't change it's colour with this function it tweens fine. What have I done wrong?
[Code]...
I want to take the colour of a certain pixel in a movieclip and make the colour of another movieclip that colour. How do I do that?
View 1 RepliesIs there a way of tweening colour using actionscript. Like you would using an alpha fade but using color instead.Say I have a button that once pushed it turns a square from orange to blue, but gradually fading.
View 3 RepliesI have buttons with black text. The buttons (not the text) change colour to red when you rollover them. I can't seem to work out how to get the colour to stay red when it's clicked. Do I make a duplicate symbol which is already red to replace it when clicked? And I'm also unsure of the actions I'm supposed to use if any??
View 1 Replies