ActionScript 3.0 :: Change The Scaling In Realtime?
Jul 2, 2009
my flash site is a full flash site...
Flash CS4 - AS3
swfObject2 / dynamic / embed
in default the scaling is "noscale" because i don't want to scale whether a bit the browser the full flash site... there is a button to go in fullscreen, that's works fine...
BUT
in the flash doc will be another button and WHEN the user wants it, click that button and the scaling changes in realtime without the browser reload the entire page... the button sets the scaling to "showall".
that's what i want... is it possible to change the scaling in realtime?
View 4 Replies
Similar Posts:
Mar 22, 2010
I would like to know if it is possible the speed that my movieclip scales. The reason is, in my game I have a number of fish that, when they hit a boundry area, their x scale changes so that they turn around. I would like to know if it is possible to change the speed, so that it looks more like it is turning.
View 4 Replies
Feb 12, 2010
I've tried using:
[Code]...
on frame 1, but they don't seem to work. I'm going to be putting this project on a CD and the client wants to make sure it will open centered on the user's screen, which has not been the case so far. It seems to open at different spots on different computers. They also want the title bar changed from "Adobe Flash Player 10" to their own title.
View 4 Replies
Feb 15, 2009
I have a container object that i add children to. I want to change the height & width of the container without the children scaling. In this case I draw a rectangle in flash which I'll use as the container object then export for AS.
[Code]...
View 5 Replies
Mar 11, 2008
I've search through all the threads with "scaling" and "resizing" and can't find the solution.
Basically I have a GUI element on a gallery that I don't want to scale, while the rest of the page is free to resize/scale.
I think I need to add a listener of some sort to the stage, but I'm not sure how to do this.
View 2 Replies
Feb 23, 2009
I'm building some navigation that extends all the way from left to right across my SWF. When the window resizes, I'd like the nav buttons to get wider but not have the text on the buttons get wider.
The buttons themselves are rectangles with a vertical gradient and a stroke around the outside. I'm using 9-slice scaling so the stroke doesn't scale, but the middle (gradient) gets wider or narrower.What'd be great is to be able to select an object or layer and say "don't scale, even if the rest of this movie clip scales". Is there a way to do that, or will I have to do it via actionscript?
View 1 Replies
Jun 11, 2010
I'm trying to print a mc which is bigger than the default page size. I want to change the page/margin size so the content can fit in the page without scaling. Per the API reference [URL] the page settings are readonly. How can I print something bigger than the default page size? Is it doable in AS2 or AS3?
View 2 Replies
May 20, 2010
i have a diagonal movieclip that I am trying to scale along with the background video. The background video scales perfect, I am attaching the diagonal movieclip (br in the code as bottomright) with addChild
Instead of scaling with the window, it seems to repeat such as the image is displaying. this is the main section of the code that is doing the scaling
var br:mc_bottomright = new mc_bottomright();
addChild(br);
//proportional scale
if ((stage.stageWidth / stage.stageHeight)> (owidth/oheight))
[code]....
View 4 Replies
Apr 10, 2009
I am trying to achieve an effect of scaling a movie clip on click...very similar to [URL] When the user clicks on See, Hear, Play and Shop boxes, the boxes expand. I have created a box movieclip that has a bar on top. This bar is a movie clip inside the box movieclip. When i try to scale the main box movieclip, the internal bar movie clip scales as well. How to stop this?
View 2 Replies
Apr 25, 2011
I heard of XMPP, websocket. I'm confused about what to use. For example let's say I'm a financial broker and distribute real time quotes to client platforms on the web and on desktop in Flash, .NET or PHP. What should I use ?
View 1 Replies
Jul 9, 2011
I want to make a flash game by actionscript. Now I want to get the real time weather in my game. But I don't understand how,about this.p/s: I'm Vietnamese, my English is not good. I hope all you understand properly.
View 3 Replies
Aug 14, 2009
I'm playing around with the new Sound API in flash player 10 and I managed to load a mp3 from HD, extract it's bytearray and let it play. While playing I can play around with the pitch in realtime.
Now I want to add distortion, bass and echo on the sound, the only thing is I'm not a music specialist. I don't know the mathematics behind the effects.
View 3 Replies
Apr 18, 2004
really sorry to bring this one up again. I've managed to create quite good working gallery. What I'm trying to now is create a menu that is attached to the scaling part but does not scale it self - in other words just changes position. here's an example of what I mean: galleru #1
View 14 Replies
Apr 18, 2004
What I'm trying to now is create a menu that is attached to the scaling part but does not scale it self - in other words just changes position. here's an example of what I mean: galleru #1
View 13 Replies
Sep 20, 2009
i am currently working on a audio visualizer in flash but is stuggling to get flash to detect sound off my onboard sound card. Is it even possible now with flash 10? Something like an audio fft but in flash.
View 4 Replies
Jan 5, 2011
I have some experience with FMS and Red5 development for simple online video publishing application, I am not sure if FMS is viable for my new application). Here is the requirement
1. I need record real-time video to disk file from a 8-way video-capture-card.(the card is supported by FMS). The recording procedure starts just after the system startup without any manul operation by user. In another words, I need the recording procedure start with the Windows automatically without interaction
2. If the answer to my first question is YES, then: If the FMS record videos from a 8-way video-capture-card, with 640pxX480px each way. What is the minimal requirement on the hardware? A machine with 2.0GHz CPU with 512MB, is it enough?
3. What is the best practice do you think to organization the 7x24 video record files?
View 3 Replies
Dec 24, 2009
var sound:Sound = new Sound();
var req:URLRequest = new URLRequest(url);
sound.load(url)
I want to modify the sound data (an mp3) as it comes in. Specifically, the mp3 will be encrypted using a stream cipher and I want to decrypt the data as it comes in. Is this possible using some type of event?
View 3 Replies
Dec 10, 2010
How can I use Flash AS 3.0 read realtime file.txt ?
View 1 Replies
Jul 27, 2011
I have a flex 4.5 application that uses a mx:VideoDisplay component to display the webcam. how can I add realtime effects to that VideoDisplay component? for example: changing colors, particle/grain looks, wave effects,
View 1 Replies
Aug 13, 2011
i want to make a real-time update for my flash application. Instead on making it refresh each 30secs, i would prefer the push technology. What is the best way to push data in Actionscript 3?
View 1 Replies
Oct 11, 2011
I need to implement a realtime connection between 2 or more players, that will play a Flash game. I've read that RTMFP is a good choice to make this connection the best possible (were best=less lag between actions), but, I am quite new to this kind of things, what documentation/tutorial/guide you think would be the best to get started and finally make a good implementation of RTMFP?
(Also, I read that there are differents servers or frameworks that provide the same, like Cirrus, Red5, etc, what pros and contras have this?, taking cost into account). I was reading the adobe documentation, there is an example too, but I'd love to see some more flash game based example, even a very basic one, so I can extend that functionality and start making tests. I got it working, now, I need to know how to make a webservice for the peer ID interconnection.
View 1 Replies
Oct 27, 2006
I have following issue: System.capabilities.screenResolutionX and System.capabilities.screenResolutionY doesnt seem to refresh realtime while the movie is playing and user changes the resolution of the desktop.Although this is somehow unprobable - that user will change resolution of the desktop while viewing websites - i would like to detect this user's action and resize the website content accordingly.
[Code]...
View 4 Replies
Mar 28, 2007
Any one know how to (or if it is possible) to send variables from flash to the url address bar in realtime ?
View 3 Replies
Jun 20, 2008
I was curious if anyone knows of any experiments or API's out there that would allow a user to control flash interaction/display etc...via voice or sound commands in realtime with their cell phone? Let me know.
View 7 Replies
Aug 11, 2010
I am a Wedding/Events Photographer/VideographerOne of my client want his events be live streamed over internet, I am quiet new for this type of jobas to what Software / Hardware I have to purchase for Live Streaming of Video over Internet.. and how it will encode in realtime.?
View 8 Replies
Nov 7, 2010
I'm about to build an OOP signup form in AS2 with realtime data validation. There are 3 fields 'Username', 'Password' and 'Email' and two of those will check with the server to see if the the username or email is taken. This is almost identical to the signup form on [URL] The way I've experimented with so far is to begin an onEnterFrame event on the textField as it receives focus. This onEnterFrame function checks for spelling, character count etc When the textField loses focus it then sends the data to the server and checks if it already exists. If it doesn't, it will validate. What I've written works rather well (up until the submitting - haven't worked that out yet) but the code is rather unwieldy and seems too long.
What is the best way to go about building this? Are onEnterFrame checkers the best way to go? Should the data send to the server onKillFocus? Should the submit button trigger all the onEnterFrame validation functions to run again (in case the user didn't wait for validation)
View 1 Replies
Feb 9, 2011
I'm trying to write a flash application which takes a Microphone stream and applies realtime effects and outputs this back to the speakers. I'm finding I'm having problems with stuttering when taking the output from the mic, copying this into a ByteArray amd then using a seperate
sound = new Sound();
sound.addEventListener(SampleDataEvent.SAMPLE_DATA, processSound);
sound.play();
to read from this ByteArray and play back the sound.I have noticed that the input from the mic's bytesAvailable changes, and also that the two events (the mic's SAMPLE_DATA and the sound's SAMPLE_DATA) aren't firing A B A B A B A B like would be needed but is more random.
Am I right in thinking that the mic.SAMPLE_DATA event fires at different intervals with different amounts of data and a working implementation would need to read the available data in and buffer the input so that the Sound SampleDataEvent would always have something to play back to avoid the stuffering?
View 1 Replies
Sep 16, 2011
I would like to access to microphone bytearray in realtime to modify the sound to record.How can i do this?
View 4 Replies
Mar 7, 2012
I found on Adobe website this cool as3 code to grab a sound and make a realtime waveform graph (I cannot post the link..The problem, to me, is that I cannot create in the same stage 2 graph from 2 input: the mic and an mp3.In my purpose, I'd like a stage with just 2 waveform graph. the upper one with the realtime voice from the mic input.the second one (just below the previous one) with a similar waveform graph but drawn by an MP3 file (or wav).
At the beginning I tried to use 2 inputs ".microphone" but I can always see just 1 graph. It's like the resources cannot be shared (al least not so simply).
View 3 Replies
Jan 12, 2010
I want users to be able to upload audio files to my server (say, over HTTP.. mechanism doesn't matter much), and then I'd like to assemble those files into a playlist and stream them out over a live RTMP stream to a Flash widget.The catch is: I'd like to begin streaming the audio files before they completely finish uploading. For example, if a user uploads an hour-long mp3, I'd like it to be able to begin playing on the RTMP stream once, say, the first minute has been uploaded.I'd like to support mp3 and AAC, and would hope to avoid re-encoding the files. Is is there a way to make this work with Wowza, Flash Media Server, or some other clever solution?
View 2 Replies