Opening URLs in a flash movie
Hi Everyone,
I tried posting this in the general flash forum with no sucess. I'm guessing my question is more geared towards AS3 anyway. So here goes:
I've created a flash intro for a website and I have it setup so that in the first frame of the intro it opens a popup window, and then in the last frame it opens the actual site in the same window as the intro. Right now when it hits the last frame it opens up the popup window a second time! In a lot of cases this would be fine but the popup is a music player and the two players playing on top of eachother just doesnt work.
The code I've used for opening the popup window is:
var url:URLRequest = new URLRequest("player.html"); navigateToURL(url, "_blank");
the code used in the last frame to move to the site is:
var urlReq:URLRequest=new URLRequest('index2.html');
navigateToURL(urlReq,'_self');
Any help would be appreciated!
I have the site in question in a temp location currently and it can be viewed here: http://www.janosoto.com/temp
Thanks!
Wow, simply amazing! This did the trick, and I thank you very much!
Now that I've gotten this project finished it makes me want to learn more about flash, and AS3 in particular. Funny how a simple solution can ease so much stress. I had set it up so that instead of on the first frame launching the popup it just did it at the last frame when it launched the site. However I knew my client wouldn't be satisfied with that as small as it sounds.
If you ever end up in Hawaii let me know and I'll buy you a drink!
Aloha,
Cayce Borden
Similar Messages
-
Open browser window within flash movie
I've read several GetURL tutorials. They all open a new
window. I want to open the URL within the flash movie.
I would also like to specify the size and location. Just like
a photo gallery, but instead of loading an image (or movieclip) I
want it to load the URL. Can Flash do this? Can some brave and
generous soul show me the way? Thanks!Let's make it a 100%. It isn't possible - the way you imagine
at least it isn't.
You could try to work around with css-layers and flash
javascript communication, but this wont be very reliable. Cotting
up you flash and using an i-frame would be more reliable, but also
not really fun to do. -
Can we open Web pages inside Flash Movie!!!!!
Is there a way to open HTML Webpages inside Flash Movies
Please Help...............you can display certain html tags in an html-enabled
textfield or a textarea component. but you can't display a webpage,
per se. -
Relative url to call flash movie
Please help..
I want to use a flash movie (a.swf) in a shocked piece on a
server. The a.swf file is in the same folder with the authorware
files on the server and is supposed to call other files while it is
running. How do I call the a.swf as an external media using a
relative rather than an absolute url. I tried embedding the a.swf
file in the authorware piece but when it runs it does not call the
other files.If you're sure they won't be behind a firewall or proxy, you
can use
NetLocation to do the relative reference.
Erik
lotto2 wrote:
> Please help..
> I want to use a flash movie (a.swf) in a shocked piece
on a server. The a.swf
> file is in the same folder with the authorware files on
the server and is
> supposed to call other files while it is running. How do
I call the a.swf as
> an external media using a relative rather than an
absolute url. I tried
> embedding the a.swf file in the authorware piece but
when it runs it does not
> call the other files.
>
>
Erik Lord
http://www.capemedia.net
Adobe Community Expert - Authorware
http://www.adobe.com/communities/experts/
http://www.awaretips.net -
samples, tips, products, faqs, and links!
*Search the A'ware newsgroup archives*
http://groups.google.com/groups?q=macromedia.authorware
*The Blankenship Caveat: Note that direct linking to http
content
through any Authorware icon will likely fail if a proxy
server is present!* -
When opening the website, the Flash movie is so slow to upload.
Why is it that the flash animation is so slow to upload to the site...Is this something I need to do or something to discuss with the server folks at Godaddy?
If you just have one SWF file, then you might want to try this tutorial http://www.republicofcode.com/tutorials/flash/as3preloader/
Basically, you will be monitoring the bytesLoaded of bytesTotal
var total:Number = this.stage.loaderInfo.bytesTotal;
var loaded:Number = this.stage.loaderInfo.bytesLoaded;
Or try to search other tutorials with keywords "preloader" and "AS3". If you encounter any problems, feel free to ask. -
Cann't preview , publish , test debug Flash Movie.
Now, I am using Adobe Flash CS3 and press CTRL + Enter to preview the movie , but now I Cann't do it , the movie isn't display anything ( but I can preview only one scene by press CTRL + ALT + Enter). I try to publish the movie, the error message is not display but when I test debug . Flash shows the message that "Error open file 'my flash file path'+.swf"
How can I reslove this problemthe error mesage is
Error opening url 'file:///D|/Work/movie%5Fs.swf'
*** Normaly when I press CTRL + Enter , .swf movie will be created in the folder that same as my .fla work file. but now it's not created -
Opening Flashpaper in new flash window
I would like a flash button to open a new window that has no
toolbar, chromeless, etc...with the flashpaper document in it. I
have tried getURL with a javascript new window function, but the
browser can not load flashpaper when I do...I have tried
loadFlashPaper, loadMovie, and loadMovienum which works the closest
but opens document in same flash movie when I need it in a new
window...any ideas, suggestions? I am not a programmer, so I have
been cramming as much actionscript knowledge as I can get from
tutorials and examples on the net, but can find nothing explaining
what I would like to do...any help would be greatly appreciated!Hi,
Check this property:-
Entry Point :- Yes.
Launch in New Window :- Display in seperate portal window
Regards,
Manorama Singh
Rewards point if helpful answer. -
Force Flash weblink to open in SAME window as movie
I'm using Adobe Encore CS4 to create a project that I want to export to Flash. However, I want one of my menus to be replaced by a web site.
The goal is to have a flow such that:
Menu 1.
<User Clicks Item #1>
Timeline plays
user is forwarded to a website
I have implemented this as follows:
Menu 1.
Button 1 --> Timeline --> Menu 2
on menu 2, I set the description to:
<weblink href="webpage.html">
as suggested in the manual.
This works, apart from the fact that after the timeline ends, the flash movie goes black, and a new window is opened with webpage.html (which is blocked by popup blockers unless specifically allowed).
What I would like is for webpage.html to be opened in the same window, so that the flash movie is no longer visible.
I have tried modifying the description field to
<weblink href="webpage.html" target="_self">
but it doesn't help. In the generated AuthoredContent.xml, I've tried changing the <action> item:
<Action type='Link' url='webpage.html'>
to:
<Action type='Link' url='webpage.html' target='_self'>
to no avail. I can't seem to find any documentation on these fields.
Is anyone able to help?
Thanks in advance!Hi,
I'm not aware to force this behaviour, but if it is a regular link you can drag the link onto the same tab heading you are currently looking at. Obviously this won't work for form submissions where there is no link to drag as such -
Hello.
I am having a weird problem when trying to test a movie or publish preview -> flash on mac with Leopard os.
The result is a blank movie with the usuall "movie not loaded" if u right click on it and the output returns the "Error opening URL 'the path of the swf here'.
This has nothing to do with loading external files or something like that. It happens even in blank movies and it gives the same error if I try to open a swf from flash ide.
I can publish the project or export the movie with no problem at all.
I can preview the movie in html. I can run all the swf files in my hard disk, network, usb stick, dvd etc., but when I try to open any of these files from flash ide I got that stupid error.
Its not something that stops me from working in flash ide but its slow to export movie any time I want to test it.
Things that I've tried so far but nothing worked:
Update the flash cs4 to the latest version
Update the flash players
Restored the release flash player as default player (I am using as default the debug player)
Cleared the preferences
Move the flash cs4 folder to another location in hd
Saved the fla document first before testing the movie (in different places with or without spaces in document name or folder)
Give read & write permissions for everyone for flash.app, players and for fla files when saved first before test movie
Unistall and install the application 3-4 times.
Test every as version just in case.
Also I've checked the folders when testing movie and I can see that it creates an swf file, which I can run it outside flash ide (the one that the flash ide player cannot load) with no problem.
The mac os has the default set up as it came. Nothing chnaged in permissions or security settings.
Thanx in advance.In this particular example I am using this code to start the
xml file load:
// now load the XML file that contains the content strings
var sXMLFile:String = "xml/home.xml";
var xmlContent:XML = new XML();
xmlContent.ignoreWhite = true;
xmlContent.onLoad = onXMLLoadComplete;
xmlContent.load( sXMLFile );
But I don’t think the code is the problem here . This
happens on every file I load when I am using a relative path to the
content, regardless of how I load the content (XML object,
loadMovie, MovieClipLoader, etc…) and the same code executes
perfectly on every other machine in the office(Mac and PC).
I’m more concerned with the semi-colons and .swf filename
that Flash is putting into my relative path on the error message.
Is that normal? -
Is there a way to open swf's within a flash movie
i want to change my website so that when you click a button
on the flash movie it opens up a swf file in the flash but i want
the swf to be in a seperate file from the flash, is this possible,
if so how?very possible and very widely used for years - and a very
well documented feature - it is called
loadMovie - hit F1 and search the AS help docs for it - or go
oto
www.kirupa.com
www.gotoandlearn.com
www.lynda.com
www.google.com
thyere are tons of tutorials about the different ways of
loading an swf dynamically into your flash
project.
--> **Adobe Certified Expert**
--> www.mudbubble.com
--> www.keyframer.com
shlurd wrote:
> i want to change my website so that when you click a
button on the flash movie
> it opens up a swf file in the flash but i want the swf
to be in a seperate file
> from the flash, is this possible, if so how?
> -
Force flash to open file download box in front of the flash movie
Folks,
I'm making a dvd title using flash to auto start when people
pops the dvd disc in.
I have a button 'Click here to download the movie' and
clicking the button should pop up a file download box so people can
save the movie file(.mov) to their desktop.
Problem is that the file download box shows up behind the
flash movie so people won't be able to see the download box since
it's hidden behind the flash. This is critical since I intend the
flash to open as a full-screen mode.
Is there a way to force the flash to open the download box in
front of the flash movie?
I tried getURL and fscommand ("exec", "filename.exe") and
even fileReference commands to try different way of linking the
movie file, and they all open download box behind the flash.
Please help~~~Please do not post the same topic in multiple forums. The
only thing I can suggest is when they click on the button to
download, you take flash out of full screen while they download the
video, you can use fileReference to control and monitor the
download. Use a listener object to monitor when download is
complete, then set flash back to full screen.
How are you scripting the full screen? -
Open PDF in Acrobat from flash movie
Hi all,
I have made a flash autorun splash screen for a CD containing numerous pdf' files. When I click on the files in the flash movie however, they open in a browser window. Is there any way to make them open in acrobat by default?probably not. you can't change a user's default settings. and you can't force the execution of a file like acrobat without knowing its location.
-
Get URL from embedded Flash AS3 movie
I have a thumbnail scroller app built with AS3 on my website
homepage. I have the class files but would like to know of any
quick workaround to make the embedded Flash movie clickable without
reworking the AS3 files. What I would like to do is if you click on
a thmbnail or anywhere in the movie, the "portfolio" page loads. I
asume this would use javascript? Any help is greatly appreciated.
Thank you.I notice that when I click on the thumbnails in the browser,
a "0" appears on top of each thumb. When i test in Flash preview
clicking on an image generates:
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL
Not Found. -
Why would certain users not be able to open a mail to url from a Flash swf on my website?
Why would certain users not be able to open a mail to url from a Flash swf on my website?
1. Because they're using Android or iOS and can't see the Flash container.
2. Because they have Flash Player, but NOT Shockwave, which works for Interactive content like games and links in Flash containers.
3. ActiveX controls are blocking Flash content in IE.
4. Any of about a dozen other things.
As a web desginer since 2003, I can tell you that these days, it's a terrible idea to have Flash content in a website (outside of games that require it). Video should be HTML5. Navigation, content and other links should be HTML, CSS and/or Javascript ONLY, because placing them in a Flash container makes them invisible to literally half of your viewers or more, since SmartPhones can't and don't see Flash, and tablets don't either without special browsers, which may or may not work with embedded links. -
Opening maximized window from embedded flash movie
Hi!
I need your help!
I have a html file with a flash movie-menu embedded into it. I'd like one of the buttons to open an external html page strictly in a new maximized window. It does not matter if the new window has toolbar or not. I want it to open a new maximized window (not the full screen thing) onclick.
How can I achieve this?
thank you!use the javascript window.open method to open your popup and set the page dimensions.
you can use getURL or navigateToURL() to execute a javascript function or better use the externalinterface class to call a javascript function in your embedding html file.
Maybe you are looking for
-
Simple question about JAVA path
Hi. I have a simple question , but I spent several hours trying to find an answer. How do I know the location of the java executable which is used by Concurrent Manager. I already know that running which java under application user will not give me t
-
How to use OEM location in OWB?
What is a purpose of oem location in owb 9.2 (9.0.4)? This location doesn't use in any module and integration with oem realize through oem_exec_template.sql script that manually register in oem. How to use this location?
-
Post Author: Nataly CA Forum: Crystal Reports I had SQL Server 2000 and Crystal Reports 8.0 installed on Windows 2000. ASP intranet application was working fine and users had their crystal reports on their default printers. After upgrading Windows 20
-
Hello experts! I am looking for a good PA infotype to store the current location for a worker. This would need to contain information like: Site number Building number Floor number Room number Cubicle number Telephone number Fax number Also, if poss
-
I have yet to be able to get my two Gmail accouts to connect in Lion, despite following the ail Help directions Anyone else having this problem?