Flash MX And Flash 5.. Diff?
What's the difference? Which is better?
FlashKit > Flash Help > Flash Newbies
Posted on: 06-21-2003, 04:18 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
[F8] List Of Things Diff In Flash 8 From Flash 6 Actionscript
Hi
I'm trying to export an swf as swf 8 as2 that has swf 6 as2 code in it.
Needless to say it doesn't quite work.
A friend told me that parts like:
this.splash_mc === undefined
need to be changed to this.splash_mc === "undefined"
can you tell me where I can find a list of other things that would need to be checked?
Matt
Help With Diff. Frames [Flash 8]
I have a game that I'm working on.
All the actions start when you enter each level, which is only one frame.
There a alot of vars that are specific to that level.
At the end of the level most of those vars have decreases to zero, and all the intervals are stopped.
So for the next level on the next keyframe I re-define all the vars and put the rest of the script where it was before.
All the intervals are told to start up, etc.
But nothing happens. The level just sits there, and the health bar dosen't move up, the timer doesn't reset.
Does anyone know why this might be?
HELP Need To Show The Date&time..but Inc A Diff Image For Diff Day
HELP!! SMA (Save My A$$)
I need to make .fla which shows the current time.
But the twist is that it should display a diff image depending on wat day it shows.
can some 1 PLZ PLZ show me it
gotta be done in actionscript.
THANX PPZ
I've attached wat ive done...crap i know sorry im a falsh virgin wat can i say
[F8] What Is The Diff Btwn Flash 8 & Flash CS3 (9?)
I have Flash Professional 8. I was and am often confused by the different versions of Flash (Flash Basic, FlashLite, Flash CS3, etc). Now that Adobe owns Flash, and has released Flash CS3 (or is it Flash 9?), what is the difference between it and Macromedia Flash Pro 8?
Also regarding Flash Player - does the version of Flash Player affect the SWF object created by different versions of Flash? Since Flash player is now version 9 will it always play SWF files from ANY version of Flash (1-8), or will future players stop playing older Flash content (there is still Flash 5 and 7 content out there.)?
I am asking these questions because I have no intention of ever getting Flash CS3 and I want to stick with Flash Pro 8 - especially if the ONLY difference is just ActionScript (2 vs 3).
Starting Flash Movies At Diff Frames
I am using flash professional 8 (cs2).
I do know some ActionScript and HTML as I have used both casually for years. What I want to do is this. I have a top flash image that I use for navigation for my website. It is actually a template I purchased. What I cannot figure out is I would like to have the flash movie start on the last frame when I change pages. Basically, it has an animation it goes through each time it runs. But it is only necessary for it to do so the first time a visitor goes to the page. I would like it when they navigate to other pages for it to load in the same static state it is in after it's loaded. To better understand you can quickly surf to
www.hypnosisok.com
Any help would be greatly appreciated.
David K
How Do I Center Align A Flash Site In A Diff Res?
Hello,
I've been working on a flash site that works for 800X600 and a larger resolution. I've got the site designed so that someone who views it in the larger resolution sees the the content in th middle of the page, as well as space on the sides of the page, with no scrollbar on the bottom. I want it so that if the resolution is set to a higher level that the space on the sides of the page gets cutout. What I have when someone goes to a higher resolution is the space on the sides still there, as well as a scrollbar on the bottom.
Thanx in advance.
How Do I Center Align A Flash Site In A Diff Res?
Hello,
I've been working on a flash site that works for 800X600 and a larger resolution. I've got the site designed so that someone who views it in the larger resolution sees the the content in th middle of the page, as well as space on the sides of the page, with no scrollbar on the bottom. I want it so that if the resolution is set to a higher level that the space on the sides of the page gets cutout. What I have when someone goes to a higher resolution is the space on the sides still there, as well as a scrollbar on the bottom.
Thanx in advance.
Using Flash Buttons To Have Diff Frame Targets
I am trying to work with a guy the uses frontpage express ( i know i hate frontpage too) but thats all he knows .. anyway we needed some menu buttons on the left frame. I made some (a .swf file) but i cant figure out how to make the buttons target the main frame (in the middle) What do i have to do to make that possible
How To Show Diff. Response For Diff. Score?
i have a set of 14 yes or no type questions.now depending on the how many yes one clicks ,i want to show different response(i.e, different frames of response MC).i want to know how to go about it?
how do i add these yeses and show the desired frame of the responseMC?
Printing - Inside Flash Vs In A Browser. Using Same Print Function = Diff. Result ?
Hi,
I have a problem printing in Internet explorer 6.0 browser.
I need to print a movieclip and the movieclip contains a print button which has the following actions script:
printAsBitmap(this, "bframe");
When I choose to print by clicking the print button located inside the movieclip it prints correctly inside Flash but when I open the movieclip in my browser and click the print button located inside the movieclip the printer prints the movieclip so it looks stretced or scaled incorrectly.
Why does the print function work correctly inside Flash but not in the browser ?
Thank you.
2 Diff Resolutions, 3 Diff Movies?
i've been browsing the forums about different screen resolutions. i've seen the codes that need to be used. so do i have to make 3 different versions of a website to compensate for 3 differnt types of screen resolution?..what's the easiest way to go about doing this?...because when you change the movie properties in an FLA, it throws the whole stage out of whack... seems like 3 times the work almost..thanks for any advice...
Does Anyone Know The Diff.?
hello..this is from the output variabels screen..whats the different between ans and select?
Variable _level0.ans = "2
"
Variable _level0.option1 = "Bombay"
Variable _level0.option2 = "New Delhi"
Variable _level0.option3 = "Jammu"
Variable _level0.option4 = "Madras"
Variable _level0.select = 2
...just for some background...ans is a variable which i load from text file and holds 2...and select is a variable in the flash movie which is also 2...but here, the output shows something else...my comparison for these 2 vars fail inmy movie!!!any one knows why?
thanks
spparikh
What Is The Diff Between A & B?
hi i cannot understand with the colorSetTransform what
ra is as opposed to rb
ga gb
ba bb
in photoshop i only have rgb not the other "offset" values
what are offset values?
a
b
???
best
slimpixi
.fla Diff From .swf
My text is white in my .fla, but it appears yellow in the .swf. Why and does this happen, and how can I avoid it?
Refer to the attached screenshot.
.fla Diff From .swf
I set dynamic text in my .fla to be white. When I exported the .fla into an .swf, the text appeared yellow. How do I make the .swf's text remain white?
Refer to the attached picture for further clarification.
What Is The Diff
What is the difference between ".getHours" and "getUTCHours"?
When do you use one, and not the other?
What A Diff Between ..
hi every one
I study macro media flash now
I want to know when I use movie clip and grafic
can some one help me
and also I want to ask in action script code for exam on.Release stopDrag=(flase) ;or ();what that mean ??
What Is The Diff. Between As 1.0 And As 2.0.....
Learning a actionscript 1.0 (i m working in flash mx) but there is alos as 2.0.
Which is better for learn.
What is the diff between 1.0 and 2.0 as.
or first i learn 1.0 and then 2.0.....
expecting a same reply from great scripter....
Contact Between 2 Diff SWF
Okay here is mư ?
Ive got 2 swf im my page - each in its own table
- menu.swf
- dekotop.swf
When I rollOver I my menu.swf I want to play a MC = m1
in the dekotop.swf
hope the is a simple way :-)
MERRY CHRISTMAS
Diff Between IE And NS Re:movies?
Can someone explain this weirdness to me?
I changed my movie (nav bar) and the new movie plays ok on Netscape but IE plays the old movie!! I cleaned the cache, defraged, rebooted, went to the beer store, etc.
Howcum this happens?
It's at www.designersatwork.com
TIA
Varibles In 2 Diff Mcs?
Merry X-mas All!
I got me a question about varibles...
I want to save a varible in one mc and then the varible be used in another mc.. I'm not sure how to do this..
I've heard of public var buttonClicked = "yes;
I've heard _root.buttonClicked = "yes";
Those are what I've tried so far... :|
What Is The Diff Between COM Dir Name And ORG Dir Name? [FLEX/AS3]
Hi All
I have some question. I'am not long time flex user, but as my applications became more complex I have one questions - what is the difference between "com" dir and "org" dir? why some libraries come inside of com and others inside of org. and the main questions where to I must to put my project files?
in com.myapp or in org myapp? what is the best prcatice?
P.S.: Happy NY to everyone!
AS For Diff. Levels
I have a movieclip that loads on the maintimeline into level3 via duplicateMovieClip when a button is pressed.
This movie clip is named "popup". Inside "popup" I have a button that says close - the AS for this button is:
PHP Code:
popup_closer.onRelease = function() {
_level3.popup.removeMovieClip();
var my_old:Color = new Color(_global.btpress);
my_old.setRGB(0x987836);
};
This is supposed to close the popup and change the colour of the button (a global variable Ive set up on the maintime line (_global.btpress)).
But nothing is happening - does anyone have any suggestions? I think it has to do with accessing the different levels, but I am not sure.
--Also, perhaps I will add this problem on to this: When the popup is loaded - if there are buttons behind the popup the are still "live" meaning they are able to click on them even when the popup is infront. Is there a way to make it, so it blocks those out?
Thanks.
DuplicateMovieClip, But On Diff. Frame?
Hello,
This is what I am tring to do?
I have MC1 on Frame 1.
>>Can someone please give me code to duplicate thie movieclip but on a different frame. Example:
duplicateMovieClip (_root.MC1, "mc"+i, i);
**I need to know how to place the duplicate movieClip on Frame 2.
Thanks
Diff Between LoadMovie And LoadMovieNum?
What's the difference? Why when I click on loadMovie in the Actions panel it inserts loadMovieNum? Why is there no information in the Flash help for loadMovieNum? (Flash 5)
Loading XML From Diff Domain
Hey all,
Is there any way to load xml from diff domain from where the flash file is loaded?
I know by default, flash doesn't allow this for security reason. I wonder if tehre's a way around it?
Thanks!
Any Diff Between An AddEventListener And A Function?
Reason why I'm asking is because I'm trying to call a .swf file from an addEventListener to display and it won't. It will work with just a regular function but it won't run if I call it from a function defined as an addEventListener. For example:
//declared from the main
var poppingLoader:Loader = new Loader();
var pillPopRq:URLRequest = new URLRequest("pillpop.swf");
poppingLoader.load(pillPopRq);
poppingLoader.x = 50;
poppingLoader.y = 50;
//addChild(poppingLoader); //commented out to play later but works if it's here
function updateBall(e:Event):void {
if (bumper.hitTestObject(ball)) {
pop_sound.play();
addChild(poppingLoader); //testing the addChild here
var bumperCenterPoint:Number = bumper.x + (bumper.width/2);
deltaX = (ball.x - bumperCenterPoint)/2;
deltaY *= -1;
}
}
The updateBall is called when there is a MouseEvent when the ball is in motion. This script works fine and I'm trying to add a .swf when certain conditions are true when the ball is updated. I'm a bit puzzled, I'd think that it wouldn't matter where I call 'addChild(poppingLoader)' but currently it doesn't appear to be firing off in the function above.
Any thoughts are appreciated.
-m
Button To Advance Diff Mc's
Hi all,
can someone please tell me how to have a button advance to frame 2 of a mc inside an mc or if it is even possible?
eg
on(release){
goToAndStop(_root.one_mc.two_mc(2));
}
Thanks
Object Diff Function?
In the following code...what would the getDiff function look like?
1) The goal is, after the diff list is built, I would have a "findDiff" that would loop through the strDiff to easily look up the values - i.e. in the example, diffObj would have a single item "otherData", which I can look up from either _realObj or _tempObj.
2) What if the "structure" of the object is unknown, with an unknown number of levels deep, with unknown types of elements (some arrays, some strings, some objects within objects, etc)? How can I continue looping and looping until there are no further levels, and be collecting a diff list that makes sense as I move along?
Code:
var someData:String = "Some Data";
var otherData:String = "Other Data";
var someOtherData:String = "Some Other Data";
var _tempObj:Object = new Object();
var _realObj:Object = new Object();
_tempObj.someData = someData;
_tempObj.otherData = otherData;
_realObj.someData = someData;
_realObj.otherData = someOtherdata;
var strDiff:String = new String;
strDiff = getDiff(_tempObj,_realObj);
OnEnterFrame & EventOnEnterFrame Diff?
hi,
im confused abt the following ...
Difference between onEnterFrame and eventOnEnterFrame events.
then, i think that these three lines of code doing the same work..
anyMc.onEnterFrame=null;
anyMc.onEnterFrame=undefined;
delete anyMc.onEnterFrame;
Am i right?.
Thx in advance...
Jsam..
Turn The Diff Between 2 Dates Into A Value
Hi
How can i substract 2 dates in order to get one number?
I need to know how much time has past since the first user logged into my site until the last one logged in. I want to get a value out of it like: 3203 or something like that.
I get the date from a XML external file and if I trace for a date i get f.ex:
2005/01/18 14:05:55 GMT+1
We can drop some info if it's too complex (such as seconds and eventually minutes)
Thanks
Prototype Align 5 Diff Mc's / Swf's
Hello ive made 5 diff codes to give the right positions on my mc's.
but the code is all hanging on the mc's.
Now i was thinking 2 put all code into 1 keyframe.
So i think i need to write a prototype of it.
It will be great if somebody can help me out so i can understand more about how 2 write my own prototype for this.
The file is just for study for me to play a bit with aligning mc's on stage.
The code that is hanging on the clips are:
Top left
Code:
this._x = (Stage.width - 780)/2;
this._y = (Stage.height - 570)/2;
Top right
Code:
this._x = (Stage.width - this._width);
this._y = (Stage.height - 570)/2;
Center
Code:
this._x = (Stage.width - this._width)/2;
this._y = (Stage.height - this._height)/2;
Bottom right
Code:
this._x = (Stage.width - this._width);
this._y = (Stage.height - this._height);
Bottom Left
Code:
this._x = (Stage.width - 780)/2;
this._y = (Stage.height - this._height);
My 2nd Q = is there any posibillity to give mc's or swf's of a width in %?
For example, 2 load 5 diff mc's or swf's with 20% so i got a total of 100%
or 4 of 25%.
Linking To A Diff Scene
Hi guys and gals...
I am working on a project which is basically a virtual tour of a house. Each room I have made on seperate scenes, some rooms are on more than one scene (diff view points) and some room have a panoramic effect (these are the ones causing the problems).
To accheive the panoramic scrolling I have made the room as a mC. Inside the mC I have buttons which should link to other scenes... 'enter the problem'.
how do I link to another scene from in there? I have tried :
Code:
on (press){
gotoAndPlay("SceneName",frame);
}
and this
Code:
on(press){
gotoAndPlay(this."sceneName",frame);
}
and this
Code:
on(press){
gotoAndPlay(this."sceneName".frame);
}
and this
Code:
on(press){
gotoAndPlay(this.sceneName.frame);
}
and this
Code:
on(press){
gotoAndPlay(._root."sceneName",frame);
}
etc etc
I am (obviosly) no expert on ActionScript, and I havent been able to get the right 'combination'.... so can anyone help me? .....please
With the options I haev tried I keep getting different error mistakes and I can't really figure out whats wrong. I have been trying for a week and a half and I'm just not getting any positive results...
Please please please... If you have an idea as to how I can do this I would love to hear from you!
/mette
6 Array Items + Diff X Y ?
Is it possible to give an array of 6 items different x and y.. like as in 2 columns
startx = 0;
starty = 0;
for (var i = 0; i<itemArray.length; i++) {
First 3 items:
nav._y = starty+25*i;
nav._x = startx;
Other 3 items:
nav._y = starty+25*i;
nav._x = startx+150*i;
OR isnt this posible?
Do i need more as 1 array for this.
[FMX] Accessing Btn From Diff. Timelines
I have a button instance mc "mcBtn",
inside this instance i have the actual Btn graphic symbol and AS layer.
inside the AS layer i have defined onRollover, onRelease, onRollOut methods.
if i rollOver/Out/Press Btn it works fine and Btn animates in some way.
I needed to access mcBtn from _parent timeline AS WELL, so i defined a method mcBtn.onPress [one which is not defined inside mcBtn yet], and inside onPress told mcBtn to animate some other content....
What happened is, that onPress works fine and after pressing Btn, requested content is animated, BUT all other methods defined inside mcBtn stopped working! [no animation when rollOvered, rollOut-ed, onRelease-d]
Q: how to make all those methods work?
Any help apprecciated
Menu > Diff Page Help
I load an image into my canvas, the image is basically a webtemplate ive fixed up and going to use.
I basically want to create the buttons (for each text area obviously)
so i made 8 boxes, converted them to buttons and have them in the appropiate places
what i want to do is this, the main page comes up, and whatever button the user clicks on, it will load the new information that goes with that button, like they click Oilseed and it goes to Frame 2 (where the oilseed page is)
i can get it to open oilseed on frame 2, but when i add a new button and the
onMouseDown = function() {
gotoAndStop(2);
};
it wont work on either button then
Prototype Align 5 Diff Mc's / Swf's
Hello ive made 5 diff codes to give the right positions on my mc's.
but the code is all hanging on the mc's.
Now i was thinking 2 put all code into 1 keyframe.
So i think i need to write a prototype of it.
It will be great if somebody can help me out so i can understand more about how 2 write my own prototype for this.
The file is just for study for me to play a bit with aligning mc's on stage.
The code that is hanging on the clips are:
Top left
Code:
this._x = (Stage.width - 780)/2;
this._y = (Stage.height - 570)/2;
Top right
Code:
this._x = (Stage.width - this._width);
this._y = (Stage.height - 570)/2;
Center
Code:
this._x = (Stage.width - this._width)/2;
this._y = (Stage.height - this._height)/2;
Bottom right
Code:
this._x = (Stage.width - this._width);
this._y = (Stage.height - this._height);
Bottom Left
Code:
this._x = (Stage.width - 780)/2;
this._y = (Stage.height - this._height);
My 2nd Q = is there any posibillity to give mc's or swf's of a width in %?
For example, 2 load 5 diff mc's or swf's with 20% so i got a total of 100%
or 4 of 25%.
Linking To A Diff Scene
Hi guys and gals...
I am working on a project which is basically a virtual tour of a house. Each room I have made on seperate scenes, some rooms are on more than one scene (diff view points) and some room have a panoramic effect (these are the ones causing the problems).
To accheive the panoramic scrolling I have made the room as a mC. Inside the mC I have buttons which should link to other scenes... 'enter the problem'.
how do I link to another scene from in there? I have tried :
Code:
on (press){
gotoAndPlay("SceneName",frame);
}
and this
Code:
on(press){
gotoAndPlay(this."sceneName",frame);
}
and this
Code:
on(press){
gotoAndPlay(this."sceneName".frame);
}
and this
Code:
on(press){
gotoAndPlay(this.sceneName.frame);
}
and this
Code:
on(press){
gotoAndPlay(._root."sceneName",frame);
}
etc etc
I am (obviosly) no expert on ActionScript, and I havent been able to get the right 'combination'.... so can anyone help me? .....please
With the options I haev tried I keep getting different error mistakes and I can't really figure out whats wrong. I have been trying for a week and a half and I'm just not getting any positive results...
Please please please... If you have an idea as to how I can do this I would love to hear from you!
/mette
Playing A Swf From A Diff. Server?
I want to play a swf on a friends site but have it on my server. Is there a way to have the code on my friends site and the swf on my server? just to link to it?
Linking Diff Frames From Swf
hey guys I'm first time here in ultrashock forum.I've a little problem .I have a HTML page with 2 frames-left & main.Now I've a swf in the left.On the main is a conventional HTML page.Now I have to open diff. HTML pages in the main frame thru the links inside the flash movie which is resided in my left frame
Load Diff. Movie For Each Day
Let me explain. I'm trying to load a flash movie into another flash movie for a moving Background. The site I'm doing is calling other movies into the main .swf ... The whole site is in "Levels" .. I have 7 movies made that would be called into levels for background, 1.swf up to 7.swf. I should have a blank movie that would call the days in frames (if Sunday go to frame 2 and stop "frame 2 loads 1.swf for Sunday, ect.." I dont really know how to do this, but i know there's a way.
One more Ques. a little difficult
If there is a way. can u have an admin page using PHP where u can set up the backgrounds to those days, and save it? For example:
This is how I think It should look:
Sunday: call this Movie>> 1.swf
Monday: call this Movie>> 2.swf
Tuesday: call this Movie>> 3.swf
ect..
like all you will be changing is the flash movies.
for example:
Sunday: call this Movie>> 3.swf
Monday: call this Movie>> 1.swf
Tuesday: call this Movie>> 2.swf
Then Save it, could use a text file or SQL
This a bit complicated for me. Sounds interesting.
Getting HitTest To Work On Different Levels/within Diff MCs
Hi all - for a long time (months) I have been pondering over getting a hit test to work for objects not on the same _root.level and finally I have got it to work -
Look here;
Code:
if (_root.c1.Ic1.BIc1.hitTest((_root.c1._x+_root.c1.B1._x),( _root.c1._y+_root.c1.B1._y), true)) {
c1._xscale = 200;
c1._yscale = 200;
} else {
c1._xscale = 100;
c1._yscale = 100;
}
but if I were now to go and put c1 inside another MC ("all")
I can't get it to work i.e.
Code:
if (_root.all.c1.Ic1.BIc1.hitTest((_root.all.c1._x+_root.all.c1.B1._x),( _root.all.c1._y+_root.all.c1.B1._y), true)) {
do stuff
}
i have tried
Code:
if (_root.all.c1.Ic1.BIc1.hitTest((_root.all._x+_root.all.c1._x+_root.all.c1.B1._x),( _root.all._x+_root.all.c1._y+_root.all.c1.B1._y), true))
but no work
Anybody got any ideas - surely I have done the hard bit already.
Thanks in Advance
beezer
Tell Targets And Functioning Between Diff Scenes
ok heres my problem
im working on this site
http://24.179.36.189/FLASH-site/
and i made the news section in a single movie clip(paltes) and i used tell targets for the menu button and the news button, and all this is in a scene called news now on the products button i have it set now to play the outro animation wich is inside the movie clip (plates) and then once it plays the outro i wanted it to progress onto frame one of the next scene "products" right now i have the following code on the products button
-----------------------------
on (release) {
gotoAndPlay ("outro");
}
________________________________
but thats inside the movie clip and once it finishes the last frame it just sits there, how can i make the button go to and play "outro" and tehn go to the scene "products" i need this to work so i can use the same code for all the buttons so it can play the outro then go to the "contacts" scene etc etc ya get it???
Navigating To An Embedded MC In A Diff. Scene
I have tried so many different scripts and codes but I can't get from Scene 2 to my MCframe ("actAds"), that is located within a MC(whoContent) in Scene 1.
I really thought using this code would work but it just doensn't. what am I doing wrong or missing:
on(release) {
_root.whoContent.gotoAndPlay("actAds");
}
so "actAds" is the frame label I am targeting that is within the "whoContent" MC, which is located in frame 1 of Scene 1. and the script above is an action for a button located in Scene 2.
any ideas??????????
thanks.
|