Buttons Won't Work Under Imported Artwork?
Dec 4, 2009
I've created buttons that light up when moused over. They work fine but I need them under a semi-transparent layer that has been imported and when I move them under it they stop working.
View 1 Replies
Similar Posts:
Nov 20, 2009
I am trying to sett up an workflow for a project. I am going to do the programming and a friend of mine the graphics.I would like him to be able to update the graphic on the final movie without the need of publishing the full project. We are sitting on different locations and usually work at different times. So i was thinking of making separate swf for each of the movieclips. And importing these at runtime.Then he could do his magic and preview this if he uploaded them.I have done some small tests and can't seem to get these imported swf to work properly. Should this work?Any suggestion on how to set up a good workflow for this project? Or at least what to search for.
View 1 Replies
Feb 4, 2012
There are enough examples on the internet to learn how to make your own Class, here's an example of what I did, it is saved as a seperate *.as-File:[code]The Idea is that I can add a bunch of descriptions (for multiple persons) to an holder array, which allows me to do more with them.Actionscript has no idea what this "Character" is. Instead I'm getting the Errorcodes
-1046 (Type was not found or was not a compile-time constant: Character)
-1180 (Call to a possibly undefined method Character)
View 9 Replies
Apr 26, 2010
I have a 'contact us' panel(contact_mc) that is loaded from the library with a button on a menu bar. When this is loaded in, a "close" button (closecontact_mc) is also loaded next to the panel. The panel and button load perfectly when run. Next I want the panel and 'close' button to be removed from the stage when the 'close' button is clicked.
[Code]...
View 3 Replies
Apr 10, 2011
I'm putting together a website in Flash CS4, and my Actionscript knowledge is pretty minimal. The site has a portfolio section with a scrollbar, which I modified from a downloadable example I found here: http:[url]...The prewritten code uses xml to import the thumbnails into the scrollbar- all of this is fine and working beautifully so far. What I'd like to do is to have each thumbnail act as a button, so that when clicked, you jump to another page/frame on the timeline. I see that it's very straightforward to either open a 'full' image or to go have the thumbnail take you to an html page, but is there a command that can go into the xml text that will simply take you to another spot on the timeline?
View 3 Replies
May 26, 2010
I have a AS3 portfolio site that loads older AS2 content. Currently the loaded AS2 content won't respond to rollovers or anything inside. Is this at all possible?
View 9 Replies
Oct 18, 2009
I have a Flex project that is the application master for my site. It loads a swf I built in Flash which has a runtime bones animation using a Loader. The runtime bones work if they are loaded without Flex.
Is there a way to make bones work if they are loaded by Flex?
View 1 Replies
Oct 23, 2009
Created a runtime bone animation (more complicated than the one included in this example).When I loaded the swf using the Loader class in master application, the runtime animation stopped working.I included my source files for the bones, and another fla that only calls the Document class Main.as.Try running bonesRuntime.html, and the runtime bones work; call bonesSwfLoader.html and only the authortime bones work.
View 5 Replies
Apr 12, 2011
I'm putting together a website in Flash CS4, and my Actionscript knowledge is pretty minimal. The site has a thumbnail section with a scrollbar, which I modified from a downloadable element I found from flashmo dot com (admin won't let me include link). The prewritten code uses xml to import the thumbnails into the scrollbar- all of this is fine and working beautifully so far. What I'd like to do is to have each thumbnail act as a button, so that when clicked, you jump to another page/frame on the timeline. It's very straightforward to either open a 'full' image or to go have the thumbnail take you to an html page (as that's how the code was written, but is there a command that can go into the xml text that will simply take you to another spot on the timeline? The website is going to be entirely in Flash, so URL links don't help me. Is there a simple command I can add into the xml and Actionscript?
This is what the xml looks like, in case that's helpful:
<thumbnail>
<filename>black.png</filename>
<title>Item No. 1 (192 color art)</title>
[Code].....
View 5 Replies
Jan 18, 2009
I have an swf file, MyRoundButtons, which is a set of radio buttons I built (not components). It works fine, but if I import it into a parent it won't work anymore. I have to write a script to load it into a movieclip, (which I hate, because I'll have a several different swfs to assemble on my final stage. I really want to see them all on the stage together, not just at runtime.)
Even when I load it into a clip and the buttons work, however, it doesn't seem to have a separate timeline when double-clicked ,and:I can't make the imported buttons control the timeline of the parent.I defined a test function:
Code: Select allfunction goToNirvana() {gotoAndPlay("nirvana")};
Frame "nirvana," in th parent, has a Trace instruction in it.
goToNirvana works on its own in the parent. [code].....
Whether I define that function in the child, the parent, or both, the instruction won't work. Now, I'd prefer not to do the loadMovie thing at all if I can avoid it, I'd rather have fully rendered button clips onstage at authoring for me to arrange and move about, with fully independent timelines right there. But you see what I'm trying to do. I just can't get it done.
View 1 Replies
Jun 11, 2010
Im making a flash project in flash cs3 using As2.It is a large interactive game with imported external swfs throughout,Ive placed the lockroot code in all the external swfs.
When i play the external swfs on their own they play perfectly put when imported into the main.fla they don't work properly,some of the functionality doesnt work properly..As an example I have made a jigsaw game using drag n drop and targets, where the code
if(this._droptarget == "/dropTargetOne")
{
_root.dragger1.gotoAndStop("5");}
}
appears I have problems because the code _root.dragger1.gotoAndStop("5"); doesnt work when imported as an external swf.I've tried using this._parent but no success.So I think the problem is to do with using _root which I was hoping would be sorted with this._lockroot = true;
View 3 Replies
Aug 7, 2009
I have a movie clip with 15 frames. Each frame has buttons on it (mc's)... I was going to put the actions on the main timeline/stage and navigate within the MC from the main timeline. Is that possible? I can get the buttons on the first frame of the MC to work, but I can't seem to figure out how to target/make the buttons on the other frames work? I was thinking I could identify the path of the MC with the frame labels, but that doesn't seem to work. like: _root.RMChanger.(frame label).buttonOnFrame = function
I have to move a text box in and out over the MC backgrounds on the main stage... which is why I was thinking to do it this way? I've been switching back and forth bwtween AS2.0 and 3.0
View 9 Replies
Jul 8, 2005
I am having trouble with a job I am doing at the moment which has an mc with buttons within it. I want it so that when I roll over the mc it tweens from a small version to a larger version, and on this mc there are some buttons. At the moment I can get the mc to move but the buttons remain inactive and also the rollover states on the buttons don't work. I have attached a simpler version of what I am trying to do to this post.
View 3 Replies
Dec 4, 2009
I'm having problems with the flash buttons on the flash website i made for a client. or some reason the buttons in the top and bottom menu work on some people's computers but on some they don't. I don't know what to do, i had this code for all the buttons,
on (release) {
getURL("http://legaldepartment.ca/","_self");
}
and they worked on my computer but on others the buttons didn't work at all so i added this code to each button also
on(press) {
_root.getURL("http://legaldepartment.ca/","self");
}
and they still work on my computer and some other people's computers but still some they don't work on some people's computers.
View 2 Replies
Jun 1, 2011
I am using Flash CS4 with actionscript 2 to create an interacitve portfolio.I have 2 text buttons that work when I test them with "enable simple buttons." When I publish to IE these buttons won't work. I have created over 50 buttons using the same methods, they all work.
View 8 Replies
Aug 6, 2011
I am trying to add some actions to artwork, is for a button, fox example the output says:
Scene=Scene 1, Layer=Actions, Frame=1: Line 1: Wrong number of parameters; set requires exactly 2.
set ("boxStatus"); = "0"
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: Mouse events are permitted only for button instances
[code]....
View 3 Replies
Dec 11, 2010
is it best to add a bitmap in a clip / sprite container, or just add the graphic (jpeg, png etc) via
ActionScript Code:
:Bitmap = new Bitmap(speakersBmd);
?
View 2 Replies
Dec 18, 2010
I am close to finishing my animation and for starters one scene is lagging a lot and the artwork is visible outside of the stage dimensions. is this normal?
View 1 Replies
Oct 30, 2011
I am creating artwork in Illustrator that I want to give someone else to bring into Flash.
1. What is the best format for making static graphics? Just a graphic symbol?
2. What about for graphics that will be converted into buttons in Flash? Does it matter if they are Graphics or Movie Clips in Illustrator?
View 1 Replies
Nov 20, 2009
I've got a project that heavily utilizes the new 3d artwork tools in Flash CS4. My question is has anyone done any tests to see if Flash is quicker with raster or vector graphics? My SWF really bogs down on slower machines.
View 2 Replies
Apr 29, 2010
I'm working on a flash project that incorporates a lot of artwork done in Illustrator CS4. I've been copy-pasting directly from Illustrator into Flash, and I add some animations as well. Final file is going to be a one single swf file which will be a part of UI for an application and .net will be the core for this. But now flash becomes unusable slow to respond for actions. My machine is a fast i7 with 6gb of RAM, so I don't think that's the issue. We are going to use this file with dual core atom processors. Does anyone have ideas for alternative importing techniques, optimizations within illustrator, anything at all that will make this more manageable?
View 1 Replies
May 23, 2011
I have produced some vector artwork in illustrator for use inside a Flash Project. When I import the artwork into Flash the importer appears to place all of the element into many nested groups and creates folders in my library. Is there a way to import the graphics from illustrator as flat shapes rather than these nested groups?
Currently I am importing into Flash and having to go into each group and cut the shapes out and paste them into an empty MovieClip which is very time consuming.
View 1 Replies
Feb 26, 2009
when I inserted the code some of the symbols on stage disappeared. This did not surprise me because I did not understand the code, but then when I deleted the code it did not revert back. I dismantled the frame and dragged new symbols on stage and I still could not see them when I tested the movie. Checked to see if any code was written anywhere else but could not find any. The only code I had was a gotoAndStop which I was using simply to view that specific frame. when I removed the gotoAndStop finally the images appeared. If I placed a stop on the frame I wanted to view, then it worked fine but a gotoAndStop did not work as I was left with a white screen. Finally I had to recreate everything in a new document and then the gotoAndStop worked, but I have noticed that if I drag certain components on stage then I have a similar disappearing act.
View 5 Replies
Aug 28, 2009
way programmically in flash to detect the edges of imported artwork (artwork that has transparent background)? I am hoping to build something that detects the edges (or boundaries) of artwork and then place other objects around those boundaries. (so they dont touch too much or overlap).
View 4 Replies
Aug 7, 2011
What is the best way to create artwork for cross platform mobile application that is made using Adobe air. This application runs on iphone,iphone4,ipad,ipod,android,blackberry,desktop.
View 1 Replies
Sep 12, 2011
I am working on Adobe air for making a cross-platform project which is running on iOS, Android, Mac and windows. I have a plan to make it runnable on web as well. I am looking for the best approach for making artwork for this project as it is crossed platform. Right now I am thinking to separate backend logic from front-end i.e put layout for every platform separately.
Web ---- Desktop ----------- Mobile
-------> (Logic)
View 1 Replies
Mar 7, 2007
I'm trying to work with an .XML playlist. I actually need it to do a lot of things that I can't figure out how to do.. I'm sure there are tons of you out there who know exactly what to do.. [URL] I'm tried this, and it works, only I can't load album artwork using this. I also want to add a few other data fields, I would like when you click on the song title to play the audio track, but also show the Artist name, the song title, the artist record label, a link to the artists website and a short section for comments from the artist about the song. Is it possible to do something like this, using this tutorial? <song title="song" artist="artist" src="mp3s/song.mp3" /> How would I add an image to this? I want to display album artwork in the audio player.
View 2 Replies
Oct 9, 2008
Is it possible these days to dynamically load in vector artwork to flash?
View 6 Replies
Jan 6, 2010
I'm making some elearning courses and we are trying to combine semi-automation with the ability to place artwork and content on the timeline. Basically we have a series of small tasks -- read this, click this button, see the result, and so on. We have a "highlight" area component that indicates the area a user is to click. Currently that component dispatches and event from the instance when it is clicked and the main timeline is listening for the event and then moves them ahead to the next task when they have clicked properly.
So the following code:
myClickAreaInstance.addEventListener("clicked",handleClick)
And the handleClick function and removing the listener all has to be handled on the timeline. And for a given task there might be an intro animation and the click area component might not come in until the end. So where to put that code and how to automate it becomes tricky. So I first dug up AsBroadcaster and could use it sort of like Mouse or Key classes.
AsBroadcaster.initialize(ClickArea)
ClickArea.addListener(this);
function clicked(obj){
//handle click broadcast
[Code] .....
Would it be better to us AsBroadcaster or EventDispatcher?
View 1 Replies
Sep 10, 2010
I've been thinking about flash and html5 and though each of them can draw circles, rectangles, curves, and do things with images, doesn't it really come down to the artwork? Game play aside (I know ugly games can be fun), all the talk about which looks best canvas or flash or something else, kind of moot? Don't the great games, graphically speaking, have great artwork and modeling so that as long as the engine can handle it, the programming anything other than events associated with those models and artwork doesn't matter? I'm watching my kid play Frontiersville on Facebook and I'm thinking, I could program those events but it's the artwork that's grabbing people and good gameplay keeps them. In the end does the platform really matter for games?
View 2 Replies