ActionScript 3.0 :: Allow The User To Modify This Mask?
Feb 22, 2012
I need to allow the user to modify this mask. They need to be able to use a 'brush', to either add to or subtract from the mask.basically add or remove red.I have tried the mask as both vector and bitmap and haven't had much success with either.
View 4 Replies
Similar Posts:
Jan 28, 2006
i'm using this dynamic mask, originally coded by the canadian in an old thread, and i'm trying to get it to work in reverse (start with a full image and end with blank).
[Code]...
View 2 Replies
Mar 17, 2010
i have a situation whereby the user can upload an an image to my application. Then they can manipulate it by scaling etc. What I want to do now is allow them to change the tint/colour of their image, for the purpose of getting it to suit the other elements of the page better. Is there any simple/third party code to do this does anyone know? I'm picturing maybe a slider or something to tweak it.
View 1 Replies
Jul 22, 2009
Eventually I would like it to show our projects along a horizontal axis, when the user clicks an image additional images and text is revealed. At the moment I have got the horizontal axis working with images loading in and separating into each project. Now I am trying to code it so that for every project a mask is loaded in with the height of the mask equaling the length of the pictures (which I think may need me to restructure my code). So that only the first image is shown.
The important code for this is:
function processXML(e:Event):void{
var myXML:XML = new XML(e.target.data);
xPos = 0;
yPos = myXML.@YPOSITION;
thumbWidth = myXML.@WIDTH;
thumbHeight = myXML.@HEIGHT;
[Code] .....
I'm not sure if i need to restructure the code so that for every project in the xml file it inserts the images of that project into a new movieclip, not sure how to do that though.
View 1 Replies
Sep 10, 2010
I have a startDrag function set up on a loader and mask that when the mouse is down on the loader it drags, when not it doesn't. There is also 2 buttons that control whether mask1 or mask2 is used. What i would like however is when the mouse is down - the area of the loader outside of the mask is visible but only by about 10/20% alpha, that way the user can see where all the image is while dragging. Is this possible? Full code can be seen below and i have attached the zip with the .fla file:
[Code]...
View 2 Replies
Aug 19, 2003
what i am doing is to make something along the lines of the "scriptable mask" tutorial Inigo was kind enough to put up.My idea is to have a large mask behind the whole of my flash site, this masks a colour image with a black & white one (nothing tricky). The image I am using is actually 5 separate images combined, and each is a pic of certain parts of the site.I also have a very basic set of buttons along the bottom... each corresponding to each section.
All I want is to set it up so that when I mouse over the buttons, the _x of the mask moves to correspond with the correct image... really very basic... or so I thought .If anything it should be easier to do than what is in Inigo's tut (where he uses the _x of the mouse to move the mask)... i just cant seem to get it to work with a nice easing effect (its easy to get the mask to simply snap to each coordinate, but I need it to smoothly move).
View 4 Replies
Dec 4, 2009
maybe point me towards a better way to mask. png file is way too big. I have been using the mask layer option to create my own mask around a jpg image by drawing around it on the mask layer. There has to be a fetter and faster way to do this. Is it possible to maybe have a specific color range have an alpha value of 0. Similar to green screening whereas If I put the item I want to clip on a green background flash will auto take out the green for me. and by auto I mean action script maybe. I think this can be done but im not finding it.
how are these guys clipping these images [URL] they have the movie clips set up where the black background on the 3 layers of shoes is getting masked out. When I go into the shoe movie clips I see there is a black background but it just disappears when I go back to main timeline.
View 3 Replies
Apr 8, 2010
ive gotten one movie clip to mask another in the actions frame but i cant seem to be able to mask the flames which are a shape with a movieclip in this as file. im not getting any errors but the mask isnt covering anything look near the bottom at s.mask=mask_mc; there are about 20 "s" shapes spawning per second if that has anything to do with it
Code:
//this package turns an mc into a flaming button that calls a javascript function
package
{
import flash.display.MovieClip;
[Code].....
View 3 Replies
Nov 26, 2009
I was wondering if its possible to mask multiple MC or Sprites under one mask, when using AS3.abc.mask = a;cba.mask = a;something like that
View 2 Replies
Jun 25, 2009
It is possible to make file transfer from air application via server?I think need to create like byte array streaming or somethink like this from sender and write the destination file on receiver user pc.
View 2 Replies
Mar 14, 2010
I wonder wether on a website like chatroulette for example, the streaming video is going directly from user to user or wether it is going through a server.
In other words I wonder wether it is possible to offer a webcam service on a website, so that the streaming video goes directly from user to user, without overloading the system.
View 1 Replies
Apr 17, 2011
is it possible in actionscript for the user to type in a box from a keyboard like a user input text box..
View 3 Replies
Feb 22, 2011
We have a sort of game, generated with Flash in AS3, on our website where the reader is invited to eliminate the California Budget Deficit. It's connected to a database where we keep track of the responses and print them in chart form and post the results on the website so everyone can see the most popular budget items the readers want to cut.
See the interactive in question here:
[URL]
We've had many, many requests to have an option where the reader can get a copy of his/her choices that he/she can print out. I've thought about having a movieclip pop up that shows those choices (and that would be simple enough), but in addition to that, what I'd really like to do is have a way to download those choices to the reader's computer as a text file or maybe have a "Print" button on the movieclip showing the choices that would print just that movieclip. The database we have wouldn't really be suitable because it's set up to simply show which were chosen and which not, and the names of the submissions and choices are variables that don't really mean anything except to us when we put it all in an excel file.
View 1 Replies
Feb 25, 2009
I have some text that says go to page with a input textfield box and a go button. This is a flash cs4 file.I want to have the user input the page number and have it go to that frame.I am using actionscript 3.0 and have bought 4 books and researched online and still can't find what I am looking for.I can make the go button go to whatever page I want I just don't know how to get the information the user put in the box.
View 2 Replies
Nov 8, 2009
Id like to find a gallery with user sign in , and user uploads but how difficult would it be to put in a gallery component ,and make a button to allow users to upload straight to a folder on the server? once th epicture is on the server the gallery will do the rest auto
View 1 Replies
Jul 2, 2010
For one of my projects I need users to be able to communicate with each other in an audio mode. The thing I'm concerned about is the scalability of the project if it even gets big in terms of bandwidth consumption.
What are the alternatives to passing the audio through my server to the users?Is it possible to create a link between two users so they can exchange their stream of data (audio in this case) so that it doesn't pass through me, while still being able to control the time they've been connected to each other and some other information?
As for now it's just an idea I have in mind but I don't really know what to look into. I think it will probably need to be some plugin dependant solution so that's why I tagged the question like that.
I'm not looking for a concrete solution, just a little push in the right direction from someone who has been through something similar.
View 1 Replies
Sep 9, 2009
I am a beginner and I have made an animation that consists of 4 Movie-Clip symbols (3 have motion tweens). I created it as a place holder for an upcoming website that I am designing. I am trying to select all 4 layers on my stage and convert everything into a single movie clip. I don't know what I am doing wrong.[code]....
View 5 Replies
Sep 22, 2011
I'm trying to tell my customers how to modify FMS 4.5 so they can use the scripts as I have posted in a previous thread(let me know if you need furthur clarification). However customers and I are concearned that if we take FMS 3.5 files and put them on FMS 4.5 that we will break their TOS/Liscense Agreement.
View 3 Replies
Dec 3, 2009
Is it possible to load an ActionScript 3 SWF and interact with it, for example by replacing some of its functions or editing variables? Similar to how it's possible in .NET using reflection and code generation. I'm looking to add an extra layer of functionality over an existing 3rd-party AS3 app.
View 3 Replies
Oct 24, 2009
i have seen many events where we import xml data to flash and display them but is thier a way to modify the data in a xml using flash ?
Code:
<catalog>
<book id="bk101">
<author>Gambardella, Matthew</author>
[Code].....
the above is a xml about a book... will flash be able to read and modify the data in this xml ?
View 4 Replies
Aug 28, 2009
Why my hitTest is not working and how to modify the same in Menu1 to make it to work.
View 1 Replies
Aug 13, 2009
in altering this code so that it will support CDATA in my XML file? I am in desperate need of assistance. I have no idea where to begin. I have also included a zip file with the fla and associated XML file.
[Code]...
View 21 Replies
Dec 16, 2010
have a website that I have to modify. It is entirely built with flash. The problem is that I do not have the fla files. So I have two options: either using a special program which converts the swf into a fla file or build the website with the changes from scratch.
View 1 Replies
May 10, 2010
I am trying to modify a .fla file with flash cs3.When open it, the file does not play or look like it should.All I need to do is change the links within the file (which I did easily) but still the file doesnt look right.I got a developer friend to also try it and he had the same problem.This is the site on a testing urlAnd this is a link to the actual .fla file that can be downloaded:Is it perhaps because the file was made in a program other than flash?
View 4 Replies
Jun 21, 2010
with the option to modify or edit a .swf file?
View 3 Replies
Aug 27, 2010
I try to modify ncmanager file. (I want add parameter when connect method is called). I've edited this file but nothing happens in my application. After two hours of headacke, I delete NCManager (I've made a copy on my USB key).I try to place a FLVPlayback on my scene : no problem ! I can place it, but it does'nt work as I want.So I discover that even I try to change NCManager, this file isn't read.I need help to understand what I must do when I modify these file. Should I have to put it somewhere ? must I compile them and how ?
View 14 Replies
Nov 15, 2010
I notice in flash the Modify > Arrange option seems to be buggy and work only sometimes. I have a few shapes on the same layer and wanted to arrange them on top of each other in different order and it doesn't work... The shapes were created with shape tool and pen too as drawing objects.
I would have to go the extreme, either I would have recreate the shape to be recognized by the program or cut and paste into a new layer and transfer back down to the single layered that was needed. illustrator has the exact same option with no problems.
View 2 Replies
Dec 17, 2010
My Flash crashes immediately when I click on the menu Modify/Document. It goes in idle and after some seconds on the top left software frame comes "(Not Responding)" and I then can only close Flash..
View 1 Replies
Oct 23, 2009
so I have a lot of classes in actionscript 2. But I need to modify my application to use the soundchannel object for audio monitoring. as far as i know this is only in actionscript 3. so it it possible to write one class in AS3 and leave the rest in AS2?
if not is there a conversion tool which can make the process easier?
View 2 Replies
Feb 16, 2010
I have a form that is written in MXML that allows a user to create/add a User.I need to add a form that allows a user to modify SOME but NOT ALL of the fields for this user.The forms are so similar, I don't want to have to create two separate forms, one for Add and one for Modify.For example, in the Add form, the user specifies a user id. In the Modify form, the "user id" field is not editable.I'm wondering how I can initialize the MXML form (i.e. pass in a parameter?) so that it knows whether it is in the Add state or the Modif state.I know I can't do the following but this is what I would like to do (pseudocode):[code]
View 1 Replies