ActionScript 2.0 :: Auto-Pause When Workstation Is Locked?
Dec 23, 2010automatically pause when user locks his/her workstation and auto resume when user unlocks his/her workstation..
View 3 Repliesautomatically pause when user locks his/her workstation and auto resume when user unlocks his/her workstation..
View 3 RepliesOK I have been racking my brain to get this resolved and unfortunately there isn't a lot of info on the web. Scenario: We are in a shared environment. Central file server (Mac OS X server) over gigabit enet. We open flash files over the network and then we "try" to publish the files back to the same server in which the .fla is stored. (I have read John at Adobe's comments on the practice but this DID work).
So we access the flash file at /Volumes/ServerName/JobFolder/~Flash/ and we "attempt to" publish the .swf to /Volumes/ServerName/JobFolder/htmlfolder/flash .... this was working previously in flash 6-7 but in 8-cs3 it has stopped working and we are kicking ourselves to get some answers. When we try to publish we get the following error: "Error creating Flash movie file. Be sure the destination is not locked or on a locked drive. Also, check that the file name is not too long."
[Code]...
I have an animation that's heavy and needs to go into the flvPlayback component. It needs to pause automatically and call a sound effect that repeats until the user clicks the play button which is a movie clip that appears via addChild(). It's being loaded by an external swf currently. It works now, just takes a while to load.\
View 0 RepliesI like what the script below does but I need it to be extended in 2 ways and I can not figure how.this is what I would like this code to do...
1. play (ideally stream) sound automatically on entering the site.(right now the play button must be invoked, and it takes a little time to load.)
2. loop that same sound source
3. instead of stopping the sound I would prefer a pause.so more simply sound plays on entering site and I have ONE button (well 2 but changing visibilities) that control only pause and resume I have looked around quite a bit but can never find what I am looking for it would appear that everyones sound issues are so unique that no one has the exact issue that I do (well I am sure many do but I can't find the thread. ) and here is a link to what I have as of now
Code:
var loadSnd:URLRequest = new URLRequest("ax Mr .l..mp3");
var thisSnd:Sound = new Sound();
thisSnd.load(loadSnd);
[code]....
I am running Media Server 3.5.2. The server is still non production. I copy video files to webroot/vod/video.flv. From the client workstation I attempt to access [URL] and get nothing. It was my understanding video's copied here could be viewed as such.
View 5 RepliesI'm considering making a Flex/AS3 based web application but worrying about some employers (i.e. potential customers) that don't have access to Flash plug in version 9 and up. Why? Maybe their corporate standard for browser is old; maybe they lock down employees computers which prevents users to download and install the plug-in or an alternate browser; maybe Flash's ubiquity goes away in the next 3 years given Adobe's recent announcements; etc.Anyway, my question is, would it be possible to insert a USB Flash drive into the client computer in question and run a Browser having flash (e.g. chrome) on the USB drive (assuming such a browser has already been installed on the USB drive), to access the web application with full functionality? I'm just trying to think of workarounds if my customer doesn't have flash plug-in and can't download to install it.
View 1 RepliesMy problem is that I want to scale my symbol in ONE specific direction. Up, down, left OR right. Flash automaticaly scales a symbol equaly to both sides, changes the x/y values of the opposite edge from the symbol, but I don`t want this.
I mean, I want to scale my symbols just like shapes. If I scale to the right, the left side stays on the same X/Y values.
I can`t do this on flash IDE nor in actionscript. I would like to know if there are any solution to both cases
I want this because in my movie clip I have a mask (a symbol made from a square) and I need it to scale upwards. But doing this by code makes it enlarge downwards equally screwing up my animation.
It's about a website where a Photo Gallery exists. It all works fine until I press the Gallery button and then try to go elsewhere. The photos not only they remain on the page (the text and other images load normally on the current page, but under the gallery photos), but if I press the Gallery button again after pressing another button, it keeps loading those images over the previous ones. The code:
// <imports>
import flash.filters.*;
import flash.display.BitmapData;
// </imports>
[Code]....
I've got a reporting system that uses Flex Visualization charts for the GUI. The first row of a report is the header and the second is a summary row that sums all the data in that column for the data rows. The summary row is locked so that when you scroll down it stays at the top. In Flex 2.X I was able to change the background color of this locked summary row by overriding drawRowBackground and setting the color for the row with index 0. I upgraded to Flex 3.4 and now this no longer works. It appears to iterate over lockedRows separate from other rows, so drawRowBackground is called with a row index of 0 twice and the first data row ends up getting colored.
How are you supposed to change the background color of lockedRows in 3.4, or am I misusing this component and there is another way to achieve my goal here?
edit: mods I think maybe I misunderstood the name of this forum and this post actually belongs under ActionScript 3.
I have developed to applications in flex. The one application constantly retrieves data from the internet, while the other can be opened and closed when you want, both apps use the same database. The problem is that at random I get an Error #3119: Database file is currently locked. Is it not possible to have two stable connections in a Adobe AIR environment?
View 1 Repliesneed context menu items only on certain columns (locked columns) of a datagird and not on the other columns.
View 1 RepliesI want to recreate the same effect (this has been done) but with a little twist, and I do not know how to code the mask with Action Script.What I want to achieve is this:
1. Lock my mask on the Y axis;
2. When I mouse over it, the mask would move up and down;
3. The mouse cursor would disapear while being in the mask.
My flash file is almost complete. I just need the code to move the mask.
My paint brush tool seems to be locked. I can't change the stroke, style, or scale....?
View 1 RepliesI'm making a custom slider component. The head (the thing that you drag) is programmed like this:
head.addEventListener(MouseEvent.MOUSE_DOWN, function():void {
head.startDrag(false, new Rectangle(stubDiv,0,width - stubDiv - ((levels-maxLevel)*stubDiv),0));
[code]......
I trained on flashMX back in the day and haven't done anything since so now I've got CS5 it's a bit like being at school again! I have a circular dial sat in the middle of the screen with an arrow placed on it's edge. How do I get the dial to rotate so it always faces the mouse pointer?
View 7 RepliesI'm making an interactive film. At certain points within the film, the viewer has the ability to select from a few options that will direct them to an external video clip (they are flashback scenes). The main story pauses when the user selects a flashback scene and I'm clear on how to achieve this.
However, my issue is that once the flashback scene ends and the external video closes, I'm not sure how the main story will resume. Is it possible for it to auto-play (resume) in some way? My last resort would be to have the viewer select a play button - this is only because I do not want a break in the narrative and want to limit the amount of clicks the viewer has to make.
I am trying to create a pause button that will pause everything on the screen including movieclips/audio. Right now I can't figure out how to pause the movieclips.
View 2 RepliesI have some banners I am doing right now and have a pause timer question. I am fairly green at coding. In my first frame I have this:
[Code]...
I want it to pause each time in the last frame for 8 seconds and loop only 3x. Is there a better way to write this? I know all my code should be in the first frame but I still suck.
I am using Macromedia Flash Pro 8. I have a flash intro that has words (phrases) which slide in. I would like to add a 7 second pause between each phrase to give people time to read them (no buttons). Could someone tell me the script(s) to use with all functions, etc. included - as I am so new to all this. I have been looking for weeks & tried many codes but none seem to work - or I don't know exactly where to place them - or both
View 3 RepliesI have a timeline of 30 frames, each it's own mc (page01_mc, etc.). In each mc I show a picture or two and hear narration.I have a first, prev and next nav on the main timeline. I need to add a play/pause btn that will pause both pictures and sound. I assume I do that in each mc, but do not know where to find the code.Here is what is in each mc now:
var mySound:Sound = new Sound();
mySound.load(new URLRequest("english/Intro01.mp3"));
mySound.play()
So I have a FMS 3.5, which I want to do live streams. The thing is I want several different people to be able to do the live broadcast, and I would like the server locked down at least a little and not allow anyone that wants to, to start a broadcast. With that said, I have FMS 3.5 installed, and I installed the Authentificaiton Add-In (3.0). I added a user to the authentification add-in, but it's still doesn't require a username / password, doesn't even prompt me.
View 4 RepliesI'm using Flex in Flash Player 10 on Windows, using FileReference to load a file into memory, as below.My issue is that when a file is locked by Windows, my FileReference is not giving me any feedback that the file is inaccessible--it simply never dispatches any events after my calling load().Does anyone have insight into how to tell that Flash Player is unable to open the file?
var fileReference:FileReference = new FileReference();
private function onClick():void {
fileReference = new FileReference();
fileReference.addEventListener(Event.SELECT, onSelect);
[code]....
am trying to export/publish a swf of a dress up game I made so I can put it in Dreamweaver and upload it to my site but I keep getting this error message:"Error Creating Flash Movie File: Be sure the destination file is not locked or on a locked drive. Also, check that the file name is not too long".I am also unable to test the movie, it gives me the same error message.
View 3 RepliesI want to make and burn some CD's that are composed mostly of Flash. They are interactive CD's and i want them to open and function on both PC and Mac simply by inserting them. The CD's are for younger children and i would want to try and not have the user track down and install Flash Player everytime.
View 3 Repliesin the actions panel, it auto imports classes as your typeing. but not when typing in an .as file. however you don't need to import classes if you place code on the main timeline with the actions panel...
View 1 RepliesI have a mc on 'scene 2.9' which i want to play out in full and then automatically redirect (without a button link) user to 'scene 3'.
View 2 RepliesIs there a way to automatically tab in forms - instead of having to press the tab button to go to the next field...any idea?!?!
View 3 RepliesI have the same flash file uploaded to two servers. It seems to work perfectly fine on one (IE, Firefox and Chrome) but on the other it works only on Firefox, not even chrome.
The thing is I guess the flash file does load, but until I right click and click play, the file does not start playing.
I create a small animation with ActionScript (basically fadeIn/fadeOut at different interval of different images). When I view in FlashPlayer directly it work when I view in browsers (any) I need to "click" inside the application for the fadeIn to start.
In my application I use this : stage.addEventListener(Event.ACTIVATE, launch);so I guessed it was caused because by defautl the application is not activated, my question is how can I make the animation start at loading without needing to click on it?
how do I setup so when you put my dvd, in the dvd drive, it launches automatically,
View 2 Replies