AS In FlashMX 2004
Hi guys, ive just upgraded to FlashMX 2004 and was wondering if there was a way to change to normal mode in the ActionScript? Thanks in advance.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
What Is The Differance Betwwen Flashmx & Flashmx 2004( ACTION SCRIPT)
hi everybody,
i know that u will c my question as a general question ,
so i hope i can find a simpla answer for it ,
so i want to know the differance between flashmx actionscript & Actionscript 2.0 , cause i find that its a little bit harder , and i didnt know how to switch between the begginer and the export mode in coding.
Bug In FlashMX 2004?
I noticed today that if you load a swf containing a ComboBox, into the Loader component, then the ComboBox actually stop working.
Someone else had this problem?
I've been trying to figure this out for quite a while now, but I can't seem to make it work. Very annoying...
FlashMX 2004
Hi All,
I have a question. I would like to create a type of slide shoe with next and back buttons that a customer would click on to go to nest picture or back to last picture. I tried to set the pictures in a frame by frame sequence. Added the next and back buttons.
On the next button action-=go to next frame and on the back button action=got to previous frame. When I test it it didn't work.
Does anyone have any ideas on how to make it work?
Best,
Joy
FlashMX 2004 Professional Vs. JSP
We have an database application here done in JSP, for 1 department. Now they want to add another departments database application into this one, so that both dept's use the same app for all their stuff.
Sounds good, but I'm trying to convice management that the better way to go is with FlashMX 2004 for the app, with the screens, etc. (I recently took the Macromedia training course). I like the Flash app better, no page refreshing, data binding (like the bike trip example on Macromedia's site: change something, and the total is automatically recalculated.)
To be fair though, I don't know much about JSP. I'm looking for some sort of comparison, white paper, etc, that compares and contrasts JSP with FlashMX '04, so that I can enumerate to my managers exactly why we should move to Flash.
Any suggestions? I checked Macromedia's site for any white papers, but couldn't find much. Any help is appreciated, thanks!
JavaScript In FlashMX 2004
I am faily familiar with JavaScript so I am comparing using JavaScript in Flash. The following code is valid in html pages but not in Flash. What should I do differently?
function theclock()
{
var rightnow=new Date();
var thehours=rightnow.getHours();
var themins=rightnow.getMinutes();
var theseconds=rightnow.getSeconds();
if (thehours<10)
thehours="0"+thehours;
if (themins<10)
themins="0"+themins;
if (theseconds<10)
theseconds="0"+theseconds;
window.time1=thehours+":"+themins+":"+theseconds;
}
SetInterval("theclock()",1000);
I have a dynamic text field called time1 as a variable name. Im trying to get this simple clock to show in this field.
thank for any help you can give.
Flashmx 2004 .swf Prob
i created an interactive flash movie in Flash MX awhile ago and now when i opened it in flash mx professional 2004, it doesn't work right. some text i know is there, in the right place, ends up off the stage and invisible in .swf format. also, 2 of my animated movies within the movie does not load when the button is clicked.
the .exe form of it that i had published from flash mx before works great.
any ideas.... greatly appreciated!
cosmo
Scrolling Bar... FLASHMX 2004
hey, i am struggling to get my scroll bar working. i keep getting error msg :
**Error** Scene=Scene 1, layer=button, frame=1:Line 1: Mouse events are permitted only for button instances
on (rollOver) {
**Error** Scene=Scene 1, layer=button, frame=1:Line 6: Mouse events are permitted only for button instances
on (rollOut, dragOut) {
How do i check if my button is an instance? i've named it in the properties panel.
Preloading In FlashMX 2004
Hi all...
I don't know if this has been addressed, but I'm facing a deadline and can't figure out for the life of me why this won't work.
I have a very simple movie that consists of two scenes, preloader and main.
In preloader right now, I have two frames. As is always the case in most preloaders, the second frame says gotoAndPlay(1); while the first frame says:
if (_root.getBytesLoaded() ==_root.getBytesTotal()){
gotoAndPlay("main", 1);
}
However, when I Test Movie, it stops at Frame 1 of main. I have to right-click and choose Forward to get it to go.
Can anyone explain why this could be happening? Feel free to move to newbie section if I'm doing something really obvious that I'm just not catching.
FlashMX 2004/XML Slideshow
Hi, I am a noob to the flash XML stuff. I have been working on a website for a local realtor and I am tring to setup a flash slide show for their listings. I got the slideshow working but I am having problems getting it to be automated with controls could someone help me please? Here is the code I have so far--
Code:
slides_xml = new XML();
slides_xml.load("slideshow.php");
slides_xml.onLoad = startSlideShow;
slides_xml.ignoreWhite = true;
//
// Show the first slide and intialize variables
function startSlideShow(success) {
if (success == true) {
rootNode = slides_xml.firstChild;
totalSlides = rootNode.childNodes.length;
firstSlideNode = rootNode.firstChild;
currentSlideNode = firstSlideNode;
currentIndex = 1;
updateSlide(firstSlideNode);
}
}
//
// Updates the current slide with new image and text
function updateSlide(newSlideNode) {
imagePath = newSlideNode.attributes.jpegURL;
slideText = newSlideNode.firstChild.nodeValue;
address = newSlideNode.attributes.address;
city = newSlideNode.attributes.city;
zip = newSlideNode.attributes.zip;
loadMovie(imagePath, targetClip);
}
//
// Event handler for 'Next slide' button
next_btn.onRelease = function() {
nextSlideNode = currentSlideNode.nextSibling;
if (nextSlideNode == null) {
break;
} else {
currentIndex++;
updateSlide(nextSlideNode);
currentSlideNode = nextSlideNode;
}
};
//
// Event handler for 'Previous slide' button
back_btn.onRelease = function() {
previousSlideNode = currentSlideNode.previousSibling;
if (previousSlideNode == null) {
break;
} else {
currentIndex--;
currentSlideNode = previousSlideNode;
updateSlide(previousSlideNode);
}
};
and here is the XML doc --
Code:
<Slides>
<slideNode jpegURL="images/1818ChiprockFront-3.jpg" address="1818 Chiprock Dr" city="Marysville" zip="43040">$259,900.00 </slideNode>
<slideNode jpegURL="images/44EBomfordfront-3.jpg" address="44 E. Bomford" city="Richwood" zip="43344">$119,900.00 </slideNode>
<slideNode jpegURL="images/16518lakewoodlanefront-3.jpg" address="16518 Lakewood Ln" city="Marysville" zip="43040">$224,900.00 </slideNode>
<slideNode jpegURL="images/976Militaryfront-3.jpg" address="976 Military" city="Galloway" zip="43119">$227,900.00 </slideNode>
<slideNode jpegURL="images/31195 sr37front-3.jpg" address="31195 SR 37" city="Richwood" zip="43344">$136,900.00 </slideNode>
</Slides>
Pixel Art In FlashMX 2004 Pro
Hey everyone, I was wondering if someone could help me with a prob.
I have been doing pixel art in fireworks for a while now and also started making simple games in flash. What I want to do is combine both of these to make somthing cool but when i take the pixel art in to flash (many formats tried) iit looks crappy.
Any suggestions.
Cheers Rhyso
FlashMX To MX 2004 Problem
I made a .fla file on flashMX (Mac) ...... When i try to open that file in flashMX 2004 (PC) it said invalid file
Anyone else had this problem?
Sandman9
FlashMX 2004 Actions Panel
Hi,
Can anyone tell me why the very useful drop down panels on the bottom of the Actions boxes have been removed in FlashMX 2004? These were excellent if, like me, you weren’t an expert in Actionscript. When defining buttons etc they were ideal as they had panels like Scene/Type and Frame, and on FSCommand they had Command/Arguments and Commands for Standalone player, all of which were useful. Is this anything to do with the now defunct Normal and Expert mode? Does anyone know if these boxes (or an equivalent) are still on the program and I am missing them?
Any help would be appreciated.
Designer1.
FlashMX 2004 Actions Panel
Hi,
Can anyone tell me why the very useful drop down panels on the bottom of the Actions boxes have been removed in FlashMX 2004? These were excellent if, like me, you weren’t an expert in Actionscript. When defining buttons etc they were ideal as they had panels like Scene/Type and Frame, and on FSCommand they had Command/Arguments and Commands for Standalone player, all of which were useful. Is this anything to do with the now defunct Normal and Expert mode? Does anyone know if these boxes (or an equivalent) are still on the program and I am missing them?
Any help would be appreciated.
Designer1.
_parent.nextFrame(); {FlashMX 2004}
I'm getting an error saying that this must be used inside an "on or onClipEvent" handler. This is #3 of 8 MCs that use this script and it's the only one giving the error... but it works fine. Any clues as to what's going on? Either it's not catching the other errors or there's something I'm missing.
Thanks,
FlashMX 2004 Crashes On Launch
I downloaded and installed FlashMX 2004. I am running XP with the complete SP2, 2.63 mhz, P4, 1 gig ddr ram. When I open Flash, it crashes, every time. I shut down all unnessary apps, closed my internet connection, disabled my Norton. I am at a complete loss as to why this keeps crashing. I have uninstalled it and cleaned up the registry and reinstalled it. I have gone to Macro's web site and saw this technical note:
TechNote 19046 is here:
http://www.macromedia.com/cfusion/knowle...cfm?id=tn_19046
I was told by someone else to go into my Control Panel, Administrative Tools, Services, and make sure that Macromedia Licensing Service is changed to Automatic under the start-up options, so I did. Still it crashes when I try and open it.
This is what I get when I open it:
The error splash screen message is:
Flash MX 2004 has encountered a problem and needs to close. We are sorry for the inconvenience.
The Error Signature is as follows:
AppName: flash.exe AppVer: 7.2.0.581 ModName: kernel32.dll
ModVer: 5.1.2600.2180 Offset: 0001eb33
I have attached the technical information in a text file for anyone to look at (is there really anyone out there that know how to read those things?)
I am going to purchase StudioMX Pro, but I need this issue resolved first. I just don't know what to do anymore. I am running out of trial days on using this application and I would appreciate any help.
I always keep my system updated with all MS updates, virus defs, spyware defs, and what have you. Have recently defragged it, too.
Thanks for your help,
Help Making Preloaders For Flashmx 2004
hey, i cant get preloaders to work. can anyone helpme put them on? I have been trying for about 2 weeks striaght and ive seen alot of different tutorials on just how to make them and not really on how to add them. if anyone knows where i can find one or like maybe?? i can send a .fla if anyone is interested in helping. it would help alot. thanks, cya
Database Connect With FlashMX 2004 Pro
Hi,
I was wondering if anybody knows how to connect a data source(database) to a flash application with the help of MX2004 Pro. I'm looking for a simple way and do not want to use middleware such as APS, PHP. So what I need is a direct connection to a database. Is this possible with FlashMX 2004 pro or do I need a plug-in to do that.
Please let me know!! If it's possible I would like a tutorial or an example of some kind.
Regards,
Flashmx 2004 Help Viewable In A Browser
Hi, with flash mx the help file was viewable in a browser, can you view the 2004 help in a browser too? That stupid palette for the help is crap, great if you have multiple monitors with massive resolutions, garbage if your like me and work on a laptop with a max res. of 1024x768.
Can We Use FlashMX 2004 Tutorials With Flash MX?
Hi Guys,
A question on my mind, and surely that of others on this site IS:
Can we use FlashMX2004 Tutorials, such as the
<Chromeless Pop-Up Window> Tutorial with FlashMX?
Let me know please
Thanks
Event Model In Flashmx 2004 Pro
hi everybody, i have a question: are there differences in the event model supported in flash 2004 pro in respect the previous versions?
thanks
Using Onion Skins In FlashMX 2004
Hi,
I am developer using FlashMX 2004 and i have a small requirement that i have to show another image on the existing frame itself based on some events from the backend.
I think it may be possible by these onion skins.
Any help & suggestion are welcome.
Thanks in advance.
roop
Can We Use FlashMX 2004 Tutorials With Flash MX?
Hi Guys,
A question on my mind, and surely that of others on this site IS:
Can we use FlashMX2004 Tutorials, such as the
<Chromeless Pop-Up Window> Tutorial with FlashMX?
Let me know please
Thanks
Event Model In Flashmx 2004 Pro
hi everybody, i have a question: are there differences in the event model supported in flash 2004 pro in respect the previous versions?
thanks
Using Onion Skins In FlashMX 2004
Hi,
I am developer using FlashMX 2004 and i have a small requirement that i have to show another image on the existing frame itself based on some events from the backend.
I think it may be possible by these onion skins.
Any help & suggestion are welcome.
Thanks in advance.
roop
FlashMX 2004 Debugger Not Working
I am trying to debug my MovieClips but the debugger is not responce!
I click to debug but in the var window and properties nothing appears?
Any sugestions? Why this can happen?try to re-install the software but again nothing happens!?
FlashMX 2004 Progress Bar Component
I was trying to use the Progress bar component in FlashMX 2004 to preload my movie, but it isn't working. I have read through the help on the component, but it wasn't much help. Anyone know how to get this to work? Not plug and play yet?
Compare And Contrast FlashMX 2004 And MX Pro.
Hello,
Recently, I obtained a copy of Flash MX 2004 Professional. I have absolutely no prior experience in flash however I'm a seasoned web and graphic developer. I purchased a Macromedia Flash MX HOT (Hands on Training) book last year but have since upgraded my copy of FlashMX. For someone just starting out, will I notice any significant differences or drawbacks when using Macromedia Flash 2004 Professional, instead of Flash MX 2004? I'm under the impressed that Flash MX 2004 Professional is geared more toward Flash Developers developing interactive applications that utilize databases. I'm wondering if FlashMX 2004 Pro. comes with un-necessary panels and other things that are likely to confuse a beginner like myself. When considering the amount of experience in Flash I currently have, the things I'll be doing will quite obviously be very easy. For someone like myself, do you think I should return my copy of MX 2004 Pro. and purchase just the regular FlashMX 2004 or will I survive? On Macromedia's website, it says that with Flash MX 2004 Pro you'll receive all the features that come equipped in FlashMX 2004 however the additional developer tools will be included.
Sorry for the redundancy in the post, just trying to make sure the question was understood. I've tried learning Flash before and have failed on several occasions. With this endeavor I will put more effort forth and make sure to approach it with a more realistic mindset.
I have just a few more questions and I apologize for the lengthy post. Is my FlashMX HOT book obsolete now that I've upgraded or can I still learn the fundamentals of the program? I'm assuming that tutorials written for Macromedia's Flash MX 2004 will also apply to the Pro edition, correct?
-Mason
FlashMX 2004 Embedding Video But No Sound?
I have been trying to import video in my flash MX 2004 pro but I cant get the audio track that comes along in the quicktime mov.
I dont get the "import sound" option in import video wizzard. What am I doing wrong?
thanks in advance for your help.
SI
Opening Flash 6 Mx In Flashmx Professional 2004
this may sound a silly question but only now i started working on flash mx professional 2004 and i can't open a flash 6mx document in the professional 2004. Is it normal? I can't seem to find a solution...
Font Alignment Weird In FlashMX 2004
Hey guys
I am using flashmx 2004 on a G5.
I opened up the exact same fla on FlashMX 2004 on my titanium and the font alignment is all off. Not sure why! The font is the same but the alignment is weird. I don't know what's going on!
Can anyone help? It's really stressing me out! Even if I fix the alignment on my titanium, I am only going to have to fix it up again on the G5...
It's not even cross platform! It's weird...
Help is much appreciated!
Cheers in advance....
Percentage Preloader In FlashMX 2004 Not Working
Ave,
I have been using a percentage preloader in my FlashMX movies which had been working fine.
I switched over to FlashMX 2004 and now my percentage preloader script isn't working.
I have the following code on Frame 1 of my movie:
Code:
stop();
fscommand ("fullscreen", "true");
fscommand ("showmenu", "false");
fscommand ("allowscale", "false");
setProperty ("_root.Bar", _yscale, 0);
_level0.load = "Loading ShockWave Data...";
And this script on a action-clip:
Code:
onClipEvent (load) {total = int(_root.getBytesTotal());}
onClipEvent (enterFrame) {
StatusColor = new Color(_root.Bar);
Loaded = int(_root.getBytesLoaded());
Percent = int(loaded/total*100);
if (percent>20) {
_level0.load = "Loading Interface";
StatusColor.setRGB( 0xf6f6f6 );
}
if (percent>40) {
_level0.load = "Loading Digital Components";
StatusColor.setRGB( 0xf6f6f6 );
}
if (percent>60) {
_level0.load = "Loading Digital Motion";
StatusColor.setRGB( 0xf6f6f6 );
}
if (percent>80) {
_level0.load = "Loading Digital Graphics";
StatusColor.setRGB( 0xf6f6f6 );
}
if (percent==90) {
_level0.load = "Unlocking Media.... ";
StatusColor.setRGB( 0xFFFFFF );
}
_root.Percent = Percent + " %";
setProperty ("_root.Bar", _yscale, Percent);
if (Percent >= 100) {tellTarget ("_root") {gotoAndPlay("Movie",1);
}}
}
Basically niether does the percentage bar move, nor does the text change, nor does the percentage appears. It just remains static. Doesn't even go the next Scene "Movie".
Any clues?
Corrupted FlashMX 2004 Tryout Installer?
I tried to d/l the trial a few times and the file was corrupted each time. I tried flushing cache, removing temp files - every time the file was corrupted. Had my mate who works at another office try to grab it for me, but his file was corrupted also.
Searched on Google and found this isn't an isolated occurrence. Anyone have some advice?
Corrupted FlashMX 2004 Tryout Installer?
I tried to d/l the trial a few times and the file was corrupted each time. I tried flushing cache, removing temp files - every time the file was corrupted. Had my mate who works at another office try to grab it for me, but his file was corrupted also.
Searched on Google and found this isn't an isolated occurrence. Anyone have some advice?
Problem With The FlashMX 2004 Loader Component
I have a problem with the loader component in FlashMX 2004:
This is my code for the onLoadProgress method:
loader.onLoadProgress = function (targetMC, loadedBytes, totalBytes){
loaderM.percent = loadedBytes;
loaderM.status = "Loading menu0";
}
This gives my "percent text field" an updated value of how many bytes are loaded, but I want the value displayed in percent. I thought I could do it the old way:
loader.onLoadProgress = function (targetMC, loadedBytes, totalBytes){
loaderM.percent = (Math.floor (loadedBytes() / totalBytes() * 100) + "%");
loaderM.status = "Loading menu0";
}
that didn't work out to well. How can make the 'loadedBytes' into a percent value?
Problem With The FlashMX 2004 Loader Component
I have a problem with the loader component in FlashMX 2004:
loader.onLoadProgress = function (targetMC, loadedBytes, totalBytes){
loaderM.percent = (Math.floor (loadedBytes() / totalBytes() * 100) + "%");
loaderM.status = "Loading menu0";
FlashMX 2004 ActionScript 2.0 Wordfile For Ultraed
The masters of neeneenee.de has made an delicious wordfile for Ultraedit 6.x or higher (www.ultraedit.com) that did an excellent hightlightning of FlashMX 2004 AS 2.0 .
Beside the normal groups like strings, numbers, comments and text it will highlight keywords, classes, functions, methods, properties and old desperated syntax.
Best of all its FREE, grab it here:
http://www.neeneenee.de/vrml/wordfile.zip
About installation copy it into your wordfile.txt at unltraedit directory or read the ultraedit help.
Thanx to Hausmeista and Ston3d!
Bart
Invokew Javascript Function With FlashMX 2004
I need to access an applet parameter with flash... But this is getting right on my tits!
This is what I have...
On the movie stage I have several buttons, all with similar actions...
Actionscript Code:
Original
- Actionscript Code
on (release){
getURL("javascript:doload('file1.img')");
}
on (release){ getURL("javascript:doload('file1.img')");}
the 'file1' changes with each button...
and...
JavaScript Code:
Original
- JavaScript Code
function doload(file){
var q = document.qaop
if(!q) return
if(file.value)
q.load(file.value)
else
q.reset()
q.focus()
}
</script>
function doload(file){ var q = document.qaop if(!q) return if(file.value) q.load(file.value) else q.reset() q.focus()}</script>
The thing is, the file doesn't load in the applet, it just resets, as though the parameter is not being received by the applet!
Please someone help!!!
I Am Unable To Put In The Sound Loops Into My Flashmx 2004 Library
I dont know why, but i cannot put in any sound loops into my library or stage onto my flash mx 2004 progam... when i try to it only allows me to change it into a via quicktime...then when i click "ok" it replys saying "one or more errors were found in reading..."
SO WHATS THE PROBLEM?
please post anwser ASAP...
Onclick Close Popup Window In Flashmx 2004 How To
I need help
From the web site i have link called Click here to view demo
when user click on the link it opens up popup window
and in popup window i have only flash swf file
now viewing the demo if user want to buy i have a buy button in swf
so if user click on buy
1. popup window need to be close
2. and they should go to the buy page on my website from previous clicked window
is this can be done if yes how please
Thanks
Action Script In FlashMX Can Be Played In Flash MX 2004?
i'm in trouble.first i used flash mx to make my game with action script.Now i am using flash MX2004. But action script that i had made in flash MX can't be played in flash MX2004. What should i do?
I need the solution without i have to make my game from beginning again.
thank for your help...
White Noise In .flv File FlashMX 2004 Professional
I have exported a .mpg video file to .flv file for use within a MediaDisplay component. The .mpg file video and audio are very clear however when I export the .mpg to .flv format the end result creates white noise over the original audio. The picture still looks great. It sounds like the white noise one hears when a TV station has just gone off the air ...
My Audio Stream and Audio Event settings are set as follows:
Raw, 44kHz, Mono
I've also tried to export the original .avi to .flv for use in the component with the same white noise result.
I'm on a tight deadline and could really use some assistance please.
Thank you in advance!
How To Load Data Dynamically Using Xml On Tree Component In Flashmx 2004
HAI FRIENDS
i wanna know how to load data dynamically using XML in flash TREE UI COMPONENT. I WANNA load text and image files dynamically on the same scene when the user pressees the node. IS IT POSSIBLE?? IF SO PLS RESPOND TO THIS IMMEDIATELY
THANKS FOR UR REPLY.
PLS GIVE THE CODE ACTION SCRIPT PART AND XML FILE TOO.
|