Linking an SWF inside an SWF
Hello eveyone. I am looking for an easy method of my .SWF
file having a button that opens up an external .SWF internally. Any
help would be appreciated.
littlejohnny wrote:
> Hello eveyone. I am looking for an easy method of my
.SWF file having a button that opens up an external .SWF
internally. Any help would be appreciated.
>
What you mean by open external swf internally ?
Swf within SWF ? If so, than go to loadMovie action.
Best Regards
Urami
"Never play Leap-Frog with a Unicorn."
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>
Similar Messages
-
Hello,
I am restyling a website as a favour for someone. The person
has a swf file in the website in which there are two links to
specific pages in his website.
The swf file (and website) are rather old and the person does
not have the original flash for the swf anymore.
Is there a way in which i can change the url's in the SWF
file?
kind regards.Okay, I got a hold of the original FLA file, so luckily i did
not have to mess with conversion software.
In the original FLA i cannot seem to find hardcoded URL's.
I have noticed on the server on which the site is currently
running a file called links.txt. Inside this file i read:
&text1=products&
&url1=products.php&
&text2=home&
&url2=index.html&
&text3=events&
&url3=events.php&
&ready=all done
-----eof links.txt----
these urls' events.php, products.php and index.html
correspond to where the SWF buttons link.
I have tried filling in other urls in this txtfile but to no
luck.
How can i tell if this is the original url file that is being
used by the SWF? Can i see this in Flash (i.e. in the FLA file)?
Sorry I havn't used Flash in over 9 years. -
Link between swf files.
Hello. I need to find a way to link multiple .swf files, so I may have a menu and after clicking a button go from there to any swf file and back. But i need something that works in AS 2 and 3 because my files are in both ActionScripts. It shouldn't be a problem, right? Ive been looking for and trying different things but i can't do it.
Hope someone can help
Thanks.Also I have this code that works in AS3 but only for one button, when I try to make another one flash marks error. I cant link another button with another file.
var loadedSWF:Loader = null;
* Loads an SWF and adds it to container once complete
* @param file The URL to the SWF to load
* @param container The container to add the SWF to
function loadSWF(file:String, container:MovieClip=null):void
if(container == null) container = MovieClip(root);
// removes the previously loaded SWF
if(loadedSWF != null)
if(loadedSWF.parent) loadedSWF.parent.removeChild(loadedSWF);
var req:URLRequest = new URLRequest(file);
loadedSWF = new Loader();
loadedSWF.load(req);
addChild(loadedSWF);
mybutton.addEventListener(MouseEvent.CLICK, _click);
function _click(e:MouseEvent):void
loadSWF("myfile1.swf"); -
Images not linking from .swf within Dreamweaver
I am hoping someone can help...it's probably an easy fix.
I had this simialar probelm of my .swf being too large (http://forums.adobe.com/message/3705787#3705787) So I went and linked all of the images.
I am placing the flash catalyst .swf into dreamweaver, adding a simple footer (for ios users that flash doesn't work for) and the uploading to the site.
This is how my folders look:
I have place the full 'deploy to web' folder within the _assets folder and placed the main.swf from this location, however when I go to the site none of the linked images are there - www.coocoocreative.com
Does anyone know where I am going wrong? (I have checked my hosting server and all the folders are there).
Thanks!Ok...it was really simple and I figured that problem out. I wasn't linking the .swf relative to the site root' (ok ok, I'm still learning, please be patient )
Thanks! -
Cmd + Click not opening links in background inside gmail
When I attempt to open links on background inside gmail the Cmd + click is not working. It opens the link in the foreground.
Though "Open Link in New Tab" in the right click context menu does open it in background.
I am using Firefox 4 on mac book pro running 10.6.7It has now been solved over on the thread linked above !!!
Open "about:config"
Search for 'browser.tabs.loadDivertedInBackground'
Then Toggle the value to TRUE !
Thanks to @cor-el for the solution. -
Link from .swf inside of MSPower Point 2007
Good morning:
Maybe I can helpme. Insert the movie in power point main.swf now I want to give it a few hyperlinks to advancein the presentation from the movie main.
TanksGood morning:
Maybe I can helpme. Insert the movie in power point main.swf now I want to give it a few hyperlinks to advancein the presentation from the movie main.
Tanks -
I have pages in a training module that I need to include a link to open a swf file as a separate popup window. The main SWF files are located in:
..\Course\Module_01_Activity_01
While the file I need to pop-up is located at:
..\Course\glossary\glossary.swf
I have a number of other folders similar to the one above that will use the same code to open the glossary file. Right now, I use AS2.
I can also display the swf inside a htm if needed, but would have to define the size of that window.the relative path is from your main embedding html file to your popup file. if your main html is in the same directory as your main swf, you would use:
getURL("../glossary/glossary.swf"); -
EMail Link in SWF exported from InD CS5 does not work
I'm trying to find a definitive answer on this. I have designed an interactive document in InD CS5 that has buttons and hyperlinks. When exported to SWF everything works except my e-mail hyperlink. It works fine in InDesign's preview pane. I've uploaded the file to my webserver for testing, the problem still occurs.
I found one post in another forum that quoted an Adobe InD developer stating that as of CS4 email links were not exported. However, I've not been able to find any mention of whether this works in CS5 or not.
Does anybody know for sure whether or not email links work in SWF files exported from CS5?Sorry, no offense was intended. I had found references to problems with CS4, but nothing about CS5, and said as much in my post -- was frustrated that I had spent a long time looking and hadn't found any responses yet.
You mentioned using buttons rather than hyperlinks, and that worked for me -- but it might have just been a problem with my browser not properly reloading the flash file, too -- as I mentioned in my response.
But in any case, THANK YOU FOR YOUR SUGGESTION! -
good day to you all in this great forum
my name is james and i want to see if i can find help here in the forum for my problem.
I'm building a site for my friend. (the site is in hebrew so sorry....)
for the site building I'm using the software iweb - on mac.
the site is almost complete but i have 1 big problem.
this is the link to the site - [URL="http://www.skip-up.com"]skip-up[/URL]
I'm using a head menu in flash
i have this flash from some template i downloaded from the internet and all i had to do is change the buttons names and to change the links of the buttons to point to my html pages.
and now to the problem :
to get to the problem in general - the flash head links don't work
if i press it in the site on godaddy nothing happens i just don't see the flash head and instead i dee a page that says something like "the page can not be found"
if i go to my desktop to my site directory and press the links the only thing that happened is that the button is changing the color like I'm in the right page but I'm still in the original page.
and the strange thing is that by if i only open up the SWF file and press the links are working
and it's open up my browser and to the right page
1. you can see the structure of the site here in this page :
[IMG]http://farm4.static.flickr.com/3442/3962332346_432d004df2.jpg[/IMG]
what i have is the master index.html and 2 directories : - the first one
called flash and have 1 flash file (this file is o.k with no problem)
and the other directory had all my site files
2. like i said i got the original FLA file and all i did is changing the buttons
names and changing the links of the buttons
the links i changed in the actions menu - i just searched for the original
url and change the names to much my website html pages names
3. here is the original FLA actions menu - you can see that I'm standing on
one of the links :
[IMG]http://farm4.static.flickr.com/3483/3961893129_2b8fc4ecd9.jpg[/IMG]
and here is my fla after the changes - as you can see i just changed the
name:
[IMG]http://farm3.static.flickr.com/2544/3962668872_8693f399ba.jpg[/IMG]
4. i uploaded all my site (it's small zip file) if someone wants to see more
i tried to describe everything in details because it's very important for
me to find a solution [URL="http://rapidshare.com/files/286059228/skipupsite.zip.html"]skip-up site download[/URL]
I'm really hopping there's somebody that will be kind to help me out
thank you very muchHi. It looks like your code is not finding the mp3. At least,
I can reproduce your error code by removing the mp3 from the
directory, or renaming it.
Btw, if you test with FF instead of IE, you'd see the error:
Error #2044: Unhandled IOErrorEvent:. text=Error #2032:
Stream Error.
at KZFlash_fla::Sound_2/KZFlash_fla::frame1()
Hope that helps. -
Button to b clicked and large image shown on the stage(link to swf file here)
I have a button when clicked is supposed to show a larger image of the button/ I am new to the code and think if I could see and example it would help. This is a school project. I am failing as of now.
how do I upload my files to here so I can show http://threadcontent.next.ecollege.com/(NEXT(54b34a37e8))/Main/CourseMode/Thread/DownloadA ttachment.ed?virtualFileId=961613945&GoldenTicketParams=_u=8538800;_dt=634657009144447173; virtualFileIDs=956864518,956864621,956864990,960296914,960355361,960465721,960465764,96037 9092,961379343,960908613,961013978,961014291,961613945,961035853,961618981,961042519,96144 4490,961569920,961629398,961629452;&GoldenTicketSignature=35-AA-34-CE-10-A6-FD-4F-D1-DD-73 -4C-A9-EF-8D-9D-63-E5-87-88-FB-D4-4D-15-06-BB-82-8A-9E-F2-36-DC
I believe this is the download link to the swf I have you can see the buttons click and sound and over and when pressed they are supposed to show the larger image of the buttons original image that you see before you hoverstop();
trail_btn.addEventListener(MouseEvent.CLICK,
trail);
function trail(event:MouseEvent):void
gotoAndStop(10);
and the link I gave is the download link from my class at AI Online its perfectly fine -
I have a setup where i am trying to make a hyperlink on a page that is to a youtube swf video load in an iframe on the same page. It is working successfully in firefox, but in IE it just gives an option to download the file and doesn't load it in the iframe.....i am wondering if there is any quick fix to this...or is there a way to make it where the hyperlink i have on the page, instead of going directly to the swf file, loads the embed code that is listed on youtube in the iframe...basically can you hyperlink to a youtube embed code
Post a link to the page so we can see it.
-
Linking between swf's - file size problem
I"m building a presentation & have two separate swf's. One is about 80 mb, the other is 40 mb. When I tried to export the larger one, I got a warning that it exceeded 16k frames. I figured out how to work around that. But now I need to integrate both swf's. If I take the smaller one & import it into the larger one as a new scene, will that blow up my export ability again? Can I link between two separate swf's using some sort of gotoAndPlay function? What are my options here? Any help is appreciated. Thanks.
Gotcha. Thanks!
-
I need to general advice while protyping my website. I'm
creating separate somewhat large swf files for each page of my
website. Therefore, each will need its own html file if I don't
want it take 3 years to go between pages. I'm confused how to link
between the each page using a button in flash. Is this an action
script thing? My links will be static text buttons. Thanks.Thanks. I think I get it, but I want to be sure. I think I
need to be a little clearer:
One SWF file inserted as my entire index.html page. Right now
I have a static text button in the SWF file home page that says
"About Us". I'm designing a new page that will also be its own SWF
file for "About Us". I have a new www.xxxxx.com/aboutus.html page
that I plan to put the file in when finished. In the text button on
the homepage, do I use AS3 URLRequest("
http://www.xxxxxxx.com/aboutus.html")
to navigate. Thanks. -
Url links in swf work in standalone, but not when opened in browser
I am currently using flash to create an electronic press kit.
In that, i have 2 links to youtube (since embedding the videos was
not an option, making the file too large), and one link to
yousendit for the viewer to be able to download a pdf file.
Now when i open the swf by double clicking on it (which i can
do, but when on another computer, that has flash player installed,
the swf will not open unless opened through a browser....not sure
if that is just something where you can open an swf strictly by
itself only if you actually have flash or what....that is another
issue), but anyways, when i open the swf by itself, the links work
correctly. once opened through a browser, the links do not work.
Safari error:
Adobe flash player has stopped a potentially unsafe
operation.
The following local application of your computer or network:
(location of swf on harddisk)
is trying to communicate with this internet-enabled location:
youtube.com
To let this application communicate with the internet, click
SETTINGS.
You must restart this application after changing your
settings.
Of course i did that, and it didnt happen.
My question is however, even if this is a simple security
issue/setting within the browser, is there any way to get around
this? Because when sending this press kit out, the last thing i
want is for the viewer to have to take the time to change their
browser settings and try to get this to work and all that stuff.
Any help would be appreciated.
You can also download this swf at the following link:
http://www.yousendit.com/transfer.ph...661F585ACE0521The reason the swf doesn't open up by itself on other
computers is that it needs a Stand Alone Flash Player to do so.
Most people have the Flash plug-in for their browsers, but not the
stand alone player. If you are sending it out as a self contained
file you need to make a Projector file. It contains the SA + swf in
one file, which adds weight. Also, you need to make a Windows one
and and a Mac one. If you are using CS3, I think you can make a
Abobe AIR app that is universal, granted you install the free AIR
plug-in controlls for Flash ( I THINK. My knowlege is not totally
up to date) .
As for the links not working in the browser, its seems like
they should work. Your posted link for the file is broken, so
couldn't see. What is your code for the buttons? Are you calling
JavaScript in your html page? I've had problem with that usually a
syntax error or IE.
AS2 button -
I have a slider control in 1.swf file and another slider controler in 2.swf . I want link these two sliders, 2nd one should respond to the 1st one .How to do that please help.........
In what way are these two files implemented such that they both exist at the same time?
Maybe you are looking for
-
Creating document with content from a remote system
Any sample code that I have seen for creating a new document requires that the file (the content) of the document resides on the Server machine. What is the best way to create a document with content that comes from a remote file?
-
Getting error while starting Managed server configured in ALSB(ClusteredEnv
Hi All, I configured Custered environment in Weblogic 9.2 to use in ALSB. While starting managed server i am getting error : <Critical> <WebLogicServer> <punitp46462d> <new_ManagedServer_1> <Main Thread> <<WLS Kernel>> <> <> <1233666363188> <BEA-0003
-
ADF Mobile - Debugging iOS through XCODE Pkg
I downloaded Frank's example on the image upload. I deployed the webservice to my standalone WLS. I migrated the mobile app (PhotoBox) to 11.1.2.4 and made the necessary migration changes per the document. I deployed the app to a distribution package
-
Can you still get a cross platform upgrade for CS3?
I'm a mac user and recently purchased CS3 Design Premium for windows used -- does anyone know you can still get a cross platform upgrade from windows to mac without upgrading to CS4?
-
Submit Buttons in Interactive Form
how many submit buttons could be placed in interactive form.i would crate one simple calculator in adobe form using webdynpro. in this i would be placed 4 buttons i.e, (add,sub,mul,div). is it possible.explain some processing steps.