ActionScript 2.0 :: Linking To PDF Document?
Dec 31, 2003
I have created a Flash animation and would like to be able to let viewers link to the pdf that explains the project. The information is currently headed to clients on CD and later on the Web in html. How should I go about this, should I sue an action script?
View 1 Replies
Similar Posts:
Apr 3, 2011
I have a main document/fla, and ive created a game class, instantiated it in the document/fla file and it runs now i want to put a button inside that game class that can tell the root document/fla to jump to a certain frame.
View 1 Replies
Sep 14, 2009
My teacher gave me the task of making an interactive touch screen flash for an open day at my school, i can easily do most of the things to make this work but two things evade me.
He wants the writing in a word document linked so he can easily change what the document says without re exporting the flash.
He also wants me to be able to make the pictures from a document appear in a slideshow without adding each individual picture in a random order as a screen saver effect.
View 1 Replies
Aug 4, 2009
I have basic knowledge of Flash and do not know how to link an external image to my Flash document. While flipping through a Flash resource book, my thought is that it's through Actionscript, possibly using URLLoader/URLRequest classes. But I don't understand how to do it. Also, do I use a transparent button as the placeholder for the image/actionscript?
View 2 Replies
Feb 10, 2011
I'm working on this small project to demonstrate how flash works to a few friends and I am trying to make a small avatar have some animation and upon mouse roll over grow and after removing mouse the avatar will shrink. There is also supposed to be a message displayed over the avatar and upon clicking the avatar the message changes. I have the avatar shrinking/growing thing done and its working fine and I also have the message to be displayed but I cannot seem to link the two into one actionscript file so they both appear at the same time.
Here are the codes:
i) for the avatar shrinking/growing
package { import flash.display.MovieClip;
import flash.events.MouseEvent;
public class U1A3_Stickman extends MovieClip {
private var _origXScale:Number;
[Code] .....
I've tried to simply insert the document class into the flash with the avatar shrink/grow code but it's not working.
View 2 Replies
Jun 9, 2009
I am trying to figure out how to link a bunch of buttons to different photo albums inside a single HTML page in Dreamweaver. Here is an example of what I mean: [URL]
Unless I'm mistaken, everything in this website is contained within one HTML document.When you click on any of the various buttons in the portfolio menu, they simply load up and appear inside the same HTML document.
How on earth do you do this without clicking on any of the various buttons and having them linked to another page??
View 3 Replies
Jun 5, 2006
hey there guys im doing my final major poject for college in media and were making a set of films and making a flash interface to go with them i was just wondering how can i make links in flash that either link to a an localy saved Html document or a localy saved .mov? i know how to link them to a website but not a locally saved file?
View 1 Replies
Jul 28, 2009
the project im working on is all database driven, there are no html files and all coding that is created is made by php then stored within a db to be called later on. now because of this i can't use relative links at all with anything i.e. images, videos and swf files.
so.....i am using swfobject to link to a swf file using absolute linking as shown in the coding below. but what i need to do now is link an .as file in my swf using absolute linking so i can call some arrays from the file.i have doubled checked to make sure my vars can be passed by local testing and it works but now i need it as absolute....is this possible?
View 16 Replies
Dec 15, 2009
Can I set the style of another document from it's parent document? At the moment its giving me the error 1119: Access of possibly undefined property StyleManager through a reference with static type DesignCardForm.
View 2 Replies
Mar 14, 2002
Is it possible after embedding a flash exe in to PowerPoint document that we can make flash buttons tell the ppt document to go to a certain slide.
View 2 Replies
Dec 14, 2010
I am dispatching an event from one document class and listening for it via another document class.My code in class A.
Code:
this.dispatchEvent(new MYEvent(MyEvent.APERTURE_DONE));
trace("Dispatching APERTURE_DONE");
my code in class B.
Code:
addEventListener(MyEvent.APERTURE_DONE, onDoorsOpen,true);
trace("Lisetning for APERTURE_DONE");
[code]....
My listener is registering before the event is dispatched, based on my output window, however I never get the "Open Doors" trace statement to fire.
View 2 Replies
Dec 16, 2009
We have a requirement to show documents (if we have URL for a document) within Flash. We have a need use embedded document viewer for MS Office and PDF documents. Are there any Flash controls available to acheive this?
View 2 Replies
May 7, 2011
I have a FLA (say Main.FLA) document class with a child MovieClip on the stage: into the child MovieClip I load other swf files: each of the files contains its own Document Class (every swf is a somewhat independent application, say quizzes and so on).For some reason I must use the Main document class to store data (scores or so) from the child swfs loaded into the Main swf. HOW do I reference the Main class? I can't find a way.[code]and dispatch an Event this way from the loaded swf document class to the Main class:[code]Now, first of all I don't know if this could even work. Secondly, I tried to make it work by adding an event listener to my Main class but id did not work.
View 9 Replies
Sep 22, 2008
So I had a working .fla, with a document class package in the same directory. Everything was fine, until moving both to a new directory, now the fla cannot find the document class. WTF?
View 2 Replies
Nov 12, 2009
So I have main .swf file(I'll call it movie1) that leads to webpages that are not in the movie. The webpage has a navbar which is a seperate .swf file (I'll call this movie2). I need the buttons on the navbar to link to a certain place in the main movie. Is there a way to use gotoAndplay in movie2 to go to a scene in movie1?
View 4 Replies
Dec 1, 2009
im wanting to link two swf files together but cant seem to get the code to work out correctly. I've created a button and a function that i want the code to go in to, so that once the button has been clicked it loads the second swf file. I've tried numerous things, such as getURL, loadMovie etc etc but it just doesn't seem to want to work.
View 4 Replies
May 26, 2011
I am making this flash induction demo but i can't link the buttons to a new scene so the user can click on a button and see information relating to that topic.My flash skills are OK but dont use it often enough to keep my memory uptodate.
View 3 Replies
Dec 2, 2009
I'm still a newbie at this, so pleasse bear with me. I have a links page on a website for myself. I wish to create a link from a hidden button over the text to a pdf file within the project folder. I keep getting errors saying that it cant find the file and points to an address which is totally wrong.[code]Is this the right way to link a pdf file to flash?Is there some other code I should be using?
View 3 Replies
Mar 29, 2010
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?
View 5 Replies
Feb 26, 2009
Im starting work on a website, my first concern is sorting out a form. I have made a very basic one using the instrucs on this site in flash to start with as you will see on the site:[url]....
I can fill in my date fine, but when I click submit nothing happens. Im thinking there is problem with my actionscript (2.0)What I want to happen when send is clicked is for the page to submit the form information to my email (I have a PHP file set up,named flashformmail. php) and for the browser to forward onto my thankyou page (url....). Can someone please tell me what the action script should read exactly? Once i've got this working i can then got on with making it look better.
View 13 Replies
May 2, 2006
Right I have created a flash banner ad and taken it into dreamweaver, I thought I could just link it to its website easily in DW but I can't.
Do I have to set the url in the flash doc, if so what do I do
View 3 Replies
May 20, 2009
I have got a very simple flash timeline, on each frame is a different page of a book. There is four pages alltogether. I am trying to create 'next' buttons so that the user can flick through the book.
This is the code I have used:
stop();
btn_1.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler1);
function mouseDownHandler1(event:MouseEvent):void {
gotoAndStop(2);
[Code]....
View 1 Replies
Jul 7, 2009
This was created with frames in dreamweaver and the nav bar and index page movie are swf files. When you click on the pages in the nav bar it redirects to the index page. It does this the majority of the time and every now and again when you click it will go to the actual page.The way it is set up in dreamweaver, it has the nav movie in the top frame and the content in the bottom. All I did was change the old i.p address to the domain name because our host changed. I did nothing else and then this started not working correctly.I have checked and double checked all links in flash and they work from the swf but when it is loaded in the browser it does that weird linking to the index again. This is the code in flash to link to the pages:
on(release) {
getURL("http://www.fostersfreeze.com/Food.html","_top");
}
[code]....
View 4 Replies
Oct 27, 2009
I am currently building a website in flash for a school project and it has to be on a timeline. I was wondering if you could help me i have buttons at the top of the page how would i link these to another frame so it can be used as a new page
View 6 Replies
Dec 12, 2009
how do i link to another movie clip or swf using a button in AC 2.0. i have
btn1.onRelease = function() {
inner.gotoAndStop("health");
inner.health.gotoAndPlay(2)
};
[code]...
On the inner section i have labels.The problem i have is that when the movieclip loads the home movieclip doesn't unload therefore the new movieclip just appears on top whereas i want the home movieclip to unload leaving the background etc and the new movieclip load. I think the problem is that im loading a movieclip within a movieclip and the home moveclip label is on another section.
Therefore im asking can you unload a movieclip or is there another way around this without making the new movieclips background a full colour and working on top of that?
View 3 Replies
Aug 15, 2011
The accordion i created works by recreating a single movie clip as the frame/holder for each and every 'tab' the accordion has.Now I want to have seperate links for each 'tab'. which means, at the 1st tab for example, if you click anywhere on the content area, it will take u to page #a.If you go to the 2nd tab, click, it will take u to page #b.
the current flash file has holders in it in order to let it load the xml data. such as the tab titles, content etc. they are also reproduced in AS hence there is only one instance of each in the FLA.I have created an area which is TO BE the "clickable" area on each page. But i do not know what else to do from here...
View 1 Replies
Feb 28, 2007
I've recently made a simple standalone SWF in a projector format. It contains a button which links to a PDF ..
on (release) {
getURL("cd/manual.pdf");
}
On PC this works fine (although it does open in a web browser rather than Acrobat). On Mac this link does nothing except open Firefox which refuses to open the PDF. The PDF themselves are fine and if clicked on at the source just fire up Acrobat (in Mac and PC).it's possible to force a file to open in a certain App?
View 3 Replies
May 14, 2009
linking my thumbnail photos to the img. photo using action script 2.0?
View 22 Replies
Nov 2, 2009
I'm working with Flash CS4 / ActionScript 3.0I just wanted to know how to link my finished flash ad to its corresponding webpage.-->Click anywhere on the banner and it links you to...youtube or whatever :]
View 5 Replies
Jul 2, 2010
I was able to come up with a menu bar to display on my non-flash website, and left linking to absolute last because I assumed it would be the "easy" part.What I have is a menu bar where each item (about, home etc) is a mc, and some of those mcs have animated sub menus within them (mcs as well).My problem is that when any item in a sub menu is clicked, instead of redirecting to their own link, flash it redirects to the link of the mc that contains the submenu.I'm attaching a link to the file so you guys can understand what I'm talking about.The items with submenus are "services" and "markets".
View 3 Replies