ActionScript 2.0 :: Counts How Many Time A Projector Has Been Open?
Oct 30, 2005Is there a script that counts how many time a projector has been open?I'm looking to make a demo projector that can only open a project 1, 2 or 3 times.
View 1 RepliesIs there a script that counts how many time a projector has been open?I'm looking to make a demo projector that can only open a project 1, 2 or 3 times.
View 1 RepliesDoes anyone know how to create a numeric display that counts down the time of a flv. For example if the time of the clip is 60, as soon as the clip starts to play it counts down 59 and so on.
View 1 RepliesI have read several posts where people discuss TOPMOST and SWF Studio as options for keeping applications running in the top of the z order.
My question is: Is there a way to create a projector that always stays on top (e.g. even if a windows update occurs) without purchasing SWF Studio? As I understand TOPMOST is only for launched applications, not for the application itself.
I need to make a hybrid CD-Rom that has PDFs. I want to launch the PDF in Acrobat, not a browser (they interactive and have bookmarks etc). I can get it to work on the PC side with no problem but am having trouble on the Mac.
I've made an applescript that works, and have it in the "fscommand" folder.
However, I can't get the Flash projector to launch it. I'm using this code on a button;
quote:
on (release) {
fscommand("exec", "testing.app");
}
It's a disk image. I can't work out why it doesn't work and it is driving me insane.
I recently was assigned to make an interactive CD using Flash. However, there is some content that needs to be downloaded, or loaded from the CD such as .jpg's, pdf's, .doc's. I've looked at some ways to do it, such as batch files to load files, but the instructions were unclear to me. (I also work on a Mac and need this to be cross-platform) Also, the content cannot be loaded to the web and use a getURL command. The client wants the user to be able to download or load it from the CD by the click of a button.
View 2 RepliesI am using flash 8 or flash mx, and I want to open a web site and some pdf files. I have my projector set to fullscreen but when I open a web site or a pdf file these files open behind my projector so my final user doesn't realize that the pdf files or the web site is displayed. How can I force the web site or the pdf file to open on top of my projector or is there a way to minimize my projector when I click these buttons so the user realizes that these files opened.
View 1 RepliesIf someone opens up a projector file on a cd, and I have a website open up on a click for example, can this work? Does it open in their default browser?
View 1 Replieshow to open pdf, swf file in flash 8 projector? i am using exec command which was used earlier in flash 8 but its only working for exe files after keeping the files in folder named fscommand....
View 2 RepliesI am creating a Flash projector to work on a CD for a client to distribute. There has to be a listing of their PDF's in the flash program, that when clicked, will open the actual PDF in a separate window. I found one comment in this site to use "GetURL", but found out it is ONLY for HTML. There was mention of setting up the FSCommand to open another application, such as a PDF file, but how? I have the files in the same directory and tried putting the file name in the "GetURL" (the PDF file), but just freezes when trying to open. Also, is there a way they can drag and drop the PDF files to the desktop, that has the listings of the PDF's and save to the hard drive?
View 5 RepliesI have made a ton of cd's in the past that have a presentation and using the following kind of code:
Code:
on (release) {
getURL("YonderMediaBusPlan.pdf","blank");
[code]......
The powers that be have decided a project I'm working on shouldn't go on a website after all, but needs to be on a CD for Windows users instead and of course I only have a couple of days to made the "relevant tweaks" as they call them.It needs to run directly from the CD so I presume AIR isn't a good option.I've got all of it working by publishing to a Windows Projector executable. The bit I'm stuck with is allowing users to click buttons to open various directories which will be on the CD. These are source files for following tutorials from the main part of the CD. I've tried playing around with the various options in the FileReference class (namely browse() and download()), but they seem to be set up for use online only.
View 2 Repliesim using Flash CS4 slide presentation to make a education CD. In the end of the slides i want to open a pdf file.How can i do it? Is it a east way to do it? I publish the project as a projector file. I tested to use GetURL but the file wont open. I have the pdf-filein the same folder as the projector exe-file.
View 1 RepliesI need to have a fullscreen AS3 projector to open a video within the presentation to fullscreen and then back to its original size. The video is inside another movie clip and doesn't use the FLVPlayer component. There is also a custom video controller that needs to be positioned under the video when viewed fullscreen and then return under the original video. I have had some success opening the fullscreen video but could not position the video or controller position accurately.
View 4 Repliesm creating this flash file, and want to launch Firefox (c:/program iles/mozilla/firefox.exe)how the do i create a button and have it link to this?i googled it and realized that i can't call up an exe file through the web....but i got no problem with my final product being a projector file (.exe)i found this code...but for some reason it's not working for me
on (release) {
fscommand("exec", "program filesmozilla firefoxfirefox.exe");
}
[code]......
Is possible open projector file (EXE) in certain position? E. g. center position of desktop.
View 2 RepliesMy problem is I have a projector that i want to open a word doc that resides in the assets folder (on the cd) when a person clicks on a button. How can I accomplish this?
View 2 RepliesI'm using Flash MX, AS 2, Projector 6, working on a PC. I saved two versions of my project -- one .exe for Windows and one .hqx for Mac. The .exe works fine when burned onto a CD. When opening the .hqx from a CD on a Mac, I got a message that the file is on a locked volume. I discovered that the reason for this is that an .hqx is essentially a zipped file which has to be extracted, and when a file is extracted, the unzipped files are written onto the same location as the original. When the original files are on a CD, Stuffit (Mac's zip extractor program) can't write onto that location. [So if anyone at Adobe looks at these forum posts, let me say that I think its absolutely ridiculous that the Mac version of Flash's projector files have to be extracted in order to be viewed!]
To get around this problem, I saved the .hqx on my PC, put it on a portable hard drive and brought it over to a Mac (because Stuffit for PC converts it into an .exe for PC), and unzipped it. When I'd test it on the portable hard drive or on a USB drive, the extracted file would work. When I'd bring it back over to the PC and burn a CD with both versions on it, and then test that CD on the Mac, it wouldn't work.
var request:URLRequest = new URLRequest("[URL]");
navigateToURL(request, "_blank");
This works fine on web based swfs, it fails on flash player.
I have created a number of Projectors which are all linked with loadMovieNum. The problem is is that they don't load when I open them I go from the Intro to the Main but only the Intro shows up and when I click enter it does not go to the next projector which is the main.
View 2 RepliesI need open external application in MAC OS9 flash projector.
video.mpg --> call quicktime
music.mp3 --> call itunes
Adobeacrobatreader.dmg .
I try fscommand, but not work...I try use applescript to call the file, but don�t work.
I am having trouble getting even a trivial example of fscommand("exec", "..."); to work. I just need to open a Word .doc from within a flash exe projector. Eventually this needs to be on a cross-platform CD, but I'd be happy to see it work from the desktop of my PC at this point! I've attached a really simple sample.
View 3 Replieswe are developing a small application wih Flash CS3 which will be released as a standalone Flash Projector.exe.
We want to have a link to our website in the flash application that should open our webpage in the Default Browser of the System.
We tried:
PHP Code:
navigateToURL(new URLRequest("http://www.google.com"),"_blank");
But when I click on that link in our standalone.exe, on my system "ultraedit" gets opened and it tries to open a path on the local system and the webpage adress after that. "C:ProjectsInflationhttp:\www.google.de".
I could succesfully open a external pdf with the following command in Flash cs3 on a Mac: fscommand("exec", "test.app");test.app (inside an fscommand folder) is an apple script that opens the pdf inside the fscommand folder, to make it work I needed to copy the fscommand folder into the MacOs Folder of the Mac Projector File. The same steps don't seem to work with Flash cs5. I can't downgrade my cs5 project to cs3.Is this problem a bug in Flash cs5?
View 9 RepliesIs there a way I can exclude apps from the "Open With menu?
Finder mistakenly lists all standalone Flash apps I've built as possible choices when opening a SWF.
I am developping a as3 project for a kiosk that should run in full screen mode.I am using eclipse for the programming and Flash CS4 to prepare all the swf library assets.Once I publish the swf, I open it in the flash player and export the file as a projector file.
When I open the projector file it doesn't go full screen automatically.
Where can I set the project to go full screen?In the code?Or is there a preference setting for the projector file?Or another way to publish the projector file that will allow me to set the full screen mode?I remember using fscommand in as2 but that doesn't seem to work anymore.
Is it possible to have a flash Projector control the timeline of another flash Projector.
example: Projector1: has a button to start/play Projector1 and trigger to start/play frame 7 in Projector2 at the same time.
So both external projectors are in sync.
Basically I have an array map and I want to be able to create a little bit of code that counts how many there are of each number in the map:
[Code]....
Currently there are 3 number 5s but this will change and I want to create a bit of code that can change with them amount of 5s in each map. Unfortunately I have no idea where to start, can anyone give me a hand?
All variables start offset by 1 (a=1, b+2, c+3, etc..)I want the values to all start over when they reach 7.You can see the lower half of code displays these images, basically rotating around a circle.What is most efficient way to script? I assume an array.
a += 1; if (a==7) {a=1};
b += 1; if (b==7) {b=1};
c += 1; if (c==7) {c=1};
[code]....
When working with CRUD operation in flex, I want to know how to open only one time for all update and delete operations. How can I do this?
View 2 RepliesI do not why but now my flash files are taking much more time(Ctrl+Enter) to load than usual .. Automatically debugger starts when i run the file. And for heavy files, the file hangs and ends up in restarting my Flash Application. I am using CS4.
View 1 Replies