Filled Colour As A Variable / Setting Layer To Not Block Content Underneath?

Dec 10, 2009

I wonder if it's possible to take the filled colour (filled with myColor.setRGB(0x993366); like a colouring style) and set the colour filled to be a value of a variable in an if statement? if yes, anyone know how to do it?and is it possible to set a layer's content so that it does not block any button underneath it? I'm trying use that movie as a mask but I do not want it to block any activity underneath it. or is it better to use the myMovieClip .setMask (maskMovieClip)I only need the masking to appear when a specific button is pressed.

View 8 Replies


Similar Posts:


How Are Buttons Working Underneath A Layer

Dec 3, 2009

I am really struggling, I have some buttons on layer 0 I then have a pop up box on layer 1 that covers the buttons. However the buttons are still active underneath.

View 9 Replies

ActionScript 3.0 :: Stage3D - Put Movieclips And Sprites Underneath The 3D Layer?

Oct 6, 2011

Is it completely impossible to put movieclips and sprites underneath the 3D layer?Eg, you can't load a swf with 3D content and show it on top?

View 7 Replies

How To Make A Layer Block Buttons Below It

Jun 8, 2009

ok i'll try and explain this best i can, on my site i have a menu that takes up the whole of the content area.. the plan is that when the user clicks the menu button within a content page the menu would appear over the top however with a slightly transparent background so you can still see the last visible content page in the layer underneath.. i've got this to work however the buttons within the content page are still active.. is there a way i can make the menu layer 'solid' so the content below is only visible but not accessible?

View 5 Replies

Professional :: Collapse Multiply Layers With Different Transparency Into A Single Solid Filled Layer

Jun 3, 2010

i want to collapse a complex scene with all different layers and different transparency into a single layer (or as few as possible) to optimize the flash file for online (were experince proformance issues). I have tried the combine and manually copying pasting into one layer but it cuts the fill below and replace with transparent fill. I want to have a end file that is 100% solid.

View 1 Replies

ActionScript 2.0 :: TextFields Filled With XML Data - Setting Margins

Aug 18, 2011

I have a movie in which I created several boxes with textFields inside (they are filled with some xml data). The thing is, I have to set them in place within the box, but I don't how to get rid of the space up and down the text (with a autosize true textfield). Here is an image [URL]. I would like to have the same margin top and bottom, as the the margin right and left...

Code:
for (var i=0;
i<(newsletters[target_mc.num].length-1); i++) {
var txt_mc:MovieClip = target_mc.txt_mc.createEmptyMovieClip("txt"+i+"_mc", target_mc.txt_mc.getNextHighestDepth());
[Code] .....

View 2 Replies

Professional :: Change The Drawing Setting To Show The Objects Filled?

Apr 30, 2011

When I create drawing shapes I cant see any color or fill. I know there is a setting that need to be changed so I can see them. Here is a pick of what is happening on my screen

View 2 Replies

ActionScript 2.0 :: Content Of The MC Clip Filled Dynamically?

Oct 11, 2004

In the attached (Flash MX 2004 professional) .fla you'll find a reasonably basic scroller that i can't get to work properly. The advanced part of it is that the content of the MC clip that is to be scrolled up and down is filled dynamically based on the number of items it needs to display. In this demo the number is set but this will eventually be data from an XML file. the trouble is that altough the MC scrolls one screen at a time (using setinterval and an easing function) it loses track of the correct start and end positions after one or two screens. Please take a look and see what the trouble could be. Don't mind the design (there isn't any) it's just a test of the functionality. This little code snippet shows how i did the down button for instance:


[code]...

View 2 Replies

ActionScript 3.0 :: BitmapData To Copy Content Underneath Flash?

Apr 14, 2009

I am trying to make a flash file that has wmode=transparent that takes up 100% width and height of the browser. I need to take a copy of the contents underneath the flash (the HTML page its floated over) and use that BitmapData to manipulate the content visually.

View 2 Replies

Professional :: Flash Block Out Page Content?

Sep 7, 2011

if there is a way to allow the page content to still be clickable with a flash animation the size of the webpage over it. I have a flash animation the size of my page that is a loading wave that drops to the bottom of the page after a few seconds but even though its dropped and the page content is visible.. i cannot click anything.

View 2 Replies

ActionScript 3.0 :: Setting Internal Colour Of An Mc To A Gradient?

Jul 8, 2009

I was wondering whether or not it is possible to change the colour of a pre-existing mc to a gradient?

View 1 Replies

ActionScript 2.0 :: Add The BlockOneUp Variable To The _root.Block?

Jun 15, 2008

I need some help with some variable problems. (AS2)

Code:
if (_root.Block+blockUpOne.dead == false) {
surroundingBlocks++;
}
I'm targeting a duplicated mc from another duplicated mc. The 'blockUpOne' is the variable of the number on the end of the duplicated mc (the "i" variable when the mc was created 20, the amount of blocks in the grid across). Basically I'm trying to target a block on top of the one with the code on. I need to add the blockOneUp variable to the _root.Block to made a string which targets a duplicated mc above the one with the code. Even more basically, I want to target an mc by adding a variable to the targeting code.

Example:
Block above: Block34
Block with code: Block54
if(_root.Block+(54-20) is alive){
do stuff
}

View 9 Replies

Move Content Of Entire Layer?

Mar 14, 2000

I've got a layer full of keyframes. It's basically a circle that turns on/off, flashes, whatever,using motion tweens, but most importantly, it has a defined position on the canvasI'd like to place it in another spot, but when I try to select the whole layer and move it, it moves only the keyframe located below the playhead(I think that's what it's called), which won't do me any good.

View 14 Replies

Lower Layer Content Showing Above Upper Ones

Jul 23, 2010

I have two layers in my flash cs4. Lower layer contains pink color random brush strokes. The upper layer contains black rectangle. I am able to see the pink color brush strokes through my black rectangle as if I have reduced the alpha of the rectangle?

View 2 Replies

CS3 Variable To Line Colour Conundrum?

Mar 8, 2011

He doesn't do much, just an integer what adopts a value between 0-100. I also have a line drawing function. He does lots of things and draws lots of pretty lines. All in just one colour mind.I'd like to be able to change that colour based upon the value of 'n', but I don't know how to convert this integer into the 0x000000-0xFFFFFF format used by linestyle. I can scale and convert 0-100 into a hex string but I'm stumped at how to prepend 0x to the string and how to use this within linestyle...Here's what I have so far....

//rgb = n*16777215/100;
//hex = rgb.toString(16);
//mcImage.lineStyle(1, 0x000000, 100, true, "normal", "none");

[code].....

View 2 Replies

Tabbed Website Content - Contact Layer Covered Up

Jul 17, 2009

I am currently designing a website for a fiend and would like to make the content of the website tabbed. What I mean by this is I would like the visitors to click on a tab (e.g. Contact) and the tab would slide out with the appropriate information inside. Okay so that part is easy, the problem I am having is that when one tab slides out all of the tabs on layers below the contact layer get covered up. I would still like for all of the other tabs to be visible. I would like for all of the tabs to slide out as if they were behind all of the other tabs.
The link is: [URL]

View 2 Replies

Actionscript 2.0 :: Get Vertical Dynamic Text Block By Setting To Vertical And Then To Dynamic

Jun 17, 2009

i found i can get vertical dynamic text block by setting to vertical and then to dynamic. But, then it ends up being horizontal, and if inside a clip, only the letters over another item in clip show. Like veritcal text on a vertical bar gives only the 1 or 2 letters that fit across bar, rest truncated. i've tried embedding text to get this far, but still doesn't work 'all the way' i see online they talk about all scripting for dynamic, vertical text; is that necessary, or am i missing something??

View 1 Replies

How Does The Flash Layer Interact With The Flex Layer In A Multiple Layer Design

Aug 26, 2011

Don't know if the flash layer on the view stack contain only the compiled flash swf file

View 1 Replies

Flex :: Setting Content Area In Custom Component?

Dec 11, 2009

I am trying to define the content area of a custom component that extends mx:VBox. The component has predefined headers and footers (visual children) and I want to set the area in the middle for adding children to the component. The component will be used like this:

<custom_component>
<mx:button/>
</custom_component>

How would I set this content area?

View 3 Replies

Flex :: Setting JSON Content Type On HTTPService?

Nov 16, 2010

I am trying to set the json content type on httpservice to make REST service return the json data. When I add the content type in fiddler all works fine so the problem lays in flex application, not in the web-service. But the code below does not work and I get the xml data instead of json.

mxml:
<s:HTTPService id="service" method="POST" url="server.com" result="loaded(event)" fault="fault(event)" useProxy="false" resultFormat="text">

Actionscript:
public function loadAllSamples():void {
service.contentType = "application/json";
service.send('something');
}

View 2 Replies

Actionscript 3.0 :: Setting "Z" Or Layer Position When Loading External Swf?

Oct 31, 2008

I've been using the loader class to import external swf files when I need them. I can position them on the screen where I need them using the:

loader_var.x
and
loader_var.y properties

However something that seems to stump me is how to position the loaded content below other content in the movie. I tried making the layer where I was actually calling my external file below the other layers and yet when I export the Flash movie the clip that I'm importing at run time always ends up on top of every thing. Is there a way to specify which objects imported media comes in above or below?

View 5 Replies

Flex :: Setting Up Content Children For Custom Mxml Component

Dec 9, 2009

I am trying to develop a custom component to act as a divider.

[Code]....

I would like to use this component to assign objects like this:

[Code]...

Unfortunately, this does not work. I get a compiler error saying: In initializer for 'left': multiple initializer values for target type mx.containers.Canvas.

View 1 Replies

ActionScript 3.0 :: Can't Accses "block" Movie Clip Which's Added From The Fla Files And Given An Instance Name As "block"

Dec 31, 2010

So i have an external as file which have a function. the function make the movie clip do something when it hit another object which i named "block."

but the external as file can't accses "block" movie clip which's added from the fla files and given an instance name as "block".

View 4 Replies

Professional :: Create Document To Change Colour Of Certain Graphics Using Own Colour Palette

Jul 14, 2010

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 Replies

Flash :: Colour Format/Encoding Are These Colour Values In?

Oct 31, 2011

I 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:

View 1 Replies

Actionscript 3 :: Setting The Stage To Scroll Horizontally Left Or Right To Show Content When Button Is Clicked?

Mar 10, 2012

I want to create a flash site where I have a long horizontal movie clip split into about five sections, each about 960px wide. The effect I want to achieve is when the user clicks on the button it will scroll horizontally to the specific section of the flash project. For example, if your on the home page and you click on the contact the movieclip will tween to the right until it reached the contact section of the long movieclip. And I also want it where if the user clicks on the home it'll scroll back to the home page. I can't seem to accomplish. I tried positioning with the x property and move right so many pixels. I'm thinking about setting like some coordinates or some kinds of reference points so when the button is clicked it will go to those specific points in the stage.

View 1 Replies

ActionScript 3.0 :: Changing Colour Of A MC With A Colour Picker?

Aug 17, 2009

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 Replies

Setting A Variable With A Checkbox?

Dec 18, 2009

I can't figure out how to set a boolean variable to 'true' if someone clicks a checkbox. Help, please. I'm working on AS2, btw.

View 1 Replies

ActionScript 2.0 :: Setting A Component Variable

Mar 23, 2009

How do I set/access the "Text File" variable as shown in the two pictures. _root and _global don't work.I also tried to access it from _root.CrosswordPuzzle.cp_words_textfile.I don't get components.

View 1 Replies

ActionScript 2.0 :: Setting A Range Variable

Nov 21, 2009

[Code]....

What I am trying to do is create a root variable that can simultaneously equal a range of numbers. But I cant use the for command because the variable it will assign will only be confined to those brackets and can only be pulled from code inside the brackets

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved