Custom Actions XML Definition File
Does anybody knows where can be found the sintax for the XML Definition Files that the Action Script CutomActions.install() method imports ? They don't say anything about the sintax for this file, they just give this example:<?xml version="1.0"?><customactions> <actionspanel> <folder version="7" id="DogClass" index="true" name="Dog" tiptext="Dog Class"> <string version="7" id="getFleas" name="getFleas" tiptext="gets number of fleas" text=".getFleas(% fleas %)" /> </folder> </actionspanel> <colorsyntax> <identifier text=".getFleas" /> </colorsyntax> <codehints> <typeinfo pattern=" _dog" object="Dog"/> </codehints></customactions>As far as i have found googling, there are plenty of undocumented tags and properies (index, sort, helpid, id, name, colorsyntac, codehints, etc.)Thanks you a lot!
Adobe > ActionScript 1 and 2
Posted on: 12/12/2006 03:38:02 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
5006: An ActionScript File Can Not Have More Than One Externally Visible Definition?
I am a AS3 n00b...
I can't figure out what is wrong with the code below. the runtime error in Flash cs3 says:
5006: An ActionScript file can not have more than one externally visible definition: jay.interactive.DisablingButton, jay.interactive.setParent
Here is the code:
Code:
package jay.interactive{
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import fl.transitions.easing.*;
import jay.interactive.ButtonSet;
public class DisablingButton extends MovieClip {
var labels:Array;
var thisParent:*;
var thisIndex:int;
public function DisablingButton() {
labels = this.currentLabels;
this.addEventListener(MouseEvent.CLICK, disableButton);
this.addEventListener(MouseEvent.ROLL_OVER, over);
this.addEventListener(MouseEvent.ROLL_OUT, out);
this.addEventListener(Event.ADDED,setParent);
}
function disableButton(event:MouseEvent):void {
for (var i:int = 0; i
if (labels[i].name == "disable") {
this.gotoAndPlay("disable");
}
}
this.removeEventListener(MouseEvent.CLICK, disableButton);
this.removeEventListener(MouseEvent.ROLL_OVER, over);
this.removeEventListener(MouseEvent.ROLL_OUT, out);
enableOthers();
}
function enableButton():void {
this.addEventListener(MouseEvent.CLICK, disableButton);
this.addEventListener(MouseEvent.ROLL_OVER, over);
this.addEventListener(MouseEvent.ROLL_OUT, out);
this.gotoAndStop(1);
}
function over(event:MouseEvent):void {
for (var j:int = 0; j
if (labels[j].name == "over") {
this.gotoAndPlay("over");
}
}
}
function out(event:MouseEvent):void {
for (var k:int = 0; k
if (labels[k].name == "out") {
this.gotoAndPlay("out");
}
}
}
}
function setParent(event:Event):void {
if (this.parent is ButtonSet) {
thisParent=ButtonSet(this.parent);
for (var w:int=0; w
if (this == thisParent.buttons[w]) {
thisIndex=w;
}
}
}
}
function enableOthers():void {
for (var z:int=0; z
if (z != thisIndex) {
thisParent.buttons[z].enableButton();
}
}
}
}
Any ideas? thanks in advance!
Adding Actions To A Custom Cursor
Hello,
I've just made a custom cursor. It moves around but it hasn't any actions assigned to it (I can't click a hyperlink with it...)
I searched flashkit, but I couldn't find anything about assigning actions. Is it hard to explain me how this works? Or does anyone have a good reference on the internet?
Thank you in advance!!
Actions For Custom Flash Button?
i was following the tutorial here http://www.adobe.com/devnet/dreamwea...h_buttons.html
I'm making a submit button that sends the persons email to me to receive updates, but the part I'm stuck is with the actions
and what actions do i enter to receive the email, and maybe allow a pop up window to verify confirmation. And lastly how do i get it to connect to my host?
any ideas anyone? thanks.
Edit The Actions Of A .swf Without The .fla File
i was sent a very funny .swf file and i want to make it a screensaver with my screentime software but at the end it has a play again button and that is no good for a screensaver so is there a way to edit the actions of the .swf without using the .fla file. and i have tried to import into flash MX04 and MX but it just makes 700 keyframes and no sound or animations.
can anyone help.
Extracting URL Actions Out Of SWF File
Hello,
Is there a way (with PHP, Perl, or other method) to extract the URL Actions out of an SWF file? I would like to be able to upload swf files to an online directory and have a script scan the swf files and ouput a list of getURL's for each file. Any ideas greatly appreciated.
Thanks!
Please Help, Can't Find Actions I Need In Flash File
Below is a link to a template that I am trying to edit. When you mouse over the left, right and middle areas of the main page, the images expand and when you click them they go to sections.
All I want to do is make it so that when you click on the left and right images, you go to index1.html and index2.html and the middle doesn't go anywhere.
The problem is I can't find the button(actionscript?) for those images.
Can someone help me out?
Here is a live preview link to the file:
http://etwdesign.com/test.html
Here is a link to the actual fla(5mb):
http://etwdesign.com/stuff.zip
any help would be GREATLY appreciated
[F8] Swf/html File Do Not Show Actions
I'm so new to this...when I publish the swf/html files, I don't see any of the actions that were created on the layers...I am using three different masks subsequently (using a b/w photo under a color one, placing a mask layer on top, then creating motion of the shape to show different color portions of the b/w picture). I have three different scenarios of this beginning in a frame on another layer (beginning after the last keyframe of the first mask with pictures) above the previous showing a different section of the color photo using another mask...what am I doing wrong? During the Test Movie and even when I publish it, all I see is the b/w photo. PLEASE HELP!
Help To Log User Actions To File For Web Statistics?
Hi,
im building a full flash based website and im looking for the best way to log the user's actions (mouse actions, etc).
im aware flash is client based and it might involve the need to post these actions to the server somehow.
i looked into the xray component but it seems to be for debugging purposes.
any ideas anyone ?
Thanks
Adding Sound File To Actions
I'm trying to add a short .aif sound file to an action to the navigation buttons on http://splashgrafx.com/clapboard/stageshome.html
How do I add the .aif file so that is plays before the clapboard movie plays? I want the new sound to play after someone clicks on the button but before the clapboard movie plays.
The current Actions for the About Us button is:
On (Release)
Begin Tell Target ("/board")
Go to and Play (2)
End Tell Target
Get URL ("aboutus.html")
End On
_______________________
My main operating system is Mac OS 10.4.8 but my Flash 4 program I'm using for this is back in my Mac OS 9.
Want SWF File With AS3 Code Actions FLA In Other Computers
I am very new to Flash CS3 and I create a simple file with some AS3 code. I will see that if i press control + enter. But problem is, I copied the fla file and want to see somewhere in another computer. but the As3 code not recognized and not working. How to overcome this. Plaese help me
Want SWF File With AS3 Code Actions FLA In Other Computers
I am very new to Flash CS3 and I create a simple file with some AS3 code. I will see that if i press control + enter. But problem is, I copied the fla file and want to see somewhere in another computer. but the As3 code not recognized and not working. How to overcome this. Plaese help me
How To Load An Image From Actions In Txt File?
Hi I need to load images dynamically (banners with links) from a txt file which can be easily edited by any newbie. I have placed a blank mc in the swf to load the image. So far I am only able to load them in flash directly but it wont help in the long run. Please recommend a tutorial url or if you have time explain me the code.
How To Load An Image From Actions In Txt File?
Hi I need to load images dynamically (banners with links) from a txt file which can be easily edited by any newbie. I have placed a blank mc in the swf to load the image. So far I am only able to load them in flash directly but it wont help in the long run. Please recommend a tutorial url or if you have time explain me the code.
How To Load An Image From Actions In Txt File?
Hi I need to load images dynamically (banners with links) from a txt file which can be easily edited by any newbie. I have placed a blank mc in the swf to load the image. So far I am only able to load them in flash directly but it wont help in the long run. Please recommend a tutorial url or if you have time explain me the code.
Loading Actions From A Text File?
well i only know how to use a text file for dynamic text
if for example i want change the width of an an object called "BG"
how can i change the width threw an external text file?
is it possible at all?
thank's VERY MUCH in advance, z00m
Button Actions Do Not Work Within Loaded .swf File
Ok here is what I am trying to do without much luck. On my main timeline I have a button for navigation which does the following when pressed:
on (release) {
_root.contents.loadMovie("overview.swf");
}
This obviously loads the "overview.swf" file which is a subcatagory, in a blank movieclip "contents" on the main timeline. Now within this "contents.swf" is another menu (draggable) which is suppose to go to and stop at various frame labels such as "why." The action I have on the buttons within this draggable menu does this:
on (release) {
_root.gotoAndStop("why");
}
Now, when I preview this "overview.swf" on it's own the buttons work great no problems, but then when I go to preview my main movie that loads this "overview.swf" file then nothing happens.
Any clues or suggestions as to what I am doing wrong?
TIA
Michael
ActionScript File Editor Vs Actions Panel
Is anyone else just supremely annoyed they did this this way? By this I mean having the editing of an actionscript file take up the work area and ghost out the actionscript editor. If you're working back and forth between fla and as, you're jumping back and forth between two separate windows that are potentially the same thing. With one monitor, this is a pain in the arse too because you have to keep ditching and reviving the actionscript panel whenever you switch.... and yet, its the SAME thing as the actionscript editor in the workspace :mad:
luckily the actionscript editor allows export. So, as an alternative, create an simple shape movieclip in your library (no linkage) and write scripts there to export out .as files with. Keep an instance on the screen handy in areas you are programming in so you can double click it to access your scripts. Just be sure you delete all instances before testing or publishing.
ActionScript File Editor Vs Actions Panel
Is anyone else just supremely annoyed they did this this way? By this I mean having the editing of an actionscript file take up the work area and ghost out the actionscript editor. If you're working back and forth between fla and as, you're jumping back and forth between two separate windows that are potentially the same thing. With one monitor, this is a pain in the arse too because you have to keep ditching and reviving the actionscript panel whenever you switch.... and yet, its the SAME thing as the actionscript editor in the workspace :mad:
luckily the actionscript editor allows export. So, as an alternative, create an simple shape movieclip in your library (no linkage) and write scripts there to export out .as files with. Keep an instance on the screen handy in areas you are programming in so you can double click it to access your scripts. Just be sure you delete all instances before testing or publishing.
Button Actions Won't Work After File Is Exported
I have created an interface that is made up of three different swf files, so that I can achieve fast download times.
One of these swf files contains a button that is supposed to stop the animation within that swf. The button's actions work fine, when that file is being tested, on its own. But when I export it and call it within the interface, the button no longer works. The roll overs work, but the actions do not.
I assume that it has something to do with other files that load on withing the interface...but I haven't been able to find any information on the subject. Does anyone have any suggestions?
Thanks, Jenny
How Do You Add Custom Sound To Your File.
Hey, i just wanted to know how to add custom sounds to your flash. I know how to add defualt sounds already stored in the program. But say I wanted to record me saying "hello" into a microphone, and put it into the frames of Macromedia Flash MX. Would I have to use a different program like audacity? Anybody can give me a short tutorial, step by step, would be very helpful! Thx
Convert Swf File To Mpeg With Multiple Load Movie Actions
Can anyone tell me how to convert a .swf file to a .mpeg file? I have a flash movie that uses multiple Load Movie actions to import music so that it plays smoothly across multiple scenes...
now i need to make it compatible for television! How on earth do I do that!
I have seen various software out there claiming that they can convert swf files to mpeg but they are all windows platform only...are there any out there for mac?
and can i convert my file when it loads two seperate swf files using the load movie action?
Please help!
Inserting A Custom Jpg Or Graphic File
Hey Im wondering how to insert a photoshopped pic into a draw object into flash...
For example, a scene of the (A)stars in the sky into a drawn (b)5 pointed star so that the only part or (A) shown is whats contained in (B).
Basically I'm not happy with the fill colors I've used in my fla and wanted to know if I could insert custom pictures in it.
Parse Custom Text File
I've made a config application that output's a config file as below, what I'm wondering is if it possible to reload the text back into flash to pull the variables from it again.
It can ignore any line beginning with ';'
If it helps I'm using Flash MX 7.2 & the latest release of mProjector.
; display flubber anim
doStartupAnimation = 1
; do dvd drive check
doDvdDriveCheck = 0
; do not reset when pressing on eject
noResetOnEject = 0
; 255 characters max here, format is <drive>:<path_to_xbe>.xbe, e.g. "f:dashesavalaunch.xbe"
; keep all paths lowercase just in case you have any issues with dashboards booting
dash1Name = c:avalaunch.xbe
dash2Name = c:evoxdash.xbe
dash3Name = c:unleashx.xbe
dash4Name = c:xbmc.xbe
dash5Name = c:xboxdash.xbe
; the xbe name of the title image loaded from dvd on startup, 16 chars max!
dvdBootXbeName = default.xbe
; flubber (blob) colors
colorBlob = ff26ff3f
colorBlobGlow = 00a0ff40
colorGreenFog = 00a0ff60
colorFlubberScene = ff35ff19
colorFogGlowStart = ff00ff00
colorFogGlowEnd = 009fff66
AS 2.0: Custom Class Does Not Parse XML File
hi,
lately, I've been trying to mess around with self-made classes in actionscript 2.
I want to write a class that loads and manages XML data, but I fail already at parsing the XML file in my class (the class resides in a text file called "DataManager.as").
What's wrong with this basic construction?
PHP Code:
class DataManager {
private var xFile;
/////////////////////////////////
//no Constructor
/////////////////////////////////
public function initialize ()
{
xFile=new XML();
xFile.ignoreWhite=true;
xFile.onLoad=processXML;
xFile.load("matches.xml");
}// end initialize
private function processXML(success)
{
trace("processXML");
if (success){
trace(xFile.status);
trace("load success");
trace("FirstChild-ChildNodes: "+xFile.firstChild.childNodes.length);
trace(xFile.firstChild.nodeName);
}// end if
}//end processXML()
}//end class
The file is there, it gets loaded (success becomes true) but xFile.status, xFile.firstChild etc remain undefined. When I load and parse the file using these two functions outside of the class, everything's fine. What's wrong? Do I have to import something to make XML parsing possible in a custom class?
Any help is appreciated, thanks in advance...
Can't Access Custom Classes In My .as File
Hey,
I have created 3 custom classes in flash for the project I am currently working on. I also have created my ActionScript file for which the entire program is based on. My problem is that I cannot access any of these classes from my main .as file at all.
The only code in my .FLA is "#include "menu.as" ". All 4 of the files in question are in the same directory. Does anyone know why this is? It is something that I would really like to figure out ASAP (so I can go home tonight ).
Thank you very much,
--D
Problems Reading Through A Custom XML File
OK - I've spent the morning on this and I simply cannot get my head around why I cannot get this work.
The scenario is that I need to load an XML document that I've structured, e.g.
HTML Code:
<?xml version="1.0" standalone="yes"?>
<data>
<project name="MyProjectName1">
<desc>something as a description</desc>
<report>myDir1
aport.doc</report>
<video>myDir2video.flv</video>
<reportPPT>myDir3powerpoint.ppt<reportPPT>
<supportFiles>
</supportFiles>
</project>
<project name="MyProjectName2">
<desc>maybe this, maybe that - who knows?</desc>
<report>myDir1
aport.doc</report>
<video>myDir2video.flv</video>
<reportPPT>myDir3powerpoint.ppt<reportPPT>
<supportFiles>
<filename type="htm" displayTitle="Sample Web Pages">myDir4index.htm</filename>
<filename type="xls" displayTitle="Sample Excel Signs">myDir4Signs.xls</filename>
<filename type="ppt" displayTitle="Sample Powerpoint">myDir4interactive.ppt</filename>
<filename type="doc" displayTitle="Sample Word">myDir4wordDets.doc</filename>
</supportFiles>
</project>
</data>
Now basically, I want to loop through the project elements (to start with) - however, whilst I can easily access the first project element...
Code:
// Where this.mData is my XML object
this.mData.childNodes[1].childNodes[1].attributes.name
// This will return 'MyProjectName1'
However, I cannot move to the next project element and the length of the childNodes, e.g.
Code:
this.mData.childNodes[1].childNodes.length
...is always two, but I can only access the second entry with the first entry being 'null'? I would expect the number of elements to actually be 3 (assuming that the first element is null) and access Project 1 using index '1' and Project 2 using the index '2'.
I've always been comfortable dealing with XML (I'm a .NET developer) but I seem to be seriously missing something here. Can any direct me or point me in the direction on how to navigate through this XML document so I can successfully loop through 'project' nodes and I guess the 'supportFiles' nodes.
Any help is very appreciated...
FMS3 And A Custom File Plugin
Hello,
Over the last couple of weeks I have been developing a custom file plugin to enable
FMS to work with our in-house, proprietary asynchronous file system. Every now and then, when playing multiple streams,
I experience a complete playback halt, all streams stop playing, yet my plugin seems to still be running. How can I
debug the server (using GDB doesn't seem to do the trick) or enable high verbosity levels, to try
and determine who is at fault?
Thanks,
Gilad
Custom Scroller With External File
Yesterday i tried to made a custom scroller (got the tutorial from kirupa, flash8) I modified it by load the text from external file(.txt). I used dynamic text for that purpose. But i couldn't get the text._height variable correctly, since the text._height variable equal to the height of the dynamic text's box i have made before. So even the loaded text was longer than the box, the variable wouldn't change and the scroller didn't work correctly. Is there any way i could get the variable correctly? Sorry for my creepy english...
How Launch A New Custom Window From A Projector File?
hey all.. I have to make a no scroll / menu bar pop up window.
I do this all the time from flash files in HTML, but the html contains javascript, so how do i launch a new browser to my specifications from a .exe???
Custom Size For An Array From An External File
I have a problem where I have a flash file that constantly loops. It reads 3 different variables from a txt file and outputs their data. I also have it refreshing the swf so that when I change data in the .txt file it updates it realtime in the swf without having to reload the file. but what I also need is a way to tell it to make an array a certain length to populate this data. And instead of a fixed size as it is right now, to make it X long where X is declared in the .txt file that i am using.
here is the code that im currently using:
Code:
loadVariablesNum("childdata.txt", 2);
imageNum = 0;
Ext = "image";
imagelist = new Array(ArreySize);
for (i = 0; i < ArreySize; i++)
{
imagelist[i] = Ext + (i + 1) + ".jpg";
}
and ArreySize is set to "3" right now for testing purposes.
my .txt file looks like this:
&test= true
&length= 3
&pic0= Julie Smith
&test0= 2
&check0= 3
&pic1= Jane Smith
&test1= 5
&check1= 6
&pic2= John Doe
&test2= 8
&check2= 9
now there is more code to it, but thats the code that i need to get the length variable from the .txt file and add it to the array size.
This thing is driving me bonkers. ive been working on this project for 2 days already.
ANY help would be greatly appreciated.
and i dont know if its important but im using flash 8 professional
Open A Custom Html Window From A Flash File
Hail!
I'm doing a cd business card using flash mx. There is a section which I need to load in a custom html window.
I know you can do that inserting the flash file into a html file, but this is not the case, the flash file will not be inserted into a html file.
So my question is: how can I open a custom html window from a flash file?
also the flash file will be in fullscreen mode. How can I force the html file to be the first to be seen in the screen? (the problem is that when I open the html file, it loads minimized)
thanks in advance
Rodolfo Rogers
How To Open A Custom Html Window From A Flash File?
Hail!
I'm doing a cd business card using flash mx. There is a section which I need to load in a custom html window.
I know you can do that inserting the flash file into a html file, but this is not the case, the flash file will not be inserted into a html file.
So my question is: how can I open a custom html window from a flash file?
also the flash file will be in fullscreen mode. How can I force the html file to be the first to be seen in the screen? (the problem is that when I open the html file, it loads minimized)
thanks in advance
Rodolfo Rogers
Help With Custom Scroller With Externally Loaded Text File
Basically, my problem is that the dragger will not scroll all the way down and I have no clue how to fix it. It works well when there is a lot of text in the text file but when there isn't, the dragger does not behave as it should.
Here is my file so hopefully someone can help me out here.
Thanks a lot,
Prich...
Its done with mx 2004 btw
Custom Video Player (swf File) Not Playing On Website?
JUST CREATED A CUSTOM VIDEO PLAYER AND IT WORKS IN FLASH BUT WON'T PLAY PROPERLY IN DREAMWEAVER AND ON THE ACTUAL SITE
http://www.champmagazineonline.com/media.html
IT'S THE FIRST VIDEO THAT HAS THE PLAYER BUT CONTROLS WONT WORK
I'VE ALSO UPPED THE FLV FILE ON MY SERVER AND IT STILL HASNT MADE A DIFFERENCE
ANY HELP?
Execute A Function When Custom Class Has Finished With XML File...
I'm a bit new to using external custom classes so I'm having problems with it. I'm unable to find a good example of how to do this, or if it's best coding practice. Any help would be appreciated.
I've written an XMLLoader class and I'm instantiating it from the timeline of an FLA:
ActionScript Code:
var xmlLoader:XMLLoader = new XMLLoader("myXMLFileURL.xml");
Here's the code that handles the XML loading in the XMLLoader class:
ActionScript Code:
private function loadXML():void {
_xmlLoader = new URLLoader(new URLRequest(_xmlURL));
_xmlLoader.addEventListener(Event.COMPLETE, onXMLLoaded);
}
private function onXMLLoaded(event:Event):void {
//parse and process the XML nodes data into 3 arrays
// Can I send the FLA a message from here to tell it to execute a function?
}
I'd like the FLA to execute a function when it's finished it's business with the XML. I've tried this on the FLA timeline:
ActionScript Code:
xmlLoader.addEventListener(Event.COMPLETE, xmlCompleteHandler);
function xmlCompleteHandler(event:Event):void {
trace("xmlCompleteHandler: " + event.target);
}
...but obviously this doesn't work. What's the best way to go about this?
Custom Date Slider: Partially Working Download File
Hi,
I have a customer slider I am working on where the users can select date range from current date to upto 30 days backward by either clicking on ticks on the slider bar or draggging a knob. A partially working example is at:
http://www.alphaobjects.com/_temp/DateSlider.rar
I am having problem making the knob to show the tooltip at appropriate points in on the slider bar. I don't know what could be wrong: I have an onEnterFrame attached to the knob movie clip programmed to see if the knob has successful hitTestObject to the ticks on the slider bar; the ticks are stored as DisplayObjects in a 'myChildArray' object.
Any ideas? Please feel free to download the file and use to for your purposes. And if you can fix the problem I am having then I will be grateful if you can email me the fixed file.
Thanks!
MX UI Definition
Can anyone help me clarify about the definition of the FlashMX IDE - UI icon definitions?
Thanks a lot.
Definition
hi!
can someone explain me what means this syntax in simply words?
Code:
rich = Math.round(Math.random()*2-1);
and how to know when it is true of false like
if(rich == true) {
do_something
} else {
do_nothing
}
suggestions?
thanx in advance!!!
Ref: Url Definition
In the following code segment, where is "clip" defined?...
function preload(clip) {
picture.loadMovie(clip);
Apparently syntax is:
loadMovie("url",target [, method]) does this mean that the "url" is clip?If so....where is clip spceified?
Thanks.
Actions Are Overriding Other Actions Or Being Caught In A Loop Only On Double Click
I have a movie which I use actionscript to move things on/off stage to create different pages. Everything works great unless you double click a button.
When double clicking it makes objects "stick" in place and they will not move even though another command should make them move off stage (movie gets stuck). On a single click, the objects do what they are commanded to do. I even tried setting a variable to disable the button click if it has already been clicked. What causes this?
In the code below, the objects in the function home() will not leave the stage once the services button is double clicked (they are commaned to ease off the stage once other mc's are pressed) . BUT it works if only the services mc is only single clicked...please help. I'm pulling my hair on this one and about to start pulling my teeth.
if (_global.whichMovieLoaded != "services" && _global.isMovieLoaded != "stop") {
_global.whichMovieLoaded = "services";
services.onPress = function() {
remove();
function Pause() {
// bring home
home();
clearInterval(PauseInterval);
};
PauseInterval = setInterval(Pause,1000);
valet.easeY(400, 1.09);
itinerary.easeY(425, 1.09);
dining.easeY(400, 1.09);
ground.easeY(425, 1.09);
};
};
function remove(){
valettxt.fadeOut(9);
diningtxt.fadeOut(9);
itinerarytxt.fadeOut(9);
groundtxt.fadeOut(9);
mindtxt.fadeOut(9);
nauticaltxt.fadeOut(9);
scenictxt.fadeOut(9);
terrtxt.fadeOut(9);
mind.easeY(650, 1.09);
nautical.easeY(650, 1.09);
terr.easeY(650, 1.09);
scenic.easeY(650, 1.09);
valet.easeY(650, 1.09);
itinerary.easeY(650, 1.09);
dining.easeY(650, 1.09);
ground.easeY(650, 1.09);
logo.easeX(950);
imageLoader.unloadMovie();
};
//takes objects back to the home page
function home(){
maui.easeX(200, 1.09);
con.easeX(200, 1.09);
bar.easeX(625, 1.09);
patio.easeX(400, 1.00);
patio.fadeIn(2);
discover.easeX(625, 1.09);
discover.fadeIn(1);
imageLoader._alpha = 0;
VIP.fadeIn(.9);
};
Actions On The Main Page..do They Affect Actions On Movie Buttons?
ON the home page I've created, the buttons I used with the code in my previous thread ("two questions about HTML publishing and buttons"), I added an on rollover action to the actions layer of the main timeline (not the movie button timeline) so that on rollover, a picture would change according to the button that was rolled over. I did this for all three buttons. The rollover action works great, but now the links don't work in either the html OR the swf version. Would the added action disable the movie-clip button actions? Here's the added main timeline code, edited for space: photobtn_mc.onRollOver = function() {
gotoAndStop(2);
photobtn_mc.onRollOut = function() {
gotoAndStop(1); ( Again, help is greatly appreciated!)
Gradient Definition Bar Is Gone Please Help
Okay, I've been having a headache over this, and I was wondering if anyone can help. I couldn't find any info on this.
Whenever I open the color mixer using "linear" in FLASH MX, the "gradient definition bar" used to appear. But for some odd reason it dissappeared all of a sudden and I can't get it back up. (See image below)
Is this a known issue or a bug? Is there anyway to fix it? Or do I have to reinstall FLASH MX everytime this happens?
Please help. I would greatly appreciate this. Thanks.
Code Definition
what means: this.onRollOut = function()
and what is the diference with: bg.onRollOut = function()
XML In A Class Definition
Hi all...
I'm loading XML directly into a class definition for the first time. My problem is that when I run the code below, the results I want traced come up as blank..nothing. It's loading the file, but obviously not parsing or reading it properly. Any help is very much appreciated. Thanks...
Code:
class rotator {
private var rotatorXML:XML;
private var XMLPath:String;
function rotator() {
}
public function init(XMLPath:String):Void {
rotatorXML = new XML();
rotatorXML.ignoreWhite = true;
rotatorXML.load(XMLPath);
rotatorXML.onLoad = function(success) {
if (success) {
trace(rotatorXML.firstChild);
} else {
trace("this ain't workin");
}
}
}
}
Script Definition?
Could someone please explain what this script means?
ActionScript Code:
myMovieClip.onEnterFrame = function() {
this._x += (xMove1-this._x)/easeSpeed;
};
|