I have found an example which should show things better. It is here [URL]
Basically, on that stage, they have several movie clip objects..One for the actual card, one to hold the components, one to perform actions etc. When you drag and drop items to create your card, you can then send it via email. However, what is sent is only the card part of the whole stage, not the parts which hold the components and actions. So, they basically send one movie clip component of the whole stage, rather than everything which is on the stage.
I am facing some issues sending byteArray as part of my URLRequest data to a cfm page.I need to send an collection of objects as part of byteArray.But when i try doing so,i get illegalArgumentException.I am doing it this way
var obj:Object=new Object(); obj.name='Mike'; obj.age='26'; var byteA:ByteArray=new ByteArray();
[Code].....
Secondly when i tried sending xml obj as part of ByteArray,It worked fine ,but i get unwanted characters appended at the start and end of the xml.
I have created an animation (see attached) where the stage can be dragged from left to right to reveal hidden areas off the edge of the stage. Unfortunately I need to add buttons containing links to websites within the dragable movie symbol and I can't work out how to do it.
i'm using jpeg encoder script. in the script example, a movie clip is converted to jpeg. differently i want to convert the stage but only some part of it such as x:320-500, y:0-600. is it possible?
They show their work as the page�s background which can be resize with the browser window, but their navigation always stays the same.I know how to achieve the resizing effect, but it resizes the whole stage including navigation.
I would like to know how to achieve an effect like in Flash Element TD 2 http:[url]....when you select a tower or a creep you can see a real time zoom of what you select on the right side panel.
Is it possible to use copyPixels to capture part of the stage directly into a bitmapData object?
Just wondering because in my situation using captureBitmapData.draw(stage, matrix); is causing performance problems, even without the matrix. I read that copyPixels is fast so I was wondering if there's a trick to use that directly on the stage without the draw part.
What I'm essentially doing is screen capturing a part of the stage and putting it in a a window, using a loop to update it over time since it contains animation. Works great in one of my FLAs, but chugs in the other so looking to optimize the code to a bare minimum.
I think the title tells it all, but just incase, I will clarify. Is it possible to copy part of the stage to the clipboard in order to paste that into an email or word document.
I need this as an option to the user, not during publishing... So basically, a button on stage that copies a specific area/coordinates.
I have a question, not necessarily about coding, but about setting up a file. I want to create an expandable ad, but I don't know how they work. Do I make the stage the size of the expanded part? How do I only have the unexpanded part act as though it is a different, smaller size.
i have a menu which has 10 items. there are sub menus for each of them. the submenus total to 40 items. and when i click on ech of these submenus, then i need an image to appear on a part of the stage. Now, I need the same effect for ech of the image. Say when i click on the 1st submenu of the 1st main menu, the image of an apple comes from the bottom the stage to the centre of the stage.
Now when I click on any other submenu - say 1st submenu of the 3rd main menu, this apple image should go off the stage from the top and an image of mango should appear from the bottom of the stage to the centre of the stage (same as how apple image appeared). So, basically, i need any image to come from the bottom of the stage to centre of the screen and whn a diff image is calld, the image on the screen shld go off frm centre to the top.
I have a few functions inside one of my objects (in this case, a box with code within it to let it become draggable.) However, I have this inside the box code:
Code: function onComplete (event:Event):void { var resultVar:URLVariables = new URLVariables( event.target.data ); if(resultVar.resultCheck == 1) { saveresult_txt.text = "Save complete!";
[Code]...
This is because saveresult_txt.text is actually on the stage and not within the box element itself. How would I go about sending the text directly to the box on the stage?.
I would like to take a "screenshot" of the stage within flash and send it as an image by email. I have tried AMFPHP and the method described here - [URL]. This is saving a jpg of a movie on the server, but no email function. I know how to setup a very simple php email file but without attachment. So my problem is I have no idea how to "connect" all those parts together and make it so that when you click the button in flash it'll send the jpg by email directly.
I've found myself in a tricky place, I've built an app that loads in swfs as external libraries so they can easily be changed at run time, all works well. I now need to separate the code from the art in these libraries so that external developers can change the art without getting their mitts on the code. Trouble is to do this my new code only library elements will need access to my overall manager class, which is the main document class, so that they can access the library manager class to add the appropriate art assets to themselves.
Now there's a couple of clumsy solutions I've thought of:
1, Store a manager class reference in a static var but that seems like a cop out.
2, Go through a few hundred thousand lines of code and alter every instantiation of a library element to include a manager reference - erm, let's not go there.
3, Have the library element send a custom event to the stage from its constructor which passes a return handler to the event listener so that can pass back a manager reference. Sounded like genius initially up until I realised that at constructor stage the library element won't be on the display list so can't bubble up to the stage
But I have this error: TypeError: Error #1007: Tentativa de instanciao em um no-construtor. at testeMenu_fla::MainTimeline/teste() Here my .fla: [URL] My question is: how to convert a e:Event in MovieClip?
Ok perhaps ive bitten off too much here...I know you are not supposed to parse xml/html to regex but the thing is there just arent many other options.Im using AS3.im parsing the source of textflowlayout text to a different format.
string to parse :
< fontFamily=Verdana encoding=unicode fontWeight="bold"> some text < fontFamily=Verdana encoding=unicode > some text < fontFamily=Arial encoding=unicode fontStyle="italic"> some text < fontFamily=Arial encoding=unicode fontWeight="bold" fontStyle="italic"> some text
what i really need is:
< fontname=Verdanabold encoding=unicode> some text < fontname=Verdana encoding=unicode > some text < fontname=Arialitalic encoding=unicode > some text < fontname=Arialbolditalic encoding=unicode > some text
logically i think of it as taking apart the string into substrings
checking if there are fontWeight or fontStyle in the substring
if there is then appending the font name with the weight or style so so that the font name becomes font NameWeightStyle.then rebuilding the string.The font could be any font with variouse styles or weights..so far:
pattern = /<(.*?)>/gixsm; var matches:Object = pattern.exec(str); var finalstring:String = "";[code]...........
I need help figuring out how to add the PHP part, I have no idea about how to script it. I looked over some tutorials but I just don't understand it. I got this code from when I was in college, I used it before but I can't find the original PHPcode I used. It's for my website, just a simple email form with a name, email, and message
I am using a template that the buttons have actionscript in them already. I tried replacing "get url" with "gotoAndPlay" a certain frame. I need the button to go to frame 113 after i click on this button.
on (rollOver) { if (_root.link<>p) { gotoAndPlay("s1");
I'm constructing a site, at least I'm trying :P I made a part with photoshop but now I'm continuing in iweb because I thought oh it's ease to insert a photo page, because that's the only reason. I'm a little bit a noob in html and php and so on and also in flash so that was the solution at least that was wath I taught... :roll: this is how it looks in iweb:that is how it should look on the internet, it does as you can see here:but when I click on a picture to enlarge normally you should get a nice screen but I have this:As you can see that is a problem, everything moved and so on
Ok i have been making a website and i need to put a preloader in that loads my website. I have downloaded 3 different preloader and replaced the pic that they had in with my own and when i do that it either no longer works or it has a white screen until about 50% then it does work! WTH is going on??????
I have the attached image of a bioreactor. I want to animate the area marked with the red outline (and a cross) to be filled with a bluish transparent liquid. I am trying to create an animation for students to show how the residue in the bioreactor behaves and I have to show the animation in a real picture (cant draw).
I am needing to export portions of my timeline as separate .mov files. Exporting the entire thing at Best quality yields too big of a file. Does anyone know how to do this from within Flash pro?
And also is there a way to print a part of flash contents of maybe entirely compose the stuff (image that is) you give to printer.In my case i have a flash in which contains to pictures (basicaly even and odd page of a book) and other stuff. I want to add printing functionality. Also i want user to be able to choose what to print - whole flash, both pages or just one of them
I'm using Adobe Flash CS4 for the first time to try and make an animation set to music (like the opening scene of an anime). I need to listen to specific portions of the song so that I can match the timing of my animations.
I know that you can press Enter and it'll Play, but I don't know how to start listening to the music at the frame I want. I also don't know how to stop the music once it starts playing.
I also know I can do Ctrl+Enter to Test Movie, but that always starts playing my animation from the very beginning.
I want to know how to watch/listen to a specific part of the animation, without having to play it stop to finish.
I know there are softwares which can protect the swf files from decompilers; where the actionscript appears to be gibberish once decompiled. My question is is there any way i can make sure the swf catcher cant find the swf file to download?