Differences With LoadVars In Flash 8?
I am trying to load text from a text file using LoadVars. The text has HTML tags in it for formating, and I am assigning a CSS to it as well to ease some of the formating. Pretty standard. If I publish my flash project as Flash 8, LoadVars seems to pick up the carriage returns in the text file, and add those carriage returns to the HTML formating. The result is the loaded text with a lot of extra whitespace in it. If I then publish the same project as Flash 7, it works as I would expect and doesn't pick up the carriage returns in the text file.
What has changed in Flash 8 to cause this? Anyone know? Is there an easy way around this problem besides stripping out all the carriage returns in the text file? I would hate to do that since it makes maintaining the text files much more cumbersome.
Here is the code I am using for those that want to know:
var loadText:LoadVars = new LoadVars();
loadText.load("content.txt");
loadText.onLoad = function(success) {
if (success) {
content_txt.htmlText = this.contentText;
}
}
var contentStyle = new TextField.StyleSheet();
contentStyle.load("content.css");
content_txt.styleSheet = contentStyle;Any help or guidance would be appreciated.
Thank you.
Eric
ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 04-23-2006, 05:42 PM
View Complete Forum Thread with Replies
Sponsored Links:
Differences With AttachMovie In MX Vs. Flash 5
Well apparently there is some weirdness going on where the MX player doesn't handle attachMovie in the same way as Flash 5. Anyone else experience problems? And how can I get around the problem if I'm still using Flash 5...there must be a way to alter the code.
I'll show you the problem...I have a little preloader on my site that uses attachMovie to attach a space ship and a bad guy ship, you then can shoot at the little bad guy while the site is loading up.
Its at
http://www.blaydrunner.com
If you have the Flash 6 player you will not see the ship, while if you still have Flash 5 player you will...
I'm stumped.
View Replies !
View Related
Flash Player 7 Differences
Hello,
I have built a website for a client and I'm confused about why it works on my computer, halfway works on my mac OS X 10.2, barely works at all on mac OS X 10.3 and barely works at all on some other version of windows which I have yet to determine (clients machine).
Caution: 20mb video / 500kb intro
http://www.brycecre8iv.com/newneut/m...rAway2004.html
Here is a list of currently recognized differences.
1. FLV files have very loud sound problem through video (bg fuzz)
2. Buttons in the compass will not work when clicked (OS X 10.3) work in (10.2)
3. Video will not become _visible=true in some version of windows.
I assume that they all have version 7 player.
If you need any examples of my code - I'd be happy to post them up. Almost everything is done with AS.
thanks for any help.
Also I've posted a similar thread in the Video forum - specifically about my FLV problem.
webG
View Replies !
View Related
IE, Firefox And Flash Differences?
Hi,
I'm having a problem Firefox rendering my Flash differently than IE. I thought Flash was supposed to eliminate these cross-browser compatibility issues?!
Anyways,
I've created a form, and in IE, the focus is set to the first field with the cursor like it is supposed to. In Firefox, this doesn't happen.
Any solutions?
mySite
Thanks
View Replies !
View Related
Flash Player Differences
Hey all,
I have a bit of an issue. I have a file posted online which includes a rather long flash intro featuring pictures and motion tweens at 40 FPS rate. My problem is that it looks perfect on my computer, then I click the link from another computer(a MAC) and it takes too long. Then I check on another PC and it goes too quickly. Is there any reason behind this issue and how can it be solved?
Thank you,
Joe
View Replies !
View Related
Differences Between Flash Mx And Mx 2004?
I'm wondering why my searchable database has stopped working since using flash mx 2004, it worked, to an extent in mx (albeit with an odd bug that meant it never returned a result if you searched for 'simpsons', not even a 'no result found' message', but there you go) but now in mx 2004 it just returns the first result in the database, no matter what you search for... the fla is here http://www.videoemporium.co.uk/site.fla .
Also I'm looking to improve the search function, by being able to specify via checkboxes, which field so search in ie, to be able to search for a director. I'll probably post this part in another thread, not sure where is the best place to do so, but ideally I'd like to be able to search for a director, and be given a list of possible matches, then select from that, and be given a further list of films by that director, or to display the first match, and be able to scroll through forward and back, or a combination of the two...
View Replies !
View Related
Differences In Flash Between IE And Mozilla
I've written a gallery in AS 3 and it works fine and as it should when I view it with IE(both 7 and 6), but when I view it with Mozilla(2.0.0.7) it hardly works at all.
Are there differences in the plugins for the different browsers and can I get information somewhere about what those differences are?
If anyone is interested in the problem it's viewable here. Click on the "Lightbox" button in the menu. If you are using IE it'll show preloaders and then thumbnails, in Mozilla it only shows the preloaders but the thumbnails wont show but are still "clickable".
Thanks in advance.
View Replies !
View Related
Flash CS3 Differences In Firefox Vs IE
G'day,
We currently have a problem at work when swf's are being ran in Firefox, namely when they load XML documents. The SWF works fine in IE, no problems at all, but in Firefox its a different story.
Through testing in Firefox, we are sure that the XML is actually loaded, as we can output the contents. The _xmlObject.onLoad fires off and success is true, so this too indicates that the XML has loaded.
BUT when we try to go to the next frame on "success" it fails to load the contents of the stage, but not just the XML related stuff, everything. Although it has gone to the next page.
Code:
dataGrid_xml.onLoad = function(success) {
msg.text = success;
if (success) {
// function to store XML nodes into arrays
processXML(dataGrid_xml);
// goto next frame
home.gotoAndStop(2);
} else {
trace("XML failed to load");
}
};
Any help would be great! Or is their a link to specific details on how Firefox treats SWF's different to IE. An adobe link would be great but i can't seem to find any on their site about this.
Thanks
View Replies !
View Related
Flash Player 7 Differences
Hello,
I'm working on a website which uses loadMovie to load a movie into a dynamically created movieClip. It does not work the same between my two computers, and my friends computer, my Apple G4's at work and my clients machine. They all see things different. Skip the intro it is really long and drawn out. Site is rather large - slow connections warned.
http://www.brycecre8iv.com/newneut
On my computer in both IE and Firefox the entire site works as you would expect. My apple at work plays nothing after it has loaded the movie. The scrub-bar (little ball the follows the timeline of a movie) works on my computer, does not work on the computer next to me.
Both computers are using the same version of everything. I double checked it several times because I thought I was going nuts.
When I do a trace for the mC that I load I get 'undefined' in the computer next to me, but it traces fine for me.
Both computers:
IE 6
Flash Player 7,0,19,0
Firefox 1.0
If anyone can give me any insight into this I'd really appreciate it. I've tried everything I can think of to fix this problem, but it just seems like the movieClip inside of the movie that I am loaded is not identifiable.
Thanks
Ken
View Replies !
View Related
Flash Player 7 Differences
Hello,
I'm working on a website which uses loadMovie to load a movie into a dynamically created movieClip. It does not work the same between my two computers, and my friends computer, my Apple G4's at work and my clients machine. They all see things different. Skip the intro it is really long and drawn out. Site is rather large - slow connections warned.
http://www.brycecre8iv.com/newneut
On my computer in both IE and Firefox the entire site works as you would expect. My apple at work plays nothing after it has loaded the movie. The scrub-bar (little ball the follows the timeline of a movie) works on my computer, does not work on the computer next to me.
Both computers are using the same version of everything. I double checked it several times because I thought I was going nuts.
When I do a trace for the mC that I load I get 'undefined' in the computer next to me, but it traces fine for me.
Both computers:
IE 6
Flash Player 7,0,19,0
Firefox 1.0
If anyone can give me any insight into this I'd really appreciate it. I've tried everything I can think of to fix this problem, but it just seems like the movieClip inside of the movie that I am loaded is not identifiable.
Thanks
Ken
View Replies !
View Related
Differences In Flash Player Performances
Hola!
I'm working on a project which is built entirely of components. I have noticed a huge performance difference when running the output-swf in the Flash MX 200 Pro 7.2 (!) authoring tool, and independently in the stand-alone Flash Player or through Internet Explorer.
In the authoring tools Flash Player the swf runs like it should, briskly. In the stand-alone and IE players the swf has a lag of few seconds, really, before reacting in the click of a button.
What could the problem be? What's the difference with the players? It's difficult to trace the problem, since in the authoring tool everything works fine!
Cheers in advance!
View Replies !
View Related
Flash Player 7 Browser Differences
Argghhhhhh!!! Sorry had to let that out. I'm getting extremely frustrated as I've spent an extra 3 days on a clients website due to differences in the way Flash Player 7 shows the website on different browsers... and I still cant' fix the problem. I've recoded it 3 times with different ways of doing the same thing and every time I end up with some difference between the way Internet Explorer renders it and the way FireFox renders it and the way the preview movie renders it.
The first issue was the preloader. I was using MX style getBytesLoaded() and it would trace undefined forever on Internet Explorer, but worked fine in FireFox and the preview movie pane. I did get that fixed by redoing my preloader using the movieClipLoader class (which is pretty handy btw thanks Colin Moock)
Now the problem is with unLoading a movieClip. I'm going to spend today doing little tests so I can maybe pinpoint what the problem is, but I figured I would post here maybe someone has experienced this before. And please don't try to tell me there is no differences - I'm sitting at three different machines and all 3 render the movie differently. Sure is a shock when the client says that your website does not work at all...quite embarassing.
Anyway here is basically what I am doing to load my movie.
Code:
_global.loadNewMovie = function(url) {
_root.currentMovieLoader = _root.createEmptyMovieClip('movieClip" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.currentMovieLoader._x = 100;
_root.currentMovieLoader._y = 100;
var my_mcl = new MovieClipLoader();
var myListener = new Object();
/*
preloading code
*/
my_mcl.loadClip(url,_root.currentMovieLoader);
}
_global.unLoadMovieLoader = function() {
_root.currentMovieLoader.unloadClip();
// here I have tried everything I can think of
_root.currentMovieLoader.removeMovieClip();
_root.currentMovieLoader.unloadMovie();
_root.currentMovieLoader.clear();
// any other ideas?
}
unloadClip is what I am supposed to use with the movieClipLoader, and this works perfectly in the authoring environment but not in IE.
Anyone who can help ease my frustrations will be king for a day in world webg.
thanks
webg
View Replies !
View Related
Variables / Objects - Differences With Flash 6 & 8
Hi,
I am using a wddx parser with the following code in flash 6:
Code:
#include "wddx_mx.as"
stop();
myXML = new XML();
myXML.onLoad = function()
{
foo = new WDDX();
wddxObj = foo.deserialize(this);
delete(myXML);
nextFrame();
}
myXML.load("mywddxfile.xml");
This then allows me to reference the wddxObj variable in the next frame. However the updated wddx parser in Flash MX 2004 requires me to use this code:
Code:
stop();
var myXML:XML = new XML();
myXML.onLoad = function()
{
var foo:Wddx = new Wddx();
var wddxObj:Object = foo.deserialize(myXML);
delete(myXML);
nextFrame();
}
myXML.load("mywddxfile.xml");
And then I can't seem to reference the wddx file in the next frame. It only works if I place it in within the function.
What exactly is the :Object part of this doing? And do I need to do something different to reference an object instead of a variable?
Any help would be greatly appreciated!
Thanks,
Rik
View Replies !
View Related
Flash CS3 - Mac / PC Font Positioning Differences
Hello, I have a PC at work and a Mac at home and have found that there are differences with font rendering in Flash CS3 on each operating system.
The same .fla file will position fonts a few pixels differently on both OS's, these differences are retained after publish.
For instance, I can make a flash file on my PC with perfectly positioned fonts and after publishing, these fonts will look perfect on both PC and Mac (from the swf). If I then open the .fla on my Mac the fonts will be slightly off, and after publishing the fonts will be off on both the PC and on Mac (from the swf).
To check if this was just due to different versions of the font I tried installing a new font from the same TTF file on my Mac and my PC. The Problem still occurred.
Has anyone else experienced this problem? Anyone got any suggested workarounds or am I going to need to always work in Parrellels at home!?
Thanks,
James
View Replies !
View Related
Differences In Flash Plugin Versions...
I'm wondering if there is a simple solution to this.
I was creating a dynamic map locator for a client. There are 2 specific statements that I think are the root of the problem but can't figure out why this is happening. AND I only noticed it once I got it in the browser, it didn't show up in the Flash player.
quote:createClassObject(ScrollPane, "contactPane", this.getNextHighestDepth());
with (contactPane) {
setStyle('borderStyle', 'none');
setSize(664,315);
move(40, 95);
hScrollPolicy = "off";
vScrollPolicy = "auto";
visible = false; }
Now normally if you don't set any attributes it just puts the default small square box in the top left hand corner. I needed to move it and set it to be invisible until later on in the code.
It almost seems like it's putting the little box in the top left corner as if I didn't put any attributes. BUT it also works fine, as if it created 2 objects - the right one and then an extra one.
I upgraded my Flash plugin and it seems to work fine now. But what about all the people out there who have the plugin that it displays wrong. Any ideas?
View Replies !
View Related
Flash Performance Differences In Firefox Vs IE
Hi all.
I was testing a flash slideshow I made and I noticed a significant performance difference from viewing the SWF in Firefox and IE. The fading of images and buttons is much slower in IE than it is in both Firefox and the Flash preview.
if you're curious check it out here:
http://www.spikedproductions.com/blo...es/000081.html
I was wondering if anyone knew why this may be the case. I've used the setInterval method for fading in and out and I was thinking that perhaps there were differences in performance between the Flash player for IE and the Flash player for Firefox.
Thanks a ton for any help.
View Replies !
View Related
Flash Player Linux And Windows Any Differences?
I have the following code,
var somObj=getChildByName("E"+evt.target.name);
somObj.transform.colorTransform=new ColorTransform(1, 1, 1,1,11,66,234,1);
This works great in Windows. Changes the color of the object.
But today I tested it under linux and the color isn't changed.
What can be the reason?
View Replies !
View Related
LoaderInfo.loader Flex/Flash Differences?
Hi!
I have a Flash app made up of AS3 components that I am trying to run in Flex.
In Flash, after the main component is added to the stage, the loader object (loaderInfo.loader) is null which is fine and I handle that.
In Flex, on the applicationComplete event I add the the main component to the stage and the loader object's getter throws an exception - Error #2099: The loading object is not sufficiently loaded to provide this information.
Also, the INIT event, which is dispatched when the properties and methods of a loaded SWF file are accessible, is not firing which is probably part of the problem. But I can't figure out why it is not being dispatched.
Any ideas why the same code has two different results?
View Replies !
View Related
Flash Player Linux And Windws Any Differences?
I have the following code,
var somObj=getChildByName("E"+evt.target.name);
somObj.transform.colorTransform=new ColorTransform(1, 1, 1,1,11,66,234,1);
This works great in Windows. Changes the color of the object.
I tested in Mac too. It works great there too.
But today I tested it under linux and the color isn't changed.
I am using the latest flash player in all the testings.
What can be the reason?
Please help.
View Replies !
View Related
Strange Problem -> FF / IE Flash Differences When Using Iframe
Hi there,
I'm not sure where to put this thread, but it's my flash movie going nuts, so I thought that this was the best place. Let me explain my problem:
I'm making a site for the band of a friend (he made the layout). He wants the menu to be flash, and he wants a flash animation on the side. The info part should be html. I thought the best way to do this is to overlay html (as an iframe) over flash using divs. Maybe this isnt the best way to do it, so if you think there's a better way let me know!
When (pre)viewing the site in IE everything is as it should be. But when viewing in FF the buttons are messed up. When you rollover the menuitems like you do in IE (home, kalender, de band, etc) nothing happens, but when you rollover a bit under the buttons the buttons move (like in IE)... why the difference? And how to fix it?
Thanks for reading and helping me out
View Replies !
View Related
Color Differences Between Flash & Bg (photoshop) Gradient
I tried searching the forum for this one and came up with nothing. I used a gradient in photoshop for the background for a site i am building, my nav is in flash and i took the hex color value of the background from the top of the nav and the hex color value of the background from the bottom of the nav in the gradient so that my background in flash would match the design, however, when i put them together in dreamweaver, the background colors are off.
are colors rendered differently between flash and photoshop? is there any way to fix this aside from trial and error?
View Replies !
View Related
LoaderInfo.loader Flex/Flash Differences?
Hi!
I have a Flash app made up of AS3 components that I am trying to run in Flex.
In Flash, after the main component is added to the stage, the loader object (loaderInfo.loader) is null which is fine and I handle that.
In Flex, on the applicationComplete event, I add the the main component to the stage and the loader object's getter throws an exception - Error #2099: The loading object is not sufficiently loaded to provide this information.
Also, the INIT event, which is dispatched when the properties and methods of a loaded SWF file are accessible, is not firing which is probably part of the problem. But I can't figure out why it is not being dispatched.
Any ideas why the same code has two different results?
View Replies !
View Related
AS 1.0 & 2.0 Differences
I was just reading over this article: Listeners and AsBroadcaster. I haven't tried out all of the examples, but I did try out Example 4 (on the second page). I noticed that it functions properly in ActionScript 1.0, but not in 2.0. I received the error "There is no property with the name 'giveTo'." So, I tried changing "AsBroadcaster.giveTo = AsBroadcaster.initialize;" to "AsBroadcaster.prototype.giveTo = AsBroadcaster.initialize;". This time there was no error, but no names were traced either.
What are the differences between AS 1.0 & 2.0 that would make this work properly?
Thanks in advance!
[di]
View Replies !
View Related
XML And CSV Differences
I've been seraching and have found documents talking about using xml or CSV. I know how to load and use the data from each of the different file types. Thank you all for the tutorials
However, are there any advantages to using one or the other? Or are they basically the same in functionality with Flash MX 2004? When would using XML be better than CVS and vice versa? Is one slower? Basically I guess I am asking for an expert comparison of the two file types.
Thank you for the information.
View Replies !
View Related
Differences Between AS2 & AS3?
I am just starting to grasp AS2, and a lot more firms out there are asking for either AS2 knowledge, AS3 knowledge, or both!
Should I continue to learn AS2 and get to advanced/expert level, or should I abandon AS2 and dig into AS3? What are the main differences between the two?
View Replies !
View Related
Differences In Processors?
What would cause this??
I have one movie that plays fine on my new Pent III, 933. I've got an old dog PII that I'm testing with, and the movie plays through the preloader, then I get a big black screen. Like it doesn't know where to go, and it just stops...
I knew that Flash would play slower on older PCs, but what would make it have different results like this??
thx!
View Replies !
View Related
StartDrag(); Differences
I have noticed 3 differences syntax for startDrag(); , So what is the difference if any between
startDrag("",true,0,0,600,400);
and
startDrag(true,0,0,600,400);
and
startDrag(this, true,0,0,600,400); ?
Thanks
View Replies !
View Related
Performance Differences ?
I am confused.REALLY CONFUSED!
I have a flashfilm and the html-swf version (when I start the html) is working on 3 different computers with the same performance BUT the projector file (exe) is working different on each computer. On my computer the music is slower than the pictures so what am I doing wrong ? Is the preloader not working in the projector file ? I have 10 fps. The swf is about 2.6 MB and I have 800MHZ.
Please help me.
Thanks
slapy
View Replies !
View Related
Differences When Published....
hi. heres a question. Why is it that there are several important differences between my swf when i test the movie (using show streaming0 and when i actually publish it on the web?
the way i set i up is the following.
i have a swf that is approx. 120 kb of which 60-odd are a compressed mp3 the rest are several jpegs that range from 4 to 12 kbs. Because i was intendinng the site for people that might actually have lower than 56k modems i desided to only preload the sound file. as the images are used at different points along the 40 sec. animation i tried to use the animation itself as the preloader because the pics had time to load before they were needed. i built it to work for 28kps conections using the show streaming option.
also i added a bit of code towards the end (on a empty movie clp)
saying roughly : onEnterFrame decrease sound using setVolume. when i export the movie and use showstreaming at 28kbps the whole thing runs just fine.
When i put it on the web - and view it on a BROADBAND connection not only does the last piece of code using the setVolume not execute, but the animation and the sound are out of sync, as if the animation is lagging behind somewhat. it looks like it doesn't have time to load the images fast enough, even though the connection speed is almost tripled.
sorry that was so long winded... i juwst wanted to paint a complete picture for you guys. hope someone can help thanx
View Replies !
View Related
Browser Differences
I'm working on a slideshow with a sound clip. There's a button, that when you mouseover, it starts/stops both the soundclip and the slideshow.
The soundclip is a short mp3 that is loaded externally. that way I can change the soundclip.
Here's what's weird -- the thing works perfectly on my own machine (a PC) on both of my browsers (IE and Opera). But when I uploaded it to the web, it works fine in IE, but not in Opera.
Here's what's happening that's weird with Opera - when I mouse over the button quickly, sometimes the sound does not start. I've noticed that if I wait for like 5 second and then mouse over, the sound always starts. And, it always stops when i mouse off. So just when I mouse back over quickly, it doesn't start. But the button does change state every time, so the mouse movement is being picked up.
Isn't that weird? Does anyone have some idea why that might be? Again, the only difference is that it's on the web-- when I view it on my own machine, it works perfectly on both browsers.
Any help from those flash gods would be appreciated.
Frizzo
View Replies !
View Related
Browser Differences
i've been testing my site on different browsers on mac and pc and have found tha the differences are massive. apart from the fact that the colors are completely transformed. the browser windows do not open to the right size or at the right position in some cases. The biggest problem is the fact that only on explorer for mac do the windows open at the correct size, everywhere else they are smaller and have scroll bars. I am desperate to avoid this. does anyone know a resource where i can learn about the differences and write my javascriptcode accordingly? thanks also if anyone has any ideas as to how to regulate the colors so they don't look so amateurish on different systems that would be a bonus. thanks for the help
View Replies !
View Related
Actionscrip Differences Between Mac And PC
I am working through some Flash MX training videos that I purchaed from the Internet. The actionscript tutorials in the video use slightly different screen panels that I see with my FLash MX which is making the tutorials hard to follow.
I am using Flash MX on my PC. Is there a difference in actionscript layout of the panels between Mac and PC platforms?
View Replies !
View Related
Differences In Size
Hi
I am a little confused . I have made a flash movie in Flash 8 but of size 728 x 90 , which is showing as 728 x 90 inside it.
But when i view the swf , and take a print screen and paste it in photoshop , it is showing a totally different size. Something like 711 x 105 etc .
Why is this and how i can stop this ?
View Replies !
View Related
Differences In The F9 Alpha And CS3?
Hey, I'm getting back into Flash after I found out they fixed a huge memory bug, which hindered the progress of one of my projects.
Last time I used AS3 was in the Flash 9 Alpha release. Are there any major differences I should know about?
How many developers have moved to AS3? Last time I was here, there were only a few of us.
Any major improvements in the game development aspect? New 3rd party Classes, etc. Whats the best way to build a tile engine these days? BitmapData?
I kinda feel bad I've been away from flash so long... I've even become a mac user/developer in the meantime
View Replies !
View Related
Code Differences
Would this script still work in AS3?
Code:
container.loadMovie("one.swf");
onLoad = function () {
destinationX = buttonOne._x;
destinationY = buttonOne._y;
};
onEnterFrame = function () {
hoverSquare._x += (destinationX-hoverSquare._x)*0.2;
hoverSquare._y += (destinationY-hoverSquare._y)*0.2;
};
buttonOne.onRelease = function(){
container.loadMovie("one.swf");
destinationX = buttonOne._x;
destinationY = buttonOne._y;
}
buttonTwo.onRelease = function(){
container.loadMovie("two.swf");
destinationX = buttonTwo._x;
destinationY = buttonTwo._y;
}
buttonThree.onRelease = function(){
container.loadMovie("three.swf");
destinationX = buttonThree._x;
destinationY = buttonThree._y;
}
buttonFour.onRelease = function(){
container.loadMovie("four.swf");
destinationX = buttonFour._x;
destinationY = buttonFour._y;
}
buttonFive.onRelease = function(){
container.loadMovie("five.swf");
destinationX = buttonFive._x;
destinationY = buttonFive._y;
}
View Replies !
View Related
[AS2] Differences Between Flashplayer 9,0,28,0 And 9,0,115,0?
Hi folks,
Does anyone know of any differences between these two sub-versions of the Player? I have an interactive map with icons (that are components) on each property. The icons are not displaying in the ,28 version player, but the 115 version works perfectly?
Any insight would be greatly appreciated. I'm not using any unusual code here and it's written in AS2, so shouldn't any and everything run in any 9 version player?
Thanks!
View Replies !
View Related
Button Differences
Hi!
I am a complete new beginner and buttons are confusing me a little. I like to understand things and not just follow tutorials blindly, so I was hoping I could get some answers here...
Like I said, I'm a complete new beginner so I'm starting with a very simple webpage with three pages(frames) and three buttons. That's not a problem, like I said, I can follow these tutorials fine.
But.. some tutorials use UI component buttons and others use buttons from the Common Libraries and yet others show you how to create your own buttons.
I'm guessing that the buttons you create and the ones you find in the common libraries are basically the same except that one you made and the other Adobe made. Am I right so far?
But then what is the difference with those and the component buttons? I read in another thread here that the difference before (AS2) was that you had to use different script. onRelease for the self made buttons and the AddEvenListener for the component buttons.
Butbutbut! I just followed the Adobe tutorial on how to start with flash. The one where they teach you to make a banner for overworked, underpaid gnomes. There they used AddEventListener on a non-component self made button.
So what would the difference be? Are the component buttons able to be controlled better through AS3? Is there no difference at all?
Thanks!
View Replies !
View Related
GetCharBoundaries OS Differences
Hey There,
I am using TextField.getCharBoundaries() to display some emoticons over a textfield.
This is working fine on the mac, but in windows the measurements are not the same. Does anyone have any experience with this same problem, or have heard of it before?
Thanks,
Nathan
View Replies !
View Related
Differences... Need Explanation :)
Hey all,
Im just looking for some explanations/advice on two different topics in actionscript. I find it kind of bizarre that I have been coding AS for a long time but have never really figured out the difference between these properly.
1) loadMovie vs. loadMovieNum
I have always coded using loadMovie into a created mc or a blank mc. I notice alot of ppl on these boards are using loadmovieNum. Question is how do you modify a level? From another post I just read this morning you cannot tween a _level am I right? If I am, why even use loadmovienum?
2) _width vs. _xscale OR _height vs. _yscale
I use alot of dynamic tweening using Robert Penners API includes. In which case would I use height or width vs x or yscale? Is it this: _width tween in a pixel size and _x and _yscale tween in the percentage relational to the object?
Any help/feedback is appreciated.
View Replies !
View Related
|