ActionScript 3.0 :: Loading Interactive Swf?
Oct 3, 2008
I have this code from as2
this.onEnterFrame = function() {
_parent.timelinebeethoven.loadMovie("content/interactive/beethoven.swf");
}
That loaded up an external swf.Now I'm building an interface in as3 and I"m using this code to load up the movie with a button.
var myLoader:Loader = new Loader();
box2.addChild(myLoader);
beethoventime_mc.addEventListener(MouseEvent.CLICK , mouseDownHandler22);
function mouseDownHandler22(event:MouseEvent):void {
[code]....
It loads up great, and I thought I was all set - but the interactive elements are not working correctly.I think the problem is this "timelinebeethoven" and parent are really in the as2 code is not at all in my as3 code and they are really important. how to add in these two pieces into my as3 code?
View 6 Replies
Similar Posts:
Dec 22, 2009
I'm loading an interactive external SWF into my main timeline. The SWF is a game and when it's completed successfully it plays an animation on the _root timeline. I'm aware that the external SWF _root action is now referring to the the main timeline, but I'm not sure how to make it refer to it's own.
View 1 Replies
Jul 31, 2009
I have been creating a gallery for a client that changes preview images in response to thumbnail images being clicked, I have the basics working but now my client wants further interaction in some of the previews that include using buttons on the preview images that either open a web page in a new window or switch between more preview images. The problem is the new buttons that appear are embedded on the initial preview images (which are set as movies), and for some reason the interaction that has been added to these movies is stopped when run in another movie. Sorry if that sounds complicated!
[Code]....
View 3 Replies
May 28, 2010
I'm trying to make an interactive map, whitch the size is 2880 - 2090, and the problem is the zoom in and out, I Want it to start with the magnification of 60%?
View 2 Replies
May 22, 2009
I'm trying to make an interactive map and how to make it so that when each button is clicked, it is pushed in front of the other buttons so that it covers them.
View 5 Replies
Jul 31, 2009
I have been creating a gallery for a client that changes preview images in response to thumbnail images being clicked, I have the basics working but now my client wants further interaction in some of the previews that include using buttons on the preview images that either open a web page in a new window or switch between more preview images. The problem is the new buttons that appear are embedded on the initial preview images (which are set as movies), and for some reason the interaction that has been added to these movies is stopped when run in another movie.
You can see how far I have got by visiting the test site here: [url]
If you look at the gallery here and click on the item titled VIACOM, a window will open On the bottom left hand side of the window you will see 4 thumbnail boxes that switch between the preview images on the right. The second preview image has the numbers 1 to 4 on the bottom of it. These numbers are buttons and are set to switch to more preview images, but sadly it's not working.
If you are interested in seeing whats going on more clearly I have uploaded an FLA of that section: [url]
View 4 Replies
Apr 20, 2009
I am not exactly new to Flash in that I can do several things with it. However, I am not anywhere near expert status. I am working on an interactive map of a college campus for my employer. I am employing buttons that, when moused over, display a large image of each campus building. The question is this: is there a way to also have maybe an actionscript that would center that image automatically?
In other words, if the building I want to show is on the right hand side of an internet explorer window and I mouse over it, is there a way to have the map auto scroll the window to center the image that pops up on mouse over?
View 1 Replies
May 25, 2009
I'm doing a project in flash. What I'm trying to do is have an interactive map and have key locations you can click to view a popup and using xml call in data such as thumbnails, images and information. I've also created a scroller so when you click the arrows the map scrolls left to right except I want to make it so that when you click the arrow right for example when the map gets to the far right edge the arrow greys out (to signify that you can no longer move to the right) It's complicated to explain so here's the assets in a zip file: [URL]
View 3 Replies
Sep 8, 2009
Where the site visitor would upload an image on my site and be able to add(drag and drop) images i provide in flash to edit the image.
View 3 Replies
Feb 12, 2010
I'm planning on making an interactive coloring book for a project and was looking around. I see the tutorials that are around but those are mainly click and fill in an area type of coloring books. I was wondering if anyone can point me to a tutorial that will teach me how to make a coloring book that lets the user pick up a color (a red crayon for example) and scribble in the color him/herself.
View 5 Replies
Mar 8, 2010
create a draggable interactive map using CS3 and using actionscript 2.1. We are creating an application for a touch screen device and we must provide a draggable map which contains 'hotspots' which when clicked provide additional information (text and pictures).
I need clickable buttons that stay in the same relative position over the map so that when it is dragged the buttons move with the map. (sorry if that sounds confusing) At present I can only get a static button working which stays in the same position and the map moves independently.
View 6 Replies
May 21, 2010
I've just started a new job, and I have the opportunity to do some work with Flash CS5 - I've never used Flash before and I'm excited to be learning new stuff! I have been tasked with creating an interactive thing... well, how 'bout I just show you
I've built it in Photoshop, but I need to make it come to life. The user should be able to grab the slider and drag it left or right and for the numbers to change appropriately. I don't even know enough about Flash to know what keywords to search to find a tutorial that'll show me how to do something similar!
View 5 Replies
Feb 17, 2009
Let me start off by saying that I work for a PR agency that designs all the marketing materials (including websites) for the clients. I'm very new to Flash development. I've never really used it before this project, but it's the company's biggest client, and his happiness is worth 80 grand. The project I'm talking about is a simple locator map that shows coverage areas of each sales rep. The page is located here: [URL]
[Code]...
View 5 Replies
Jul 22, 2009
I have an animation that I want to keep buttons active at the end.
I don't want it to loop, because there's an intro and I don't want the intro to keep playing, so I unclicked Loop in Publish Settings. The intro plays for several frames...then it stops on the last frame. The movies continue to loop, but my button becomes inactive. It's active during the intro, but then stops on the last frame when the animation stops.
I've tried nexting the button inside a movie, but that didn't work either.
I'm figgerin that I need to not let the animation end, but somehow loop on the last frame instead. I'm sure there's an ActionScript for it, but I've been searching and trying different ones, and I have no idea which one to use or how to make it do what I need it to.
View 1 Replies
Aug 13, 2009
How to create an interactive 3D model? Which software should we need to do that?
View 1 Replies
Dec 2, 2009
What am I doing wrong? When loaded to the server, the swf file works as intended: [Url] But, when embedded in html document, the movie plays but the buttons aren't interactive: [Url]
View 7 Replies
Dec 3, 2009
I am trying to find a way to create an interactive brochure with page curls, hyperlinks, printable, etc. Is this possible using Adobe software?I thought it would be something you would create in Flash or Fireworks, but can't seem to find any info on it. I know you can create a primitive one in Indesign to a certain extent, but I am looking to add more that that to it.
Also, I created an interactive brochure from Indesign, but the file is about 6MB and loads very slow on the web.
View 1 Replies
Jun 22, 2010
i want to create a map that can read data that come from access or excel (as data source) and reflect on the map the data source include jobs being done on different places on that area and highlight what and where are the current jobs being done.and all . basically , data source actions converted on the map ?
View 2 Replies
Aug 3, 2011
I've created an interactive map with filters for the map points using if/else visible statements.
The problem is that some of the points belong to more than one filter (i.e., health, education related, etc.). So the filters act properly when selected and deselected one at a time but don't show the proper map points if more than one filter is selected.
View 14 Replies
Aug 26, 2011
Hi,
I am building a cryptex( the dial device from Da Vinci Code)(See attached image) I built a 3D version and I want the user to be able to turn the dials and when they release, it triggers an action. There are two ways I am considering, but not sure which is easier considering I am a beginner to actionscript:
1.) I can render out small movies of each dial turning 360 degrees, but would it be possible for the user to drag the dial and cycle through the keyframes of the clip? I saw an example of using a slider to cycle through keyframes but don't know if this is possible.
2.) The dials were built and animated in flash. (Though I am unsure if this can be done without some 3D Flash plugin, which I don't have)
Any thought or tutorials that relate to this would be greatly appreciated. I looked for slot machine tutorials, since it has similar dials but had no luck.
Thanks
Also, I have Flash Professional CS5
View 1 Replies
Dec 16, 2009
I need to build an "interactive floorplan" for a shopping centre (or two). Many shopping centre websites already have this (eg Bluewater in the UK). Traditionally, the way to build such a floorplan / map is to do it in Flash. The actual floorplan is a Flash asset and the data that describes which retailer is in each location is fetched from the webserver as XML. That way editors can update the location of retailers without having to edit and recompile the SWF file. However if the floorplan itself changes (for example, a larger shop is split into two smaller ones) then the map has to be edited. Another disadvantage is that the data isn't readily available to third parties for mashups etc. So apart from Flash what would you consider using to achieve the same effect? I know of SVG but IE doesn't support it.
View 1 Replies
Jul 30, 2010
any software that can be used to create interactive CDROMs? we have a possible job whereby an interactive CD ROM with basic animation is required. Company information is to be placed in various "Pages", and if possible some kind of "catalogue system" for a lot of PDFs would be available.
I've seen some existing CD ROM makers but they all look really cheap and unprofessional (like cheesy banners and colours etc) - what would you recommend?
View 1 Replies
Aug 22, 2011
We have a web-framework with Flex and Java, whose basic functionality is to execute commands at the background(Unix) and parse and send it back to the client(Flex). This works fine for all silent commands.
We are using Runtime,process to execute commands at java side on request from flex side. The same we need to do for interactive commands/scripts as well.
View 1 Replies
Sep 14, 2009
I have an interactive slideshow that I need to do which display pictures. Upon hitting the "next" or "previous" button one pictures needs to slide off to the left with motion blur and easing while the next one comes on from the right.
Sounds simple enough right!
As far as I have been able to find out, the best way to do this would be using XML. I have looked at a ton of tutorials on xml for AS3 and I can't seem to adapt them to match what I am trying to do. There seems to be so many different ways that one can go about loading xml and all of them are different so I don't see how to make the different tutorials integrate into what I need. I found tutorials that do pictures and text, or just text, or pictures that go automatically but not with buttons etc - and what I need is just pictures with buttons and motion easing (which I can probably figure out once I learn how to load the xml pics and get them moving with buttons).
I was not expecting to get some code that I could just copy and paste but I have not been able to figure out to adjust the code to fit what I need.
I am doing the AS in an .as file and I am trying not to put any AS in the fla document because this slideshow is just one section of a bigger framework.
View 4 Replies
Sep 24, 2005
I've been trying to make an interactive map. I have a stage that is...default size will do. On next layer I have map..on layer above is a mask with a hole in. The idea is the user can drag the map around and get info from hotspots on the map. I know I can restrict the area that the map can be dragged but this seems to only work if the map is smaller than the stage, but my map is much bigger than this. How do I set this up??
View 11 Replies
Dec 16, 2009
I've started learning Flash two weeks ago and I have the challenge of creating an interactive political map with about 4000 cities. Some cities will have more than 600 lines defining their limits which will make this project very demanding on processing.People will be able to zoom in/out, select cities and see information about them.As a starting point, I've begun working with 500 cities. I've imported a vectorial drawing of these cities and converted each one of them to symbols using flash javascript, resulting of course in 500 symbols. I don't know if it was a good way of starting this project but worked for me. Then my problems begun.
First I tried to use the mouse roll over and roll out events to change the (fill) color of cities but the city limits (stroke) changed also.Second I want to add some properties to the cities such as city code, name, etc. but I wasn't able to do that using class inheritance. Would I have to create a different City class for every symbol I would like to extend? This approach looks like a lot of headache and redundant work.
View 4 Replies
Sep 8, 2006
Ladies and Gentlemen, I was hoping to receive a little assistance from one of you fine flash developers out there, if you have the time. Here's my situation:I'm working on an interactive map.with is getting the tooltip to work right when you rollover a specific area. The tooltips content is dynamically generated from an XML file with the ID/name of the area and the number of photos. Also, the specific area needs to be a special color if it has photos associated with it, and just plan if it doesn't. An example of what the XML file will look like is listed below as well as a link to the actual map that I am working on.
View 2 Replies
Oct 18, 2006
I can't get this code to control my flv. Even when I comment out the cue point code and try to just control it with buttons. I'm getting a bit frustrated. Can someone please critique my code?The flv is called: fishing_intro.flv
the playback component: myFLVPlayback
I'm trying to have my entire .swf operate around the cue points of the movie - for example I'd like to have tweens start when it reaches a mid point and the .flv to stop, and a new load movie at the end of the .flv when it starts playing again (using a variable to start play). I'd eventually like to add an interactive preloader.I've gotten all of the cue points to work, but I just can't get the actual control of the .flv to work. Am I doing anything wrong?
Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);[code]....
View 2 Replies
May 7, 2009
im trying to make a interactive panning with the tutorial Interactive Image Panning, Page 1 but this swf loads in a main swf.. the code i am using for the panning swf is
this.onMouseMove = function() {
constrainedMove(bg_mc, 8, 8);
};
[Code].....
the problem im having is that the panning swf is using the with of the main swf that is holding it
View 4 Replies
Sep 15, 2010
I'm creating an interactive gauge in Flash. The gauge has two needles and these needles need to be controlled by two text input boxes. That way, whenever a number is typed into the box, the needles respond accordingly.
var degree = (360/intRange)*Number(strValue);
var hist = (360/intRange)*Number(strHist);
var mneedle = needle_mc._rotation
var mpointer = pointer_mc._rotation
if (mneedle < 0){
mneedle = 360 + mneedle;
[Code] ......
View 2 Replies