ActionScript 2.0 :: Opening A SWF In An Internet Browser From A SWF
Oct 26, 2005
I am creating a conduit bending tutorial. On the main timeline of this tutorial SWF, I have a button that loads a trig calculator into an existing movie on the stage. I would like to have this calculator open in seperate internet browser window outside of my SWF.
I have a PHP mailer form on my site which needs to be published in action script2 to work, but I also have a script set up to open browser windows of a certain size & location which needs actionscript 1 to work? The PHP mailer form has a "Name" field, "Email" field & "Message" field, theses can all be reset with a button. The button clears off any text in the 3 boxes to wipe them clean. The script on the reset button is:
This works fine with section script 2 but not with as1. Does anyone know of a script that resets the .text field on as1 Alternatively is there any way of opening browser windows from a flash movie with browser win controls, eg. centre win, no scrollbars.
I need to find a way to develop a program which can run local and server side. I don't know silverlight/flash or something else can do it.Is there any framework/language/platform which can work over internet when internet connection exists and can work when internet went off?
I am working on a secure network in which the computers have and will never touch the internet (yes, its sad). I am putting together a series of documents in Flash while using AS2. With the system we are using they have to be embedded into a HTML page so the old fscommand is out. Also without being connected to the internet or opening these documents w/ javascript good ol' getURL("javascript:window.close()") will not work either.
I'm getting close to finishing the application I'm working on, and the person I'm working for is going to be distributing it via DVD. to package my flash file in some format so that when the user opens the file, it will open the swf in an internet browser?
The reason I need to do this is because I have some xml data in it that is keeping it from being fully functional unless opened in an internet browser. I'm not entirely sure why this occurs, because the file works fine in Flash Player on my computer, but not when moved to anyone elses. So, the workaround is to open it in an internet browser.
Anyway, I figure that in order to have the file open in an internet browser, it'd have to be packaged as an exe or some other similar file type, but we want it to be cross-platform.
Maybe there's an easier way, but I need to find out how to package my swf file so that it automatically opens in a browser.
I have an .exe in fullscreen mode with different links. If I click on one link, the browser opens up in front of the .exe and shows the link. but if I leave the browser open and go to the .exe and click on another link, this link will be open on a new tab, and the browser wont be brought back in fornt of the .exe. so the user wont know that the link has been open.
I made a website in Flash CS3. I published the file into html format. Now when I open the html file in a web browser I cannot use my mouse wheel to scroll the page up nor down. However the browser's scroll bar allows me to scroll up and down and i can scroll the page up and down if I place my mouse to the left side of the page where the page shows the background color of my flash document's stage. I want to be able to scroll using my mouse wherever the mouse is located on the website. Details about my flash file are as follows:
- It contains only Action script 2.0 coding. - the layout is made out of movie clip and button symbols. - i used a scrollPane component for one of my text and image contents. - I used a UIscrollbar component for all the text inside my image gallery (which is a movie clip containing the scrollable text areas) I am including below the coding formats used for buttons in my file in hopes that it provides clues to the scrolling error :
I read that using Flash Builder 4.5.1 you can create one application and run it on a mobile device, in Internet browser and in Desktop AIR. However, I created a mobile application and the only option to run it is 'Run as mobile application'. Is it really possible to run the same Flex application in browser and on mobile?
i am loading some pages/images from some folder whose path is specified in the Xml used like this:
<page src="user/_IMAGES_//image_0002.png" />
I am using Chinese /Japanese text in this Now the problem is that when i run it in the flash it loads those pages and when i load it in the browser then that file doesn't load anything.
I have a textField on my stage named 'adBuy', which when clicked I want to open up my browser with the defined in URL request. However when I click on the 'adBuy' textField on my SWF it opens Coda, the piece of software I'm using to write this small piece of code?[code]
I'd really prefer my actionscript 3 project to launch in a debugger window outside of a browser, but it always opens into a browser. I browsed through the preferences
Ok, basically so when you click my movieclip button called "Email" it opens ur browser, and emails the message you put in the input box called "email_text", with the title you put in the input box called "email_title".I know php, and html, and other languages, is there a way to use PHP in flash? or have the php in a document and call a function in that php document and email it?
IE
function phpemail(msg, title) { mailto(msg, title) }
etc...
thats not proper php code, but an example and in flash open that php file and call it?
I followed this tutorial [URL] put the proper actions on my button, the button calls the window in a blank page but it does not have the settings in the javascript no scroll, no resize and a preset window size.
The tut is from Flash 5 and that was before the "ACruncontent" file flash uses now in cs3. window opening the way I need it is critical for a client.
I am trying to make a button to execute exe files. so I made a windows projector file and its working fine. But the problem is, i need this to happend when working in browser. how to embed the exe files in browser or atleast in another swf file, so that i can call .exe in browser itself.
I am trying to modify this tutorial on exporting the flash movie to a jpg. On the completion of the flash file, using AS2, there is this method:
Code:
// copy is complete, send the result LoadVars to PHP listener.onComplete = function(target:MovieClip, load_var:LoadVars){ loader.label = "sending to php..."
[code]....
so i mean...I am using sendAndLoad as appropriately right? then why does my flash movie STILL open a new window (pixels.php) after the script gets to this point? I am also open to new methods of redirecting, assume i cant stop pixels.php from opening, how do I close the current window, so at least only 1 window will be open to the user?
I am trying to modify this tutorial on exporting the flash movie to a jpg. On the completion of the flash file, using AS2, there is this method:
Code: // copy is complete, send the result LoadVars to PHP listener.onComplete = function(target:MovieClip, load_var:LoadVars){ loader.label = "sending to php..."
[Code].....
so i mean...I am using sendAndLoad as appropriately right? then why does my flash movie STILL open a new window (pixels.php) after the script gets to this point?
I am also open to new methods of redirecting, assume i cant stop pixels.php from opening, how do I close the current window, so at least only 1 window will be open to the user?
I'm using getURL to send a string to a 4D webserver for tracking purposes. I'm using "_self" for the window and not using GET or Post and the string is the full http address including the path pointing to the 4d app with the variable appended to the string in XML format...the send works and is recorded by the 4d server..but a browser window opens which is don't want (it's unneeded and interrupts the flash)..is there a way to send with getURL without invoking a browser?
I've trawled the forums but still trying to get new browser window to open from my site so far have used Properties to add URL which works fine - but doesn't open a new browser window - not sure if this (text) needs to become a button with actions
I've got one main SWF loading other SWF files and these need to run a php script. I'm nearly there, but need the php to run in the background without opening up another browser window.
I use video player from the flash media server and it will playback url.. as this originates from Flash media encoder then i have to enter this on the videoplayer but when i replace localhost with my IP address i get no joy at all. Also i can run url...ok from videoplayer in the media server but it allows the user to use http so how is this achieve as i cannot get it to work at all. tells me there is no connection. also this i try using local host and my IP address as well but no joy.
Is there any reliable way to give the stage focus when you first open it in a browser window WITHOUT first clicking on the stage? By reliable, I mean something that works across different browsers and on both PCs and Macs.I've seen numerous threads on this subject, and I've read the Adobe tech note, and it seems there is no reliable way.How in the world can Adobe ask people to use Flash and not provide a reliable way to give the stage focus on startup.
my organization is in the process of building a touchscreen interactive kiosk. We've designed a flash application to run on the kiosk to display information about our business, our publications, etc. We'd also like to be able to access our website through the flash application. We're having trouble figuring out how to do that effectively. The best we can do is to have the application launch Internet Explorer in a seperate window. This isn't so bad if we run IE in kiosk mode, however it becomes difficult/impossible to navigate back to the flash application (or to close the browser) without a mouse and keyboard (which users won't have access to).Wondering if there's a way to open or access a browser inside of the actual flash application, so users can access the flash menu, home buttons, etc and easily navigate back to the information contained in the rest of the flash application.
I'm trying to figure out why my Flash button opens the link in a new browser tab, when it should just replace the page with the new one.
I'm using Flash CS4 with AS3 code, the button in Flash receives variables from an XML file and then knows what URL to pass when the user clicks the button. "Request" is the variable being passed for the URL. The website uses PHP and everything works except opening a new tab.
The main line of code for this is:
navigateToURL(request, '_blank'); [I know this WILL open new tab]