Show Stuff On The Stage In Html
is this possible? i have a box with falling stars and i want the stars to fall out of the box and be visible in html.
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 04-22-2007, 01:08 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Why Is My HTML Stuff Messing With My Flash Stuff?
Hi fellas, I have an HTML page that has the regular drop down menues and some buttons in them. Nothing fancy. I also have a Flash banner withing the HTML page. The problem is whenever I go over the buttons in the HTML portion, my Flash banner pauses until I move the mouse away from any HTML buttons. Why would that be?!
Many thanks in advance.
Show Stuff Outside Movie
Hello,
I was wondering, is it possible to show something on the flash animation where its outside the area defined as the scene animation?
I have a bar that extends outside the animation's window, but don't want to distort the rest of the webpage by having to table it out then place the flash using dhtml?
Thanks
Slide Show With Mouse Overs And Stuff
Hello!
Looking to further enhance a basic XML slide show. At the moment, it has next|back buttons and a text box to display info of the image.
What I want to do is changed the image every 5 seconds and on mouse over pause the show to show the details next to the mouse cursor.
Can anyone guide me on this? Thanx.
Slide Show With Mouse Overs And Stuff
Hello!
Looking to further enhance a basic XML slide show. At the moment, it has next|back buttons and a text box to display info of the image.
What I want to do is changed the image every 5 seconds and on mouse over pause the show to show the details next to the mouse cursor.
Can anyone guide me on this? Thanx.
Off Stage Stuff
How do I get the off stage stuff to not show up during my movie? I have a movie that includes multiple swf's.. do I need to add a mask border to all of them or is there a better way? Also, is it possible to tell the movie to come up minimized. no maximized so it shows outside the movie?
I realize that this is a way elementary question.... but it's something I have a feeling I have been handeling the hard way for a long time now and I am ready to learn the real way to handle this problem.
Thanks to anyone nice enough to answer my lame question.
-eef
Seeing Stuff That's Not On The Stage
Hi, I'm making a projector file and I have things transition on and off the stage but when I test it, I can still see objects and MCs when they're not even on the stage, what's up with that?
Pete
Off Stage Stuff
How do I get the off stage stuff to not show up during my movie? I have a movie that includes multiple swf's.. do I need to add a mask border to all of them or is there a better way? Also, is it possible to tell the movie to come up minimized. no maximized so it shows outside the movie?
I realize that this is a way elementary question.... but it's something I have a feeling I have been handeling the hard way for a long time now and I am ready to learn the real way to handle this problem.
Thanks to anyone nice enough to answer my lame question.
-eef
Seeing Stuff That's Not On The Stage
Hi, I'm making a projector file and I have things transition on and off the stage but when I test it, I can still see objects and MCs when they're not even on the stage, what's up with that?
Pete
AS3 - Make The Loader Class Show Stuff Faster
Hi!
Is there a way to make the loader class show the loaded content as soon as it's possible to show anything from the external swf?
for example, I've got an external swf with 36 frames, I load it thru the loader class and want it to show the contents of frame 1 as soon as it has loaded the first frame. What I get from the loader class now is that it only shows stuff when 100% of the external asset is loaded, i.e. all 36 frames.
/Simpel
Stuff Outside The Stage When Resizing
Hey guys,
When setting the HTML publish settings to percent, why does the published page show stuff that is outside the stage (but in the work area)???
Is there any way to publish the animation showing only the stuff on the stage and not anything outside it??
Stuff Outside The Stage When Resizing
Hey guys,
When setting the HTML publish settings to percent, why does the published page show stuff that is outside the stage (but in the work area)???
Is there any way to publish the animation showing only the stuff on the stage and not anything outside it??
Position Stuff Relative To The Stage
Feel free to use these to help in positioning stuff relative to the Stage. Acts on the registration point of the object.
e.g. if you have a movieclip 200 pixels wide with a lefttop registration point, you have to subtract 200 from rightEdge so it aligns nicely.
Code:
// Size of your flash canvas
var canvasWidth = 550;
var canvasHeight = 400;
var leftEdge = (canvasWidth/2)-(Stage.width/2);
var rightEdge = (canvasWidth/2)+(Stage.width/2);
var topEdge = (canvasHeight-Stage.height)/2;
var bottomEdge = Stage.height - ((Stage.height-canvasHeight)/2);
var centerScreen = (canvasWidth/2) - (menuWidth/2);
Hope this is useful especially for those who have been trying to achieve menus that stays on one side whenever the browser is resized.
Position Stuff Relative To The Stage
Feel free to use these to help in positioning stuff relative to the Stage. Acts on the registration point of the object.
e.g. if you have a movieclip 200 pixels wide with a lefttop registration point, you have to subtract 200 from rightEdge so it aligns nicely.
Code:
// Size of your flash canvas
var canvasWidth = 550;
var canvasHeight = 400;
var leftEdge = (canvasWidth/2)-(Stage.width/2);
var rightEdge = (canvasWidth/2)+(Stage.width/2);
var topEdge = (canvasHeight-Stage.height)/2;
var bottomEdge = Stage.height - ((Stage.height-canvasHeight)/2);
var centerScreen = (canvasWidth/2) - (menuWidth/2);
Hope this is useful especially for those who have been trying to achieve menus that stays on one side whenever the browser is resized.
Help With AS/Min And Max Width Stage Align Stuff?
I could use some help figuring out how to do the following.
I want to have a rounded corner rectangular white box with drop shadow that will have a minimum width of 700px and a maximum width of 900px and contain a left hand aligned area 200px wide that slides in and out if you rollover the edge on the left. Can anyone help me with this or point me in the right direction?
Help With AS/Min And Max Width Stage Align Stuff?
I could use some help figuring out how to do the following.
I want to have a rounded corner rectangular white box with drop shadow that will have a minimum width of 700px and a maximum width of 900px and contain a left hand aligned area 200px wide that slides in and out if you rollover the edge on the left. Can anyone help me with this or point me in the right direction?
Selecting Stuff On The Stage...doesn't Get Selected?
I have had this problem on a Mac and PC...and with versions 7.0, 7.0.1, and 7.2 of Flash MX 2004 Pro. Sometimes when I select an object on a layer inside a movieclip, I can't see the selection border. I can then click the object, drag it wherever, but it doesn't move. I can then close the movieclip, then re-enter it...and the object I was trying to move has been moved to a different location (probably where I dropped it...but who knows since I couldn't really see what I was doing). Has anyone else experienced this, and if so, is there a fix?
Html Stuff..
alright so im trying to make a html version of my site but maybe problem is is that I need two different types of link colors if you know what I mean, I have all my info loaded from a CSS file and it has all my link info in there but how can I edit one link to be a different color then the default?
Hole In Swf For Html Stuff?
Is there a way to designate a square or something inside flash, so that it creates an empty hole? So when you put your swf into dreamweaver, there would be an empty hole where you can insert html stuff like tables, etc.
If you know what I mean....
How To Html Flash Stuff
Hi, all!
I just wanted to ask you this silly question and let you all know that I'm new to flash and this forum, I'll work extrimely hard to be good at making everything related to flash, this is one of the best forums that I've seen so I decided to join it.
Could you please tell me how to place flash document or file on a web page?
Either let me know or link me to a thread that explains how to do it.
Thank you all!
-L
Getting A Movie To Show On The Stage ?
HELP AGAIN !!!!! Thanx webdreamer for your reply! But once i have imported my flash-typer movie i press play and nothing happens........the timeline moves but nothing shows on the stage.........and the frames are there but are empty !!!!
My text effect worked well on the flash kit site but not on my stage in flash 5. I am using a mac if that helps.
So how do i get a flash-typer movie to play ???
Stage Wont Show :(
I was working in Flash 8 Pro, I noticed my Stage wasnt showing and I tried everything I could from resetting the layout to viewing and unviewing random things, however I cannot find a way to view the stage like I use to be able to. Can someone tell me how to view it please?
LoadMovie Don't Show Everything Outside Stage
Hey guys,
As soon as u load a SWF into another it shows everything thats within that loaded SWF. Basicly what i want is load an SWF and only display the things that are within the stage of that SWF and not everything outside it.
I kind of fixed it by manually entering in the first frame of each SWF that i load 2 variables of the width and height and setting a mask in the main movie with those dimensions.
But i dont really like the solution because i will have to edit every single swf that i want to add into the system.
Any other idea's?
MovieClip Won't Show On Stage
So, I'm creating a "critter caretaker" which is basically a stripped down Tamagachi for a class. However, for some reason I can't for the life of me get the movieclip of the critter to show on stage. No matter what I do it just won't show up.
I also am not sure why, but I'm getting an error regarding my buttons.
"Implicit coercion of a value of type Class to an unrelated type flash.display:MovieClip"
Explanation of this and how to fix it would also be much appreciated
I'm attaching the files being used.
The FLA file is too big to upload, however the rest of the .as files are included. If you could take a look and let me know if you see a problem. All the movieclips are exported, etc.
Thank you!
Only Show Whats On The Stage
I have two swfs, swfA and swfB.
swfA loads swfB into a MC. I want swfB to be limited to the MC size it was loaded into.
The problem is that swfB is a gallery that stack the pic horizontally and the pics run out the sides of the stage, but I don't want to see them, only what fits on the stage. So is there a way to make a mask that when something leaves the stage it can't be seen?
Clear as mud?
Thanks In advance.
By the way is there a way to change my username or e-mail on this site?
Let Big Size Movie Show On The Stage
Hi there,
I met problem again. I made a movie clip and i want to let it show on the scence(i designed a window to show the movie clip), but the movie clip's size is very big. it is longer than the main window designed. i let the movie clip move from top to bottom in order to solve this problem, but you know it would make some other layers' stuff invisible. can you tell me how to solve this problem?
thank you very much
Objects Show Outside Stage When Maximized
Hello,
I wonder if someone could tell me why objects which is not on the stage show outside the document bounds when I maximize the movie. Its both in .swf and as an .exe
see example here : snowboarder
The snowboarder is appearing in the stage outside too soon. How can I avoid it?
Way To Show Stage If Image Covers It?
Quick question: Is there a way to show the outline of the stage after an image has covered it?
I made a simple example for forum purposes..
Lets say I want to make this pumpkin guy bigger:
http://www.seventhstorm.net/pumpkin1.jpg
Now on the last frame, his head is too big and I can't tell where the stage is!
http://www.seventhstorm.net/pumpkin2.jpg (***The blue outline is something that *I* drew)
Is there a way to make the outline of the stage show, like I have on the second image?
Instance Doesnt Show On Stage
Hey i have this movie symbol in the library, i drag it to the stage, try to test movie and it doesnt appear!!
Its a simple movie with a few .jpg inside and a motion tween. There is no code anywhere on the main movie that as any reference to this symbol and instance. I checked all properties.
i copy the symbol to another project, drag it to stage and it shows properly on test!!!
Plz somebody help me i have been trying to fix this for almost 2 hours.
Making Stuff Go Past The Boundaries In Html
what i want to do is make an swf in an html page, and it will be nice and small. now im hoping to have a down arrow that, when clicked, will drop down with a movieclip so you have other options. i want this little menu to be able to go over the html content.
now, it seems that however you embed it, with whatever width and height you specify, it will specifically remain in that area. i can increase the boundary, but that proves two problems:
1. the content is pushed down so that there is this huge gap between the small movie and the content.
2. if i instead put it in a div layer and use absolute positioning, the gap goes away (with a little manual spacing) but now there is this big block of white over the content where i extended the border. is there a transparent bg or something?
i was thinking of perhaps making a SEPARATE swf and using maybe fscommand and vbs/js to have the two swfs talk to each other and tell them to do stuff (like telling hte menu to appear, or the menu submitting a certain option chosen or something like that.)
any ideas, comments, or anything is appreciated. thank you.
Show Menu Stage Problems > Flash MX
So I have finished my movie and everything is going good, however I threw the code Stage.showMenu = false; in and for some reason my movie now has white space at the top and bottom (like widescreen bars).
The script is right at the beginning of the movie, and I have done it before with no issues. Just to double check, I created a sample movie and once I put the code in, it still gives me the white bars. (when I put the shoeMenu to equal TRUE, the white bars are no longer there...????)
Any help or direction would be great,
Thanks
Object Outside Of Stage Show On Window Resize
How do I only export the shown area of a .swf. I have a pop up menu that is outside of the active stage, but is shown when the HTML window is resized. Is there a param I can throw in the HTML page?
Slide Show - Random Items To Stage -help
17 slides
each slide: (each on separate layers)
image of a shool subject
static text box with subject in a second language
a button to advance to next frame
call in a picture which allows students to give a give an opinion like It's great/It's boring/I't fun etc. (this is where I need help see below)
frame label f1/f2 etc
AS on layer slpit into 17 keyframes which intructs forward button to move to the next frame (so if you are on f4 the AS says onto F5 and at frame 17 the AS sends you back to frame one again.
I have created the pictures for the opinions and made them into movieclips which only exist in the library.
How do I script it so that when I press the opinions button a random opinion movie clip comes to the stage when I run the slide show?
Make it obvious if you think you can help. It it about creating variables or and array? (a little knowledgs is a dangerous thing)
I'm running MX 2000 Educational
Cheers
Huw
Update Stage In For Loop To Show Progress?
Is there a way to update the stage in a for loop to show progress?
I have a really long for loop that is looking through some 61 mb of dna data for a gene sequence.
I want to be able to do some sort of progress report onstage so I know it's working and how far it has to go before it's done.
Is there a way to update the stage in a for loop?
From what I have read everything pauses during a for loop.
I tried a dowhile loop and the same thing happened.
The routine has to be fast so I don't want to give up the loop speed.
Any ideas would be appreciated?
Thanks,
Dan
Hide Ou Show Objects On Stage With Actionscript...
hi...
I made a simple flash jukebox and i want the music buttons to appear as the mp3 files are loaded.
This is the script i wrote:
if(_framesloaded > 4)
_root.musica1.visible = true; //musica1 movieclip instance name
else _root.musica1.visible = false;
if(_framesloaded > 8465)
_root.musica2bt.visible = true; //musica2bt music button instance name
else _root.musica2bt.visible = false;
but it's not working...when the flash movie starts and when i run the download simulator all the buttons appear.
LoadVars Problem Get Extra Html Stuff From Server
Hi,
var toplist_send:LoadVars=new LoadVars();
var toplist_get:LoadVars=new LoadVars();
toplist_get.onLoad=function (success:Boolean) {
if(success){
this.decode();
trace(unescape(this));
}
}
toplist_send.sendAndLoad("http://localhost/web/topList.aspx",toplist_get,"POST");
when i trace the loaded content, it shows html part too. has anyone encountered the same problem? How i can prevent html part being sent to flash? Thanks
trace result:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>topList</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form name="Form1" method="post" action="topList.aspx" id="Form1">
<input type="hidden" name="__VIEWSTATE" value="dDwtNjU0MzcyMTk1Ozs tMXdApgQP3fiF5lD5FGtB4fix5g=" />
</form>
</body>
</HTML>
&Grade5=250&Nick5=gamer3&Grade4=500&Nick4=xxxx&Gra de3=600&Nick3=hunter&Grade2=900&Nick2=Minimus&Grad e1=1200&Nick1=Maximus&onLoad=[type Function]
Javascript Div Show Results In Wrong Stage Dimensions
Hi there,
i am having some problems with the IE6 and IE7.
The following problem does not happen in FF, Opera and Safari.
I have a <div style="display:none"></div> box in which an Flash Object is located.
With javascript this <div> gets displayed and so the flash object runs as normal from now on.
I am working width the dimensions of the flash, stage.width and stage.height, and both are 0.
If i run this test in a NonIE browser the Dimensions are in Example 300 and 250. And also if on page load <div style="display:block"></div> is set the dimensions are correct.
Has anyone an idea why Mr. Internet Explorer is doing this and or has anyone an idea how i could fix this problem?
Greetings
Constraining SWF To Exact Dimensions So Items Off Stage Do Not Show
I am new to flash and feel sure there is a setting somewhere that I am missing and hope someone can help me. I am an ad developer. When I create my ads and export my swf file, it looks fine in my computer because it opens in the flash software and the window it opens in is the exact dimensions of my stage. This ad is also fine when I upload it to my site. However, when I publish a swf to send to a client for approval, they usually will be viewing that file in IE or some other browser. I have noticed that when this happens, things that are off stage often show (problem #1) and the file maximizes to the size of their browser (problem #2). What can I do to keep this from happening? I currently have the publish settings for dimension to "match movie".
Thanks in advance for the help! I love flash if I can just get it to work for me!
Show And Hide Content On Stage With Button Action
hi...
I created a button to show and hide some content on stage. The button works well, but there's a problem...when i click on the button to show the content and i move to another section of the timeline the content hides again, and i just want it to hide when the button is clicked again :-(
Here's my code:
Attach Code
//inicial values++++++++++++++++++++++++++++++++
btAcess = 0;
_root.acessibilidade._alpha = 0;
//this inicial value is on the first frame of the timeline
//button script++++++++++++++++++++++++++++++++
on(release, keyPress "a")
{
if(btAcess == 0){
_root.acessibilidade._alpha = 100;
btAcess = 1;
} else{
_root.acessibilidade._alpha = 0;
btAcess = 0;
}
}
//+++++++++++++++++++++++++++++++++++++++
Stage.focus Doesn't Show Cursor In TextField?
stage.focus = txt; // txt is a text input field
It successfully gives the TextField "txt" focus because when I type, the characters appear in the input textfield, however the familiar blinking text cursor/beam does not appear in the textfield. This makes you think it does not have focus, so you click the textfield to give it focus -- completely defeating the purpose. What's the deal?
Navigation: How Do I Show An Animation Leaving The Stage When A New Link Is Clicked?
I have 4 buttons on my stage. Each one is linked to a movie clip that slides into place when it's button is clicked. I'd like to show the previous movie clip sliding out when a new button is clicked, rather than it just suddenly disappearing when the new clip slides in.
How would I achieve this? Actionscript?
I hope I've explained it right.
Thanks!
Flash Button In "html Frame1" Triggers Stuff In "html Frame2"
Subject: flash button in "html frame1" triggers stuff in "html frame2"
I have a framebased html site...
I have a flash menu/buttons inserted in my topframe.
When you press one of these buttons a new page should appear in the
mainframe.
Is that possible, and if, how?
thanks
[CS3] Crossfading Slide Show (Todd Dominey), 3 Seperate Slideshows On The Stage
Like others I have found Todd Dominey's script for making a cross fading slideshow. I have modified the AS and the XML to make room for multiple slideshows on the stage. However, I can't get it to work properly as only my "LAST" slideshow plays normal..
I have been trying to figure out my problem for days now, so the code has changed a bit since I started, with lots of traces and probably some "unneccecary code as well"..
Any help appreciated
Code:
/****************************/
/* Crossfading slide show */
/* Author: Todd Dominey */
/* http://whatdoiknow.org */
/* http://domineydesign.com */
/****************************/
// set random # variables - each must be 0 for first 'while' loop below
var randomNum = 0;
var randomNumLast = 0;
// load xml
images_xml = new XML();
images_xml.ignoreWhite = true;
images_xml.onLoad = parse;
images_xml.load("intro.xml");
function parse(success) {
if (success) {
//imageArray = new Array();
var root = this.firstChild;
//Variables for the slideshow
_global.numPause = 4000;//Number(this.firstChild.attributes.timer * 1000);
_global.order = "sequential";//this.firstChild.attributes.order;
_global.looping = "yes";//this.firstChild.attributes.looping;
_global.fadetime = 1;//Number(this.firstChild.attributes.fadetime);
_global.xpos = 20;//Number(this.firstChild.attributes.xpos);
_global.ypos = 20;//Number(this.firstChild.attributes.ypos);
var xmlCategories = this.firstChild.childNodes;//
////////////////////
//For each CATEGORY
trace("******************");
trace("FOR EACH CATEGORY");
//btn_spacing = 100;
for (var ka = 0; ka<xmlCategories.length; ka++) {
trace("--------------------");
trace("CATEGORY: ["+ka+"] - "+xmlCategories[ka].attributes.catName);
trace("--------------------");
// preload watcher
_root.createEmptyMovieClip("watcher_mc"+ka,_root.getNextHighestDepth());
trace("watcher created:"+eval("_root.watcher_mc"+ka));
// parent container
container_mc = createEmptyMovieClip("container"+[ka], _root.getNextHighestDepth());
// movie clip containers
container_mc.createEmptyMovieClip("loader1_mc",_root.getNextHighestDepth()+200);
container_mc.createEmptyMovieClip("loader2_mc",_root.getNextHighestDepth()+100);
// place parent container
eval("container"+ka)._x = ka*250;
container_mc._y = _global.ypos;
_global["imageArray"+ka] = new Array();
var root = xmlCategories[ka].firstChild;
//trace("root="+root);
var imageNode = root.lastChild;
var s = 0;
while (imageNode.nodeName != null) {
trace("-- while:");
_global["imageData"+ka] = new Object();
_global["imageData"+ka].path = imageNode.firstChild.nodeValue;
trace("imageData"+ka+".path = "+_global["imageData"+ka].path);
_global["imageArray"+ka][s] = _global["imageData"+ka];
trace(_global["imageData"+ka]);
trace("**:"+_global['imageArray'+ka][s]);
imageNode = imageNode.previousSibling;
s++;
trace("s="+s);
trace("-- end while");
}
// parse array
imageArray[ka].reverse();
trace("Initial call to imageGen:"+_global['imageArray'+ka]);
//Initial call to imageGen
imageGen(_global['imageArray'+ka],ka);
}
} else {
trace('problem');
}
trace("///////////////////////////////////////////////////////////////");
trace("finished parsing");
trace("///////////////////////////////////////////////////////////////");
}
//F4 depth swapping
function swapPlace(clip, num, ka) {
trace("------------------------------------------");
trace("F4 function swapPlace("+clip+","+num+","+ka+")=(clip,num,ka)");
eval(clip).swapDepths(eval("container"+ka+".loader"+num+"_mc"));
}
//F2 Define wich "loader" to load into (1 or 2)
function loadImages(data, num, ka) {
trace("------------------------------------------");
trace("F2 function loadImages("+data+","+num+","+ka+")=(data,num,ka)");
if (i == undefined || i == 2) {
i = 2;
createLoader(i,data,num,ka);
i = 1;
} else if (i == 1) {
createLoader(i,data,num,ka);
i = 2;
}
}
//F3
function createLoader(i, data, num, ka) {
trace("------------------------------------------");
trace("F3 function createLoader("+i+","+data+","+num+","+ka+") =(i,myData,num,ka)");
_global["thisLoader"+ka] = eval("container"+ka+".loader"+i+"_mc");
trace("thisLoader="+_global["thisLoader"+ka]);
_global["thisLoader"+ka]._alpha = 30;
_global["thisLoader"+ka].loadMovie("bilder/"+data[num].path);
trace("watcher_mc"+ka+"="+eval("watcher_mc"+ka));
//eval("watcher_mc"+ka).onEnterFrame = function() {
watcher_mc1.onEnterFrame = function() {
_global["picLoaded"+ka] = _global["thisLoader"+ka].getBytesLoaded();
_global["picBytes"+ka] = _global["thisLoader"+ka].getBytesTotal();
if (isNaN(_global["picBytes"+ka]) || _global["picBytes"+ka]<4) {
trace("returning");
return;
}
if (_global["picLoaded"+ka]/_global["picBytes"+ka]>=1) {
//call F4
//Set timer for next imageGen()
if(ka==0){
trace("F3 ka="+ka);
swapPlace("container"+ka+".loader2_mc",1,ka);
alphaTween = new mx.transitions.Tween(_global["thisLoader"+ka], "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, _global.fadetime, true);
timerInterval0 = setInterval(imageGen, _global.numPause, data,0);
}
else if(ka==1){
trace("F3 ka="+ka);
swapPlace("container"+ka+".loader2_mc",1,ka);
alphaTween = new mx.transitions.Tween(_global["thisLoader"+ka], "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, _global.fadetime, true);
timerInterval1 = setInterval(imageGen, _global.numPause, data,1);
}
else if(ka==2){
trace("F3 ka="+ka);
swapPlace("container"+ka+".loader2_mc",1,ka);
alphaTween = new mx.transitions.Tween(_global["thisLoader"+ka], "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, _global.fadetime, true);
timerInterval2 = setInterval(imageGen, _global.numPause, data,2);
}
delete this.onEnterFrame;
}
};
}
//F1
function imageGen(data, ka) {
trace("******************************************");
trace("------------------------------------------");
trace("F1 function imageGen("+data+","+ka+")=(data,ka)");
// random, or sequential?
if (_global.order == "random") {
// choose random # between 0 and total number of images
while (randomNum == randomNumLast) {
randomNum = Math.floor(Math.random()*data.length);
trace(randomNum);
}
loadImages(data,randomNum);
randomNumLast = randomNum;
}
else if (_global.order == "sequential") {
trace("p="+p);
// start at 0, increment to total number of images, then drop back to zero when done
if (p == undefined || p == data.length && _global.looping == "yes") {
p = 0;
} else {
trace("breaking in F1");
break;
}
//call F2
loadImages(data,p,ka);
p++;
} else {
trace("order attribute in xml isn't correct - must specify either 'random' or 'sequential'");
}
//clearInterval(timerInterval);
if(ka==0){
trace("F1 ka="+ka);
clearInterval(timerInterval0);
}
else if(ka==1){
trace("F1 ka="+ka);
clearInterval(timerInterval1);
}
else if(ka==2){
trace("F1 ka="+ka);
clearInterval(timerInterval2);
}
}
stop();
Why Do I See "off Stage" Stuff When Swf Plays
I built a 3 minute presentation on a 450x300 stage. When it is deployed on the website and the .swf is played I see items after they have exited the stage or before they enter the 450x300 area.
In the construction of the .Fla when I would hit Ctrl-enter you would only see the 450X300 area. This is what I want.
On the button that calls up the .swf I have this coding
on(release){
loadMovieNum("WHATWEDO.swf",1);
_root.onEnterFrame=function(){
if(_level1 !=undefined){
_level1._x=xvaluehere;
_level1._y=yvaluehere;
delete_root.onEnterFrame;
}
}
}
What is the easiest way to remedy this problem, and to adjust the _x and _y coordinates of where the .swf displays?
Thanks
Sending Html Text To Html Dynamic Text Field But It Dosnt Show
code: theNews = "<font color=#FF9900>"+newsRow0newsDate+"</font>"+": "+newsRow0newsStory+newline+"<font color=#FF9900>"+newsRow1newsDate+"</font>"+": "+newsRow1newsStory+newline+"<font color=#FF9900>"+newsRow2newsDate+"</font>"+": "+newsRow2newsStory+newline;
newsArea.textMain.htmlText = theNews;
trace("the news ="+theNews);
The data dosn't display but if i change the textMain.htmlText to .Text then it works, i need the formatted text.
Is ther something wrong with this?
i cant see anything wrong.
Cheers
Paul
Sending Html Text To Html Dynamic Text Field But It Dosnt Show
ActionScript Code:
theNews = "<font color=#FF9900>"+newsRow0newsDate+"</font>"+": "+newsRow0newsStory+newline+"<font color=#FF9900>"+newsRow1newsDate+"</font>"+": "+newsRow1newsStory+newline+"<font color=#FF9900>"+newsRow2newsDate+"</font>"+": "+newsRow2newsStory+newline;
newsArea.textMain.htmlText = theNews;
trace("the news ="+theNews);
The data dosn't display but if i change the textMain.htmlText to .Text then it works, i need the formatted text.
Is ther something wrong with this?
i cant see anything wrong.
Cheers
Paul
How To Show *.mov Using HTML?
I have a small question,,
I have done a small "movie" with the great program "3d Flash Animator 4", this small movie shows first a name and then a pic with nice moves,,
my question is, how can i make this movie an intro to my website? meaning, what is the HTML code required to make this movie shown when i first open my website?
plz plz help me urgently,,
ABOOOOD
|