Flash :: Prevent Standalone Projector Apps From Trying To Open Assets?
Mar 17, 2011Is 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.
Is 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.
var request:URLRequest = new URLRequest("[URL]");
navigateToURL(request, "_blank");
This works fine on web based swfs, it fails on flash player.
we 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 need to have my flash standalone menu open pdf files to specific pages.
Is there a way to do this with get url? or some other easy method?
[code]I open IMAGEURL.txt, which contains a variable named "img" with a value in it. I call that value and set it to myurl. Then, I load myurl's image into img_container.This works when I test the swf while flash open, but not while I test in the standalone swf thats exported on my computer, or on a browser. Something about internet settings came up as well, til I published to "allow network only".
View 3 RepliesOr a word doc or XLS file in the native file viewer on iOS devices. navigateToURL does not seem to work. I have included a test.pdf file in the "included files" in my iOS settings but won't launch on the device.
View 1 RepliesDue to screen density of iPhone, image assets are developed larger. So, when specifying the icons and images to Flex components takes this form.
<s:ViewNavigator id="tab1" label="Tab1 width="100%" height="100%" firstView="views.Tab1">
<s:icon>
<s:MultiDPIBitmapSource source160dpi="@Embed('assets/tabIcon.png')"/>
</s:icon>
</s:ViewNavigator>
Flex of course renders this correctly and adjusts the size to what it should be. However, when I load images myself, they appear blown up as they would appear double in size. This is how I use it when overriding the tab bar.
[Code]...
While running a Flash app, if I open a new or existing Facebook chat window, my Flash content disappears. I can continue to hear music playing from the app and when I close/minimize the Facebook chat window, my Flash content reappears. Is this a known issue? This is happening in Google Chrome 15 and Internet Explorer 9 on Windows 7 with Flash Player 11.
I checked this on my own Flash app as well as on another Flash app made by someone else and the same behaviour is occurring. It does not however hide non-Flash content. It seems to be a bug with Facebook chat and Flash content.
I load an SWF using a simple loader but it changes the main applications x/y position and size.Which loader do I use to load an swf that will maintain the position size of my app?
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.INIT, function handleInit(event:Event):void{
var UIDesigner:UIComponent = new UIComponent();
[code]......
how 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 just got my MacBook and am trying out the Flash BUilder on said platform. I've installed Firefox and Google Chrome on my MacBook but I can't seem to find a way to set which browser would launch my Flex apps whenever I hit the Run button inside Flash Builder. As far as I know, I can locate the Browser property on the Project Properties on my Windows copy of Flash Builder but I couldn't over here at my Mac. Any thoughts?
View 1 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]......
im 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 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 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 RepliesI'm creating a flash presentation as a standalone Projector in full screen mode...
stage.scaleMode = "noScale";
stage.displayState = "fullScreen";
Problem is that I want to have small video players in this full screen Projector, but I DO NOT want the videos to display full screen. I want the videos to display at their preferred size. However, since the stage mode is full screen, the video automatically goes to full screen as well.How do I prevent this?
I made a game as the same site URL..Anyone knows how to prevent user open and play game on multiple browser windows at a time?I used flash control to embed flash into aspx page and connect to sql server
View 4 RepliesI want an air application to be able to update the assets it uses, but minimizing the download needed, so only downloading files added since it last updated.I'm thinking this would include a server portion which would zip the needed files based on a version number? Has anyone implemented anything similar / got any thoughts on the best approach to building this sort of system?
View 1 RepliesI am having trouble opening a file in the assets folder in my flex mobile application
var myFile:File = File.applicationStorageDirectory. ("@Embed('assets/file.txt')");
var myFileStream:FileStream = new FileStream();
myFileStream.addEventListener(Event.COMPLETE, glossaryFileOpened);
[code].....
I 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 RepliesThe 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 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 Replies