TextHTML - Different Fonts Causing Problems
Hi All,
Just having problems with a font in a HTML text box. I hope you output HTML so that it has the Alias effect (which i take, is done by default for HTML text). The main problems is that i'm able to output the text correctly when i use the Unibody 8 text, unfortunatly when i change the font to Georgia it will then appear burried (anti-alias). I have tried embedding the font but it didn't change anything.
Any suggestions appreciated.
Jake
ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 07-12-2005, 02:17 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Dynamic Fonts Causing Problems
Hi
I using flash mx to design a project. I have been using a pixel font called harmony. The problem that I am having is that when I use dynamic text box which brings the data from a txt file the font on is very small and cannot be read at all (This is when I run it on the web server). But when I use static txt box everything is fine.
Can anyone help me with this problem please
Thanks
Hesh
Small Fonts That Anti-alias Gracefully (NOT Pixel Fonts Though..)
Yo. Anyone know any good fonts that work in small sizes (8 pointsish) that dont go yucky THAT ARENT PIXEL FONTS? know pixel fonts are good, but im looking for a smoother look. a good example is (suprise suprise) 2advanced.com..... the fonts used for links are luverly...... Anyone?
[Fonts] Pixel Fonts Are Closing Gaps..
Hi there,
I've got a weird and irritating problem. I have a font, supernatural_10_02, which I use in a site. This is a pixelfont, so I'm taking special actions to make sure the fonts look non-antialiased. This works fine, the text looks very nice. Untill I export the movie, then the gaps in letters are being closed for some strange reason.
To ******** things, I've uploaded two examples. First an example of how the font looks on the Flash MX Working stage:
Then an example of how this same text looks when I export the movie:
What is going wrong? And what am I doing wrong.. Is there anything I can do to prevent those letters from closing? Please help!
I'm using Flash MX 6.0 on Windows XP
Ps: I've tried to export the movie on a Macintosh, the letters on that mac did not close?! Really weird..
Flash Fonts And Server Side Fonts
Hi,
I'm creating an application where users upload their images with flash and edit them. We are placing text over the images, and we allow the users to choose the fonts in which they write them.
The co-ordinates are saved to the application database and the server side code dynamically writes the text on top of the images.
I know in order for the server side application to write in the selected font it must be installed in the server. I am wondering what my limitations on fonts that appear in flash are ?
How can I increase the number of fonts that will function on both the flash application and the server side application? The application is being developed in as 2.0, but could be moved to 3.0 if this helps.
Thanks very much for any assistance!
mike123
Pixel Fonts Becoming System Default Fonts?
Hello, when I try to use some of the pixel fonts I have downloaded some of then turn into 'system default fonts' as if by magic and then fail to work, the ones that work like the FFF fonts don't turn into 'system default fonts'. Is there any way to stop my fonts becoming system default fonts, and would this ensure they dont muck up?
attached is a pic to show you what i mean.
Pixel Fonts Becoming System Default Fonts?
Hello, when I try to use some of the pixel fonts I have downloaded some of then turn into 'system default fonts' as if by magic and then fail to work, the ones that work like the FFF fonts don't turn into 'system default fonts'. Is there any way to stop my fonts becoming system default fonts, and would this ensure they dont muck up?
attached is a pic to show you what i mean.
Question About Using Non-system Fonts And Blurry Fonts
i'm using some miniml(vector-based?) fonts in my movie. how should i set my text options in order for the client to see the fonts and what would be optimal settings to avoid blur(right now they are placed on whole number increments and seem ok). thanks =)
What Is Causing This?
check what happens to this png image when i try to rotate it a bit
http://www.sixofour.org/test-site/
it looks so wierd, and its definatly not "smooth"
can someone help me with this?
should i use actionscript to let the image move?
thx in advance
Anyone Know What's Causing This Problem
Ok, I'll try to explain my situation.
I have site with muliple scenes. I loaded a movie in one of the scene. The movie does not play until a button is clicked. This works however, if the user were to hit the button to go back to the previous page ( which I want them to have the option of doing) the movie continues to play
ON TOP of the new page....
WHY! is this happening. How can I tell it that when the button is click to STOP playing the current scene/movie and for it to not be ON TOP of the new page.
Any help deeply appreciated.
If this is unclear please email and I'll try to explain it clearer.
Thanks
What Is Causing This Error?
Okay, I made a symbol in my flash movie which happens to be a "zig" fighter. I made it from taking a screenshot from zero wing and then drawing over the zig wiht the paintbrush. Now, whenever I do much of anything involving the zig fighter, flash freezes up for about 30 seconds, or it freezes up for good. All I can really do is move it; if I try to copy it or paste it or if it touches the scrollbars flash freezes. Anyone know whats causing this, or is it just my comp?
What Is Causing This Error?
when i use this code
code:
on(press){
function format(n, places) {
var pow = Math.pow(10, places);
var rounded = Math.round(n*pow);
var integerStr = String(Math.floor(rounded/pow));
var decimal = rounded%pow;
var decimalStr = String(pow)+String(decimal);
return integerStr+"."+decimalStr.substr(-places);
}
trace(format(0));
}
the output trace comes out as 0.10 instead of 0.00
can anybody see why cos i cant.
no matter what i write in the trace its always out by .10 so even if i write 3.5 it will come out 3.60
why, argh!
var.
[F8] LineTo Causing Serious Lag?
I have some simple code that creates a movie clip and draws a line in it to represent a bullet in my game. Code works great except for the fact that as more and more bulletes get shot, the slower and slower my game gets. I would think that the obvious cause for this problem would be if movie clips were building up and up and up. But I remove the past movie clip and I know they are being removed. If I comment out this code my game runs at a blazing speed so I KNOW that its this code that is causing the problem. I just cant see it. Maybe flash's garbage collector is getting backed up or something.
Code:
unloadMovie(lineTarget);
_root.createEmptyMovieClip("line"+_global.dn_weaponlines,_global.dn_weaponlines);
lineTarget = _root["line"+_global.dn_weaponlines];
_root["line"+_global.dn_weaponlines].lineStyle(.75, 0xFFFFFF, 50);
_root["line"+_global.dn_weaponlines].moveTo(lastCoordX, lastCoordY);
_root["line"+_global.dn_weaponlines].lineTo(targeted._x, targeted._y);
_global.dn_weaponlines++;
EDIT : so it seems I was using the incorrect method/function to remove the movie clip from existance. removeMovieClip fixed my prob
[F8] What In The World Is Causing This?
I have a website that works perfectly in Firefox(Pc), but Is messed up on IE(pc), Firefox(mac), and Safari(mac).
Each of the buttons on this site has exactly the same layout, timing and actionscript, but Photography, 3D and Film/Video Sections, the drop down window drops down twice and doesn't show the content. I have no idea.
Any thoughts would be greatly appreciated!
-roger
http://thinkmonkeymedia.com/monkey/
Actionscript on each movieclip button:
Code:
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root._currentframe == "1") {
this.nextFrame();
}
} else {
this.gotoAndStop(1);
}
}
ActionScript on frame 1 of main timeline:
Code:
stop();
_root.photography_mc.onRelease = function() {
if (_root._currentframe == "1") {
_root.gotoAndPlay(3);
_root.onEnterFrame = function() {
if (_root._currentframe == "16") {
delete (_root.onEnterFrame);
stop();
_root.holder.loadMovie("photography.swf");
}
};
}
};
_root.websitedesign_mc.onRelease = function() {
if (_root._currentframe == "1") {
_root.gotoAndPlay(3);
_root.onEnterFrame = function() {
if (_root._currentframe == "16") {
delete (_root.onEnterFrame);
stop();
_root.holder.loadMovie("websitedesign.swf");
}
};
}
};
_root.about_mc.onRelease = function() {
if (_root._currentframe == "1") {
_root.gotoAndPlay(3);
_root.onEnterFrame = function() {
if (_root._currentframe == "16") {
delete (_root.onEnterFrame);
stop();
_root.holder.loadMovie("about.swf");
}
};
}
};
_root.threed_mc.onRelease = function() {
if (_root._currentframe == "1") {
_root.gotoAndPlay(3);
_root.onEnterFrame = function() {
if (_root._currentframe == "16") {
delete (_root.onEnterFrame);
stop();
_root.holder.loadMovie("3d.swf");
}
};
}
};
_root.filmvideo_mc.onRelease = function() {
if (_root._currentframe == "1") {
_root.gotoAndPlay(3);
_root.onEnterFrame = function() {
if (_root._currentframe == "16") {
delete (_root.onEnterFrame);
stop();
_root.holder.loadMovie("filmvideo.swf");
}
};
}
};
_root.graphicdesign_mc.onRelease = function() {
if (_root._currentframe == "1") {
_root.gotoAndPlay(3);
_root.onEnterFrame = function() {
if (_root._currentframe == "16") {
delete (_root.onEnterFrame);
stop();
_root.holder.loadMovie("graphicdesign.swf");
}
};
}
};
_root.contact_mc.onRelease = function() {
if (_root._currentframe == "1") {
_root.gotoAndPlay(3);
_root.onEnterFrame = function() {
if (_root._currentframe == "16") {
delete (_root.onEnterFrame);
stop();
_root.holder.loadMovie("contact.swf");
}
};
}
};
_root.othercompanies_mc.onRelease = function() {
if (_root._currentframe == "1") {
_root.audio_mc.gotoAndStop(4);
stopAllSounds();
getURL("http://thinkmonkeymedia.com/bobbets/", "_blank");
}
};
What Could Be Causing This Weirdness?
I have a flash menu/button thingy that has developed a problem.
http://www.furisdead.com/. When you click on the Tommy Lee button at the top, then try to click on the other buttons, you get nothing but Tommy Lee.
The data is called in via XML. I didn't create this, another staff member who is no longer with us did and I am no actionscript guru but am left to figure out the problem. Hence, I need your help.
Attached are both the fla and xml files
TIA!
I.e. Causing .swf To Act A Little Strange...
hi there,
i was wondering if anyone had experimented with the wonderful flipbook source code from iparigrafika. i've got it tweaked to just the way i would like it to be and it's fine. except....when i view the page in i.e. there's about one second of delay before the book opens up the page, and in that second of delay it's strange because the inside page shows through. am i making sense?
it only happens in i.e. and not in firefox, netscape or opera. has anyone had this glitch? oh yeah, it does not happen when i view the .swf page only without the frame of the html page. wierd!
http://www.adriennemariavrettos.com/denise/index1.html
thanks in advance for any input!
Key Down Causing Problems
This is driving me mad so I hope someone can help me out.
I've been working on a game and it's nearly complete barring a couple of features and finalising grahics etc.
http://www.booyahonline.com/booyahblaster.htm
You control your character with the arrow keys and hold down the space bar to uild up power in the rock you throw at the creatures. Once the power is high enough you can release the space bar and throw a rock.
Once you get to level 2 (the last one at the moment) the creatures start to attack you with green spit (nice).
If the character you control is not holding a rock (space bar up) the collision casuses a sequence to be initiated where a different frame of the character mc is displayed.
However if a rock is being held (space bar down) the sequence will not happen. All the scoring scripts run and the game plays perfectly well but the character will not move frames.
I've tried removing the key listener on the space bar when the colision takes place but nothing seems to work out. The key listener runs a function which moves the character to the frame where he holds the rock so I though that would be the answer. Not so.
I'm not going to post the code here because it would simply be toooooo big but I was wondering if anyone else has experienced difficulties when using key controls and if they found any good ways to get round situations like this.
Thanks for any help and advice shockers
MPEG’s Are Causing A Problem
MPEG’s are causing a problem
I like many others have a swf movie and within this movie I have things that load in, however its not as easy as using DreamWeaver etc, for example to load files all I do is make a button and link it to a jpeg or mpeg etc and it plays in its own default media player etc. Thus I don’t have to worry about embedding files in swf.
My question is: can I load files from within swf. That are not swf. GetURL etc??????
Thanks for help if any
Dense Actionscripting Causing Lag?
I'm a bit of a novice at learning how to nest the bits of code and when to import clips from the library and how all of that saves time/space/speed...
So, I have 15 movie clips.
Each one of these movie clips have *massive* amounts of the exact same code on them. I basically built everything bass ackwards and painted myself into a corner with this one.
My question is: due to all of this massive chugging at the actionscript level that's happening on my 400mhz, will the content its actually moving (they are variously sized images) be a factor in how all of the code "synchronizes"?
Again its all the exact same code, but if i'm using it to move around a 7k image is that going to make that code unsynch from the code that is moving the 70k image?
I'm totally screwed if it does, I'm getting weird synch problems where the same function is not executing the same way with each pass... makes it a bit of a useless function
Little XML Problem, Causing Big Headache
I'm having a b*tch of a time trying to convert the number of times an XML node appears into a solid number. All the XML imports fine & the attributes are recognizable, but I can't get a correct count
here's the XML structure:
index
content index="1"
item/
item/
/content
content index ="2"
item/
item/
/content
/index
Not exactly difficult. What I'm trying to do here is tally the number of "content" nodes & come up with that total number, (two in this case) & place it in a variable.
Can anyone please help me?
Loadmovie Causing Issues
I'm trying to load a movie called a_1-2_early.swf into the movie 1-2.swf
a_1-2_early.swf loads in an external mp3 and plays it along with a few audio controls (play/stop/etc)
I use this code to load in the audio:
<blockquote>
this.onLoad = function() {
_root.sounda = new Sound(this);
_root.sounda.loadSound("audio/1.2_early.mp3", false);
}
</blockquote>
This movie works fine on it's own but will not load the audio (nor give me any error messages) once I try to load it from 1-2.swf
1-2.swf loads in the movie with this code:
<blockquote>
on (release) {
loadMovie("flash/a_1-2_early.swf", "_root.audio");
}
</blockquote>
1-2.swf is displayed in an html file. Here's what my directory structure looks like:
root
- 1-2.html
- [audio]
- 1.2_early.mp3
- [flash]
- 1-2.swf
- a_1-2_early.swf
Any ideas on why the audio isn't loading once I try to load it from another movie? Is there any way that I can see where it's trying to load the audio from? I get no error messages when I run the program, all I get is the first frame of the preloader contained in a_1-2_early.swf but it doesn't show the percentage, just the text 'loading'
Preloader Causing Problems....
hey all...
i used a preloader tutorial from this site (http://www.flashkit.com/tutorials/Ac...-924/index.php)....the preload works fine, except for one problem: any movie clip sitting on the root level won't play when activated....excuse my level of newness, i'm not great with actionscript at all...anyway, when i mouse over a button that is supposed to activate a movieclip, nothing happens, and i get an output message that says: "Error: A 'with' action failed because the specified object did not exist."
When i test the .swf that the preloader is loading on its own, it works fine....it only goes wacky when it is preloaded....any help would be greatly appreciated...
Script Causing Unresponsiveness
Christ, I have no freakin clue what the problem is, when I preview it in flash, it works smooth and everything. I upload it and look at it, and a script is causing unresponsiveness. I've tinkered with it a couple times, doesn't help. I believe it's when the swf is fully loaded, cause I have a preloader, it goes to 96%, about to hit 100, than freezes, and says do you want to abort script? Can someone please help?
http://members.aol.com/kidfloa/preview.html (to view it on a web page)
http://members.aol.com/kidfloa/word.fla
oh, and it might be the html coding for it because if I view the swf itself ( http://members.aol.com/kidfloa/word.swf ) it works fine and everything, does anyone knows the cause of this problem?
Components Causing MX To Crash?
I found an old post regarding this issue, but there were no replies to it. I'm using Flash MX on OS X and I have only fiddled with it a little bit since I got it. I did play around with components once or twice. Today I've tried to insert a component into a movie and Flash crashes immediately. I've tried several times to do it and every time it crashes. The only thing that I can think of that is different from before is I downloaded some other components (from the Macromedia site) and installed them.
Has anyone else had this crashing problem? I was unable to find on Macromedia any updates or much information about MX crashing using components.
While Statement Causing Problem
Ive got a "while" loop in my script , and when i run it in Testmode(Test Movie) inside of Flash it gives me a problem
in the line of:
"The script is causing the Flash player to run slowly, this may cause your computer to stop responding, do you want to abort the script?"
the same happens when i publish my file unto the web and run it through the browser.
Although when i run it in Debug mode inside of Flash it runs correctly , when I step through the script , and the script is working correctly.
What may cause this?
is something in my script or something with my "while" statement
here is my script below:
>>>
while (_parent.getBytesLoaded() < _parent.getBytesTotal()) {
if (_global.contentframes >= _global.nextsegment){
_global.nextsegment = (_global.contentframes+_global.segmentdelay);
_root.preloader.gotoAndStop(_root.preloader._curre ntframe + 1);
}
}
_parent.gotoAndPlay(2);
<<<
I'll greatly appreciate any help
thanks
meister
Pixelated .swf Causing Bewilderment
Like many sites, I have an opening html page letting the user know that they need the flash plugin etc. I then have the swf open in a new window set at 800x600 pixels. The swf is told to open at 800x600 also. All of this works fine except that the jpg's in my swf look pixelated. What I find odd about this is that the dimensions of my flash document are 990x742! When I make the swf open into a new window at 990x742, it looks perfect, no pixelation at all, but this is a larger window then my client wants. So my question is, why does scaling DOWN the size of the swf make this pixelation occur? and how can I fix it without using a larger window? Thank you! If you would like to view the site go to www.digineering.biz
New Level Causing Issues
I am loading movies into several levels on my site. If I have a movie on level 4 for example, I want the buttons on the lower levels (3,2,1,0) not to be active. Is their a script that will do this? or will i have to target all those buttons seperatly to make them inactive.
Thanks
FOR Loop Causing NaN Or Undefined
Here's the code:
on (press) {
for (var i = 0; i<=4; i++) {
k = random(3);
pp = new Array();
for (var j = 0; j<=k; j++) {
pp[j] = dofunction();
}
this["text"+i] = pp.join(" / ");
trace("returned text "+i+" = "+this["text"+i]);
_global.dofunction = function() {
return "some text";
};
}
}
Here's the output:
returned text 0 = undefined / undefined / undefined
returned text 1 = some text / some text / some text
returned text 2 = some text / some text
returned text 3 = some text / some text / some text
returned text 4 = some text / some text
Why is the first return an Undefined? Sometimes (in different versions of the script) it returns NaN for the first run through but then is fine. I have tried to call "i" as a number intially : i = Number(i); and I have tried to incriment it at the start of the script : i++; but nothing seems to help.
Thanks in advance crew!
Aaron
Components Causing Crash
I'm trying to stream a video using the new video components in flash mx 2004 pro.
i'm calling the .flv inside the component inspector but when i publish or view the swf it plays for 2 seconds and then crashes explorer or flash.
what can be doing this? I'm on a 2.7 ghz pc with loads of ram.
Loading Swf Into _mc Causing Problems
im using mx 2004.
within my main movie i have a target_mc that im loading external swf's into with loadMovie. If one swf is loading into that target_mc and i interupt it by trying to load a different swf into target_mc, thats where the problem starts. it stops the loading of the first swf, just as it should, but when the second swf is done loading, it starts cycling through the timeline of that 2nd swf. I of course have several stops in that timeline, it just blows by them as if their not there. There is no way to stop this cycling unless the browser is closed.
I have tried an unloadMovie before the loadMovie.
check this out at
www.manwiller.com/celebration
click on the wedding info link then before it loads, click on the lodging link and you will see it. If you have high speed, you'll need to click the second link quickly.
thanks for any help.
Sounds Causing Pausing
Im making a shooting game. When you collect power ups they make a sound. The ploblem is that the first time you collect a power up the game stops for a second to load the sound. Please help.
LoadMovie Causing A Headache
Hi,
Ive built a website for someone whereby I have the interface buttons down the left hand side of the website and on clicking them they load the relevant section on the right hand of the page.
All works fine and well for me and for 95% of people, but for some, when clicking these buttons, the .swf movies do not load! Including the guy who paid for it.
Each button simply says LoadMovie (nameofmovie.swf, 2). Everything else on the website works perfectly, all updates are read via the text files etc. Its just when it comes to load the .swfs through the menu.
The 1 person is using the AOL Browser (yes ive read all the posts about AOLs stinkiness) AND Internet Explorer. Both do exactly the same thing making me believe it isnt an AOL issue.
My question is, is there any other way to link the buttons to the .swfs (rather than loadMovie) as maybe that would be a solution. Is this a problem anyone else has? Also could it be a setting on his computer not allowing it to load? The only firewall he seems to have is the free one with AOL which is running when I tried IE. I changed IE to allow all cookies in from my website which seemed to work the first time but on reloading the browser it stopped working.
Ive literally got a headache, anyone know a solution?
Buttons Causing Refresh
I have some buttons on my movie that have this AS on them
on (release) {
loadMovie("casa.swf","_level0.targetMC");
}
Some of the time it works ok, but others when I click on the buttons it causes the whole main movie to refresh and play from the beginning.
please take a look..
http://www.dfwstudio.com/flash/test.html
Any ideas?? This started happening after I took the attached sound out of the _root timeline and started using a BG Sound Object to stream it externally.
Code Causing Rediculous Lag...
Alright, I've implemented a new snippet of code to simplify my program, yet this newer, simpler way seems to cause lag then didn't otherwise exist in my program.
OLD SCRIPT:
PHP Code:
mc1.onRollOver = function() {
_global.sectNum = 2;
newCol = true;
mixCol = 0;
setBlobColor();
};
mc1.onRollOut = function() {
_global.sectNum = 0;
newCol = true;
mixCol = 0;
setBlobColor();
};
mc2.onRollOver = function() {
_global.sectNum = 3;
newCol = true;
mixCol = 0;
setBlobColor();
};
mc2.onRollOut = function() {
_global.sectNum = 0;
newCol = true;
mixCol = 0;
setBlobColor();
};
mc3.onRollOver = function() {
_global.sectNum = 4;
newCol = true;
mixCol = 0;
setBlobColor();
};
mc3.onRollOut = function() {
_global.sectNum = 0;
newCol = true;
mixCol = 0;
setBlobColor();
};
mc4.onRollOver = function() {
_global.sectNum = 1;
newCol = true;
mixCol = 0;
setBlobColor();
};
mc4.onRollOut = function() {
_global.sectNum = 0;
newCol = true;
mixCol = 0;
setBlobColor();
};
mc5.onRollOver = function() {
_global.sectNum = 6;
newCol = true;
mixCol = 0;
setBlobColor();
};
mc5.onRollOut = function() {
_global.sectNum = 0;
newCol = true;
mixCol = 0;
setBlobColor();
};
NEW CODE:
PHP Code:
function myRollOverFunction() {
_global.sectNum = this.index;
newCol = true;
mixCol = 0;
setBlobColor();
}
function myRollOutFunction() {
_global.sectNum = 0;
newCol = true;
mixCol = 0;
setBlobColor();
}
for (var i = 1; i<6; i++) {
_root["mc"+i].index = i;
_root["mc"+i].onRollOver = myRollOverFunction;
_root["mc"+i].onRollOut = myRollOutFunction;
}
Both codes accomplish the same thing, yet the one works smoothly, the other lags after a certain amount of time (~30s into movie).
Thanks,
DAVULF
Help With AVI's Causing Sound Issue
I have an mp3 format in the movie and it plays fine. If I import an AVI to the stage the audio becomes scratchy and very garbled. No avi and it returns to normal. I converted the AVI to symbols and it fixed the audio but gave me only one frame of animation. Is there a way to import the AVI into frames instead of a movie? Or anyone have a link to point me to for the audio fix?
Thanks for the help,
rai
[F8] Old Actionscript Causing Errors
Hi,
I'm working through a tutorial on Flashkit which produces a rather neat 360 view (like the VR tours you get)
However - this tute is from Flash 4, I'm working in 8 and have altered all the code apart from thi:
Code:
dup = "this.image" add m;
Right up to flash 7 this seems fine (in publishing settings).
Can anyone tell me why this does not work in Flash 8???
This is the full code the line above is from:
Code:
// Make duplicate of picture
// tmi=total duplicates (2)
// dup=new movie duplicates
// image=original movie
m = 0;
tmi = 2;
while (Number(m)<Number((tmi*2)-1)) {
m = Number(m)+1;
dup = "this.image" add m;
// Depth of this layer and depth of picture layer CANT be the same. So in this layer I add 1 to the depth to make sure of that.
duplicateMovieClip("this.image", dup, Number(m)+1);
setProperty(dup, _x, Number(getProperty(dup, _x))+Number(m*getProperty(dup, _width)));
}
Appreciate any help!
Template Causing Crash
Hi,
i am trying to edit a flash template that was bought off template monster, it appears to be Flash MX and I'm using Flash MX 2004. All I am trying to do at the moment is delete the content that has been put in so that i can put my own in, but for some reason everytime i reach one particular symbol and try to delete it the whole programme freezes up. I have never had this problem with my installation of Flash before and for everything else except that symbol it is absolutely fine. Is it possible that just one part of a .fla could be corrupted? Either in the original file, or perhaps in some way during the conversion? in which case, how can i get rid of it?
i don't need it in the template, and it's proving more trouble than its worth trying to get rid of it... probably quicker to build new template from scratch at this rate, except client wants this one...
hope someone can help,
cheers
SetInterval Causing Chaos
Hi,
I am using setInterval to make a 4 second gap between transitions for a slide show. This all works fine...
And then, using loadMovieNum("part2.swf", 5), I load another slideshow onto the base movie. The base movie moves to another scene, with a blank bg so that the next slideshow doesn't interfere with the first one.
As soon as the loaded slideshow ("part2.swf") reaches the first setInterval command, the base movie switches to scene 1 and plays the first slide, then back to scene 2 to the part 2 slide show. I presume this has something to do with the setInterval commands but I cannot work out what!!
Do setInterval commands get confused if a loaded swf has the same setInterval name?
Thanks for any help. For now I am going to have to put the slideshows on seperate web pages instead of loading them onto the same swf, but I would really like to understand setIntervals.
Cheers,
Alijandros
_root Causing Problems?
I'm very new to flash and actionscripts and need some help sorting this out. Currently I have a flash website that I'm building. This site has a index.html page in the main directory and within a child directory called "Flash" I have two flash movies. One is called "main.swf" and the other is "viewer.swf". Within the viewer.swf is a code to load a gallery.xml file which has some pictures.
So far I have the main movie loading the viewer.swf when the button is clicked on my local machine which works. However, as soon as I push that to the host it can't find the gallery.
Its just a path issue but I don't know how to fix it. Below is my code:
Code:
_global.SVStageWidth = 640;
_global.SVStageHeight = 420;
test.onRelease = function(){
loadGallery("gallery.xml");
}
function loadGallery(galName){
_root.xmlDataPath = galName;
mcLoader.loadMovie("viewer.swf");
}
The main.swf gets loaded from an index.html page thats one directory above.
My directory structure looks like this:
+Flash
index.htm
myCSS.css
Within the 'Flash' directory I have:
+images
+thumbs
main.swf
viewer.swf
gallery.xml
swfobject.js
The viewer.swf is then loaded into the main.swf. I don't know why it can't see that gallery.
I think it's a simple path issue but don't know why. Any help would be greatly appreciated since the site I purchased the viewer code from is less than helpful.
thanks
[F8/F9] Causing The Browser To Crash
Hi all,
I'm the developer of puzzlebee on facebook, and after a recent code update users began complaining of flash crashing the browser with "Illegal Operation in PlugIn: Shockwave Flash". Nothing really major was changed, so I'm thinking its a certain combination/sequence of regular actionscript causing it.
From feedback it seems to happen in any of the the major browsers and flash players, but I'm unable to reproduce it on any of our computers. For some users it always happens, on others only sometimes. From looking on various threads it appears to be a common problem where certain sites for these users will cause a crash, and I need to get this working even for these users, since it worked before the update.
So I'm asking if anyone knows a configuration of browser, flash version which causes this error?
Even better would be a solution, but I'm sure i could fix quickly it if I could test for it.
Thanks
Stuv
Sound Causing Frames To Lag
Hey, this is my first time using the board so I apologize if this question has already been answered (I looked around a bit).
I've tested my Flash several times inside Flash and it works JUST FINE...but just for laughs I published it and tested it...and the frames lag but the sound doesn't, causing the sound and frames to not sync up properly.
When I made this, I was only aware of being able to add sound by using ActionScript (Was thinking about posting in the AS forum but didn't think it fit into just that), which is what I did. Now I'm aware that you can also set up a sound on its own layer and use the drop down menu to play it and whatnot... I tried that and it didn't sync properly which would make me spend an hour readjusting everything (I'm 330 frames into the animation)...
What I really need to know is...the way I'm doing the sound...is that not a good way to do it? I'd much rather do it this way and be able to fix the lag issue...does anybody know what I'm talking about?
And if I should do it the other way, please explain to me why that way is better than this way, and what the difference is, using any and all detail you can give me...I'm eager to learn.
Also I should say this is only my second project...it's a huge undertaking for my second project but I'm doing very well and want to keep going...but I figured you should know that to understand that I'm still something of a noob at Flash.
If you need more detail / examples before you can help me, please, let me know...I'd be glad to provide you with whatever you need.
I appreciate any help you can give me...thank you in advance.
Overlapping MC's Causing Studder...
Hi All,
I know this has been spoken about in the forums but i haven't been able to find anything that can help my situation.
I have a movieclip behind my navigation_mc and this movieclip has a tween on rollover. Only about 50px are shown of the MC but then you rollover it reveals its full 300px. When I roll over the navigation_mc where the movieclip is hidden, the movieclip studders and doesn't tween properly.
How should i go about fixing this?
Camtasia Causing Fullscreen To Go 100%
Waddap peoples!!
Heres the scenario. I have these Camtasia help files created by the client. I wrote a little compnent that displays the video files and some helptext using XML. Now heres the problem:
When the project started, I was not aware that the files would be running 100% width and height in the browser. This means that the file gets stretched to fit the WHOLE window. We managed to do this quite painlessly.
Now the real problem:
When the Camtasia file loads, and goes to the first frame, my allowScale window unallows. It returns to 100%... I know this has something to do with the way Camtasia grabs, because when I load the file and send it to frame 2 immediately, the SWF does not go to 100%.
If anyone knows how to get rid of that first frame allowscale=false... PLEASE let me know... my deadline is in 10 hours :,o(
Cheers
Thanks
Publish Causing App To Close
ok i have flash professional and when publishing a web page Flash quits unexpectedly. Can anyone help me figure out why? Im running OSX on a 17" powerbook.
thanks!
Flash 8.0 Is Causing A Problem With Set-up Cd
When I try to run the set-up CD for my HTC, I get an error message saying:
"set up require Adobe Flash 8.0 to run"
The error message contains a link to the Adobe website where the software can be installed.
Despite correctly in-stalling and re-installing several copies of 8.0 the error message still appears when I try to run the set-CD
Thanks for your help
RemoveMovieClip Causing IDE To Crash?
Hi, I am creating a movieClip on the root using createEmptyMovieClip, loading some images into it, and then removing it (in order to cache the images).
However, when I test the movie in the IDE, the line:
_root.imagePreloader_mc.removeMovieClip();
causes the entire IDE to crash. Has anyone seen anything like this before?
Cheers,
Rich
Button With Mc Causing Probs
I'm not too experienced with AS, so here we go...
OK, on the attached fla I have an "invisible" button (button with 0 alpha). I copied a script from the tutes section that will allow me to open a new window when the button is clicked (another rip from a forum question ).
This works OK, but I also have a MC below the button layer and this MC has some AS attached to it which basically makes it fade out to the image on the bottom layer.
It seems to me that the button script makes the MC script stop working because it's above the MC layer (I've switched the button layer below the MC layer and the fade out then works, but the button doesn't ).
How can I get both scripts working together? I know that MC's can't work like buttons, but is there a work around this?
TIA,
Mark
PS. Don't forget, I'm an AS n00b!
Lockroot Causing Problems
hi, i have a flash site where the fla with the background, navigation etc contains an empty mc into which all the site content loads.
on some pages, for example one where i have a photo gallery (its the one from the tutorial on this site, XML & Flash photo gallery with thumbnails), i had to put a "this._lockroot=true" in the first frame for the thumbnail scrolling to work, as this photo gallery page is loaded onto the main fla when viewed online and wouldn't work without the lockroot.
problem is, on pages where the lockroot is in the first frame of the loaded swf, the links within that loaded swf that load other swfs into the main empty mc don't work anymore! how can this problem be solved?? please help, thanks
Help SWF Layer Causing Me Grief
Hi,
its my web site...
ignore the typography over the loading bar this will be changed so will some other stuff.. my main pain at the mo' is the base swf, it keeps on showing for a fraction of a second befrore the other SWF's load up.
www.craigbennett.me.uk
- You see what I mean?
How can I fix this?!?
Cheers
|