Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




[Flash 8] DuplicateMovieClip Positioning



I am having a problem that seems similar to the one shown here: http://www.kirupa.com/forum/showthread.php?t=215026The Scenario: I started trying to learn Flash last week, and I feel like I've covered most of the basics. Pushing forward, I've been giving myself little tasks that I'll eventually combine into a larger project. Right now, I want to mouseover an object, and have a number of movie clips appear in a circle around it. So far, I have a test object to hover over, and a test clip to duplicate.The Code: I only want this to happen once, so I'm using a global variable to determine if it's already happened, which is set to 0 when the swf loads. The Actionscript is on the icon clip.
ActionScript Code:
this.onRollOver= function(){    if (circleMade == 0) {// Number of clips to duplicate        var nItems = 5;// Radius of circle        var circleRad = 45;        for (i=0;i<5;i++){           var currentMenuButton = "roundMenuButton" + i;           duplicateMovieClip (_root.roundMenuButton, currentMenuButton, _root.getNextHighestDepth());// Determine angle of rotation for current clip           var nAngle = ( 360 / nItems ) * (1 + i);// Set X and Y based on rotation and radius           var nX = circleRad * Math.cos(nAngle);           var nY = circleRad * Math.sin(nAngle);           currentMenuButton._x =  nX;           currentMenuButton._y =  nY;        }    }    else {}    _global.circleMade = 1;}}
The Problem: As you can see here (http://www.fishspeaker.com/motion/flashtest/index3.html), hovering over the center icon seems to do nothing . . . but wait! The small silver ball is indeed being duplicated, just in place. Checking the debug Object List confirms this - what am I doing wrong with the positioning?Feel free to ignore the window that pops up when the icon is clicked - that's another project entirely.



KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 01-30-2007, 05:54 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

DuplicateMovieClip _x & _y Positioning
I'm making a game and at the moment I have one 'enemy' and my code works with that, but I'm trying to have multiple enemies using duplicated MCs. My problem comes in with postioning them. I've never use dup'd MCs before and am lost. I've got:


Code:
for(i=1;i<3;i++){
duplicateMovieClip(_root.enemy, "enemy"+i, 0+i);
}
to duplicate them, but how would I go about setting their x and y position? I know that they will be called enemy1 & enemy2, but is there a way that I can refer to them as enemy+i and have the positions of both defined?

This has been causing me headaches for the last couple of days and nothing I try works except enemy1 & enemy2.

Thanks in advance.

Positioning A Pop-up In Flash
I have a site with multiple pop-ups containing information, forms,etc... right now the pop-ups come up in the exact center of the stage... but I'd like them to be in the upper right. How do I do that?

Here's what I have to bring up the pop-ups now:

on (release) {
_root.popup_pressed = 1;
_root.scrHEIGHT = 280;
_root.scroller.scroller.gotoAndStop(2);
_root.TM_title = "Horse Trails Survey";
_root.READ = 1;
_root.scroller.gotoAndPlay("s1");
}

PLS HELP POSITIONING THE FLASH MC
Hello guys!!!
Check this: http://www.inwww.ltd.uk/final/main_mc.html

How are the margins on your computer?
On mine in the left and in the right is about 5 milimiters with red....but on my collegues there are no red margins and the flash_mc is not all visible...(at me there are 5mm of red and on them 5mm from the flash_mc it's not visible......left and right).

How can i fix this?

Regards,


http://www.inwww.ltd.uk



Positioning My 'pop-up' Flash Window?
I am at a loss how to make my 'new window' created from the index page centre to my/the screen (or how iI would give it exact position commands??) I have an 'index' page that has a 'get url' command which sizes the new window to fit the shape of the swf file i created - but often it positions it half on half of the screen?

Please can anyone advise me on what I have missed - thanks

Furrball

Aligning And Positioning In Flash
I'm doing a site in flash and I've encountered a strange thing. I want to acurately place an item on the stage but when I type in the position I want in for the X or Y in the info palate, Flash changes it. Like if I type in 30 flash changes it to 29.8, no matter what. But if I type in 29.8 for both items, when I render the movie the items are not aligned.

I can not use the align palate for this because it is a whole grid I am creating so if I align one row or column then another wont be aligned. Can anyone help?
Thanks,

Flash Websites Positioning
hi everyone

got an idea, and would like to know your opinion if it's worth trying (as I'm not sure if it is possible and how to do it

so.. Google has already started to index flash sites using the text inside the .swf files but.. it doesn't index the site but a single flash file and the link leads to this .swf file not the website.. the effect of such a link could be dissapointing

so maybe the .swf could check if it is opened in it's native site and if not then re-open the whole website in the current browser window..

and now are the two basic questions:
1. does it make any sense?
2. if yes how to do it?

will be really greatfull for any ideas and opinions

Positioning Buttons In Flash With AS3
My level of AS3 understanding: beginner (I am not a programmer, never used AS1 or AS2).

I am building a photo slide show Flash website from scratch and I am starting with the button. I am learning AS3 and Flash in the process and I am stuck at the beginning.

I created a custom button (actually 2) using this tutorial:
http://www.youtube.com/watch?v=hMzhJOCY6ik

(Now, I realize I could have used AS3 to create the button(s), however I decided not to at this point.)

Like that tutorial, the button embeds several movie clips and works exactly as I want it to: animated roll over and click.

What I want to do next is to create something similar to the YouTube (or other) movie player with just one button (not the entire bar at the bottom, just the animated full screen button).

1. Click on the button (let's call it A) and go full screen
2. On full screen button A turns into button B (and vice versa on Normal screen, just like the full screen button on YouTube)
3. Button A/B positions itself always in the same location onto the stage, no matter what the size of the browser is (that is some specific distance from the bottom right corner)
3. The size of the button remains the same while the size of the photo slide (when that is created) scales with the stage which is the same size of the browser window (or full screen, with cropping). Similar to a direct YouTube link:
http://www.youtube.com/v/hMzhJOCY6ik&hl=en

Now, I know this is the easiest part of the site, the slide show will be the hardest, but I am having difficulty in finding a good tutorial that teaches me this with some clean and simple AS3 code.

All I know at this point is that I create a package, import some classes, create classes, functions and variables. I get the general idea and I can create a logical flow. I still do not quite understand the syntax.

Are there any tutorials out there that can help me with this?

I can just start with positioning one of the buttons on the stage, I think that should be enough code for me to digest.

I want to understand this not just copy and paste...

Thanks.

Flash Movies And CSS Positioning
Is there any css tricks to get a flash movie to butt up tightly to the upper left hand corners? I can sort of get it to work in Netscape and Foxfire. IE is stubborn though. Has anyone done this before?

Thanks

Flash Resizing And Re-positioning
I have a flash app located at

http://www.triniscene.com/tsv7/galleries/?page=flash

now I want the flash dimensions to set to any reasonable size dimension in the HTML...while the movie adapts to the Stage dimensions. The problem I am having seems to be a browser issue. While in IE the movie takes the upper left hand side...it doesn't in FF...

I have the stage set to Stage.scaleMode = 'noScale'; and then set the _x and _y to 0...

what is the issue with FF here and is there any work around?

Positioning External SWF In Flash
I'm having a lot of trouble doing a simple positioning of an external SWF with AS3. I have a timeline animation that this external file plays in. It works but I can't get it to play in the right position.
Thanks for any help you can give!

The code I'm using is as follows. I tried:
thisLoader.x = 500
thisLoader.y = 500

but it has no effect...







Attach Code

// Part I -- Loading an external swf file and casting it as a useable movie clip

var thisMovieClip:MovieClip;

var thisLoader:Loader = new Loader();
thisLoader.contentLoaderInfo.addEventListener(Event.INIT, doneLoading);
thisLoader.load( new URLRequest("OBRotation.swf") );
thisLoader.x = 500
thisLoader.y = 500

function doneLoading(evt:Event):void {
thisMovieClip = MovieClip(thisLoader.content);
stage.addChild(thisMovieClip);

thisMovieClip.stop();
}

Positioning Text In Flash
guys - im a bit wet behind the ears so please have mercy.

im working on positioning text so that it comes out crisp and clean. is the only way of doing this letter by letter? it seems so cumbersome, i bet there must be some tricks or shortcuts?

but then, unless i "break apart" the letters and do them individually, a few always end up blurred.

thoughts?

any help would be fantastic.
anrick...

Positioning Flash Movie In A <div>
Hi all,

I want to place my .swf in the header of my CMS Page. But I'm having trouble positioning it in Intenet Explorer. I want it to show be vertical aligned at the bottom of a div.

This is the code I tried:


Code:
<div valign="bottom">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="370" height="41" id="Header" align="bottom">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="header.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#144787" />
<embed src="header.swf" quality="high" bgcolor="#144787" width="370" height="41" align="bottom" name="header" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
Can anyone point me in the right direction?

Apologies if I posted in the wrong forum....

Regards
Beuvema

Positioning And Scalling In Flash 8
hi i'm creating a flash 8 website i have set a basic structure so far but when i view the site in a browser i cant get the stage of the website in the centre i have tried Stage.scaleMode = "noscale";
but cant get it to work can anyone help?

Positioning Objects On Flash
Hi,

How can i positioning a image on flash just like FWA Awards that many websites put on the corner left or Right. That when we change the size of the window the imagem still on corner left.

Images that i would like to positioning on a swf, 100% size, in html.

For example, this website have a bar on top and other on the bottom:

http://bowenstudios.com/

Thank you!

Positioning Text In Flash
guys - im a bit wet behind the ears so please have mercy.

im working on positioning text so that it comes out crisp and clean. is the only way of doing this letter by letter? it seems so cumbersome, i bet there must be some tricks or shortcuts?

but then, unless i "break apart" the letters and do them individually, a few always end up blurred.

thoughts?

any help would be fantastic.
anrick...

Positioning Problems In Flash
Hi!

I don't know if I'm just plain stupid or if there are more people out there that have the same trouble I used to have with positioning mc's in flash, but I have now just discovered the solution!

I am talking about the difference in Flash between positions the Flash GUI uses and those used by ActionScript. Positioning in ActionScript doesn't always use the same coordinates as the GUI does, but as I said, I've found the solution (finally!):
When you select the mc and open the 'info' window, you see the x and y positions on the right and to the left of this (in the middle of the window) there is a small array of squares... which are clickable. These let you select the corner of the mc to use in setting the position. By selecting the top left square it will always use the top left corner, even when the origin of the mc sits in the middle!

Again, I'm risking my reputation here , but I gladly do so to make sure everyone knows about this, 'cause it's been driving me crazy for years!

I hope this information will also help someone alse out there...

Z-Index Positioning Flash
Hey,

This is either going to be a simple question, or a really ugly one ; )

I'm short on space in this project I'm working on, and I want to dynamically render a absolute positioned DIV on top of a flash 5 movie.  

I've got the DIV, I've got the movie, but I can't find a way of making the DIV appear on top of the movie, instead of behind it.

Is there a trick to this, or is it just not possible. (netscape 6.2 and IE compatable way that is)

Jher

The Jhereg
=~=~=~=~=~=~=~=~=~=~
I never lie.
I'm building a reputation for honesty so I can blow it when something big comes along... This ain't it.


Absolute Positioning With Flash..
a la; http://www.notsosimpleton.com/2005/

i'd like to get certain elements in my flash movie to keep their position (i.e., against the right side of the screen) regardless of screen size/window resizing..

mind is blank.
paint me a picture.

Positioning A Flash Movie...
Okay, now that I have my button issue cleared up, I have an even stranger problem.

I have a flash movie that is 128x374 pixels.
I want to put it into a frame that is exactly 128x374 pixels, and I set the frame to have border=0 on all four sides.

So it should fit, right?

Well, no. It looks like the movie needs to be moved one pixel to the left, and one pixel up in order to fit perfectly.

But the movie is using a .jpg that fits perfectly, outside of the flash movie.

But here is the strangest part - the movie still fits within the frame. It isn't as though the .jpg was off by a pixel when it was inside the flash movie. It was touching all four borders exactly. So why on earth is it not working properly?


Below, I have a link posted to a .zip file of the project. You can open the WithFlash.htm, and then the WithoutFlash.htm to see what I mean. It is the exact same .jpg file.



http://www.prosarche.com/Arrgh.zip

Thanks a ton if you can help!

--Jerry

Flash Positioning And Opera
Hi,

I have the following problem... I've made a flash slide show that I want to include on my page. It works as it is supposed to but will display wrong in Opera 8.52 while IE and Firefox are OK. Does anybody have any idea what it can be, what am I doing wrong? There is no CSS styling appliedat all. The same happens with the html file published by Flash.

Many thanks in advance!

DuplicateMovieclip (Flash MX)
Hi,

I am trying to pass a variable in a textfield onto a duplicated movieclip. So when i duplicate a movieclip, the variable in the textfield attached to it, should be different each time.

Can anyone help me?
Thanx in advance!
Michiel

My code:

data = new Array();
data[0] = "TShirts";
data[1] = "Sweaters";
data[2] = "Pulls";
data[3] = "Pants";
data[4] = "Jackets";
data[5] = "Inbetweens";
data[6] = "Shirts";
data[7] = "Accessoires";
data[8] = "Shirts";

aantalItems = data.length;

for (i=0; i < aantalItems; i++) {

newMC = "mc" + i;

duplicateMovieClip("mc", newMC, i);

newMC = data[i];
cat + i = trace(newMC);

setProperty(newMC, _y, i*20);
setProperty(newMC, _x, 180);

}

DuplicateMovieClip In Flash 5
OK, I've gotten answers to my first question, and I'd like to say that you guys rock! One of the better forums I've been on, to tell the truth.

Here's where I stand right now. I'm trying to duplicate a movie clip, which is called "light". I CAN, in fact, duplicate an instance of it, but the ONLY place I seem able to do it is on LOAD!

The code is this:

onClipEvent(load){
duplicateMovieClip(_root.light, "light0", 3);
setProperty("light0", _x, "200");
setProperty("light0", _y, "200");
setProperty("light0", _visible, true);
}

Now, the problem is that the only place it works on load is on the instance of what I'm trying to duplicate! So, that sets up a nice little infinite loop.

I've tried doing it off of a button, and off of a MC "mouseUp" event, but to no avail.

Does anyone see what I'm doing wrong here? This doesn't seem to make sense, that the script will work in one spot, but never in any other.

Thanks in advance,

Frankenmoro

Flash 8 DuplicateMovieClip
I cant get my head around this on. Im basically tryin to duplicate a movie clip to hold an image which is loaded in at run time. For some reason tho itll only show the last movie clip loaded...ive been scratching my head for hours on this.

_root.images is my blank Mc which im gonna have moving around
_root.images.imageHolder is the movie clip i want to duplicate and store the image in.
duplicateMovieClip("_root.images.imageHolder","ih" +imageLoad,_root.getNextHighestDepth());
loadMovie(thumbnails[imageLoad][0], eval("_root.images.ih" + imageLoad));
eval("_root.images.ih"+imageLoad)._x = getX(thumbnails[imageLoad][1]);
eval("_root.images.ih"+imageLoad)._y = getY(thumbnails[imageLoad][1])-(thumbnailHeight/2);
eval("_root.images.ih"+imageLoad).play;


function getX(type:String):Number {
switch (type) {
case "P" :
xPos = startP+((P*thumbnailWidth)+(thumbnailSpacing*P));
P = P + 1;
return xPos;
case "C" :
xPos = startC+((C*thumbnailWidth)+(thumbnailSpacing*C));
C = C+1;
return xPos;
case "G" :
xPos = startG+((G*thumbnailWidth)+(thumbnailSpacing*G));
G = G+1;
return xPos;
case "BG":
xPos = startBG+((BG*thumbnailWidth)+(thumbnailSpacing*BG) );
BG = BG+1;
return xPos;
case "D" :
xPos = startD+((D*thumbnailWidth)+(thumbnailSpacing*D));
D = D+1;
return xPos;
}
}
function getY(type:String):Number {
switch (type) {
case "P" :
return 30;
case "C" :
return 90.5;
case "G" :
return 90.5*2;
case "BG":
return 90.5*3;
case "D" :
return 90.5*4;
}
}

//this is in the 1st frame
numberOfThumbnails = 41;
movieWidth = 700/2;
thumbnailSpacing = 25;
thumbnailWidth = 50;
thumbnailHeight = 78;
imageLoad = 0;
thumbnails = new Array(numberOfThumbnails);
for (x=0; x<numberOfThumbnails; x++) {
thumbnails[x] = new Array(5);
}
//thumbnails[x][0] = location of image on server
//thumbnails[x][1] = what catagory the image blongs in
//P = preperations
//C = ceremony
//G = groups
//BG = bride groom
//D = details
//thumbnails[x][2] = name of image you want to display
//thumbnails[x][3] = location of wedding
//thumbnails[x][4] = small description of the image
thumbnails[0][0] = "images/thumbnails/thumbnail.jpg";
thumbnails[0][1] = "P"
thumbnails[0][2] = "Name:"
thumbnails[0][3] = "Location:"
thumbnails[0][4] = "Description:"

//Theres a load more thumbnails just didnt want to shower you with code.

DuplicateMovieClip In Flash MX
Hi, I need to make a duplicateMovieClip in Flash MX, that works so every time I mouseClik I get a new duplicate of the movieCilp at the point of the mouseClik...
Can enyone help me please ?

DuplicateMovieClip In Flash 8
the following script works in MX, but not in 8.

PHP Code:



duplicateMovieClip("star", "star"+i, +i);setProperty("star"+i, _rotation, Math.random()*360 );setProperty("star"+i, _xscale, Math.random()*60 );setProperty("star"+i, _yscale, Math.random()*60 );i = i+1; 




help me please.

DuplicateMovieClip In Flash MX
Hi, I need to make a duplicateMovieClip in Flash MX, that works so every time I mouseClik I get a new duplicate of the movieCilp at the point of the mouseClik...
Can enyone help me please ?

Positioning An External Swf In A Flash Miovie
bonjour
can anyone tell me how i position an external swf file in a flash movie,

Flash In Html: Positioning Problem?
Hopefully you gurus can help me with this one...

I'm desigining a site in dreamweaver (html), with the menu made in Flash. I've imported it ok and everything works fine on my PC. The thing is, when I view it on other computers (namely the high end macs at uni) the flash menu sticks out to the side by 1 pixel.

This puzzels me, as it's fine on my PC and the flash menu is the exact same width as the html page. Is this flash anti aliasing?

I'd love to be able to resolve this.

Anyone have a clue?

Thanks.

Text Positioning Problem With Flash?
okay this problem is killing me so any help really appreciated. I have one movie clip that moves over another instance of the same clip then dissapears - because they are in the same position (yes they are!) and exactly the same clip! when the top one dissapears no one should notice! - but but.. the problem is the text (im using device fonts) - it seems that when you apply movement actions to a movie with text it renders the text in a certain way that is different from if you dont apply actions - the kerning is all different and so in fact is the line spacing! does anybody have an answer or is there any way to not use device fonts but still have the fonts not anti-aliased??

ive been working to solve this one for ages so please help you experts of flash you kings of new england!

Positioning Text Using CSS Over Flash Banner?
I have a flash banner and I would like to put non-flash items (such as text of jpeg) over the flash banner using CSS, but it doesn't show the layer of the non-flash item. The flash banner is actually "covering" what I want to put on the flash banner. Is this just how it is or is there a way i can conquer this?

Ralative Positioning A Flash Object
Hi there.
I'm having a problem with positioning a flash object in my site.
The flash object is sitting inside a div element with a relative position. The problem is the flash object is sometimes placed inside the div and sometimes align to the left end of the browser. I think it gut something to do with the swf file loading duration (maybe loaded after the page is already displayed.
You can see an example here:
http://ledesign.co.il/?q=he/node/36
comparing to this
http://ledesign.co.il/?q=en/node/33
Have someone experience this kind of troubles before ? Any ideas how to fix that issue ?

(help Please) Mc Re-positioning Within Full Screen Flash
Hi...

just a quick question thats probably relaly easy to answer except it's got me stumped!
I'm working on my site with my flash movie which is stretched to fill the whole of the browser (did this through the publish settings). The content stays proportioned fine, and doesn't get all distorted...which is great and how I want it!

What I then want is a mc I have in my main movie to be positioned at the very bottom of the browser (so that whatever browser size people have the mc is right on the bottom edge). I would assume it's pretty basic and something similar to code:
onClipEvent (load) {
this._y = Stage.height-this._height;
}

...although obviously slightly different without the Stage.height bit as I want it at the bottom edge of the browser. any ideas?

thanks
Jeff

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

Embedding Flash In HTML Positioning HELP
i embedded my flash movie in my html page successfully BUT i want to have it in the middle of the stage and it is alwasy to the left ofthe page..... i tried align but it didnt work,,,

i want my swf file in the middle ofthe page how can i do it???!!!!

PLEASE HELP

Thanks

Flash Positioning In HTML Table
Can someone please tell me why on this page...

http://www.gregorypaige.com/online/index.html

...when viewed with a Mac looks fine, but when viewed with a PC the Flash animation on the left of me with the map etc. (315 px. by 425 px.) is positioned one pixel too high, overlapping the white table border? I don't even get how this is possible with the way the HTML is written.

Will someone please look at the code? It's very very simple and is probably something small I am just overlooking.

Thanks!
Gregory

Positioning Flash In Search Engines
Im willing to know if there has being any advances in the way of positioning webs based on FLASH in search engines like google, yahoo, altavista...
Better than this, is there any tutorial available for this?

I would like to know the "how to" position my personal web in google?

(partially Flash Related) Positioning Help
Hello. Again. I was wondering if anybody knows how, or has access to a tutorial on positioning your flash movie on the internet after you've published it to a html. When I open the html link, its all very left aligned, which I'm not liking, and I was wondering how would you go about positioning your movie like on home star runner (centered window with black background and the like).
On the topic of this, i'll add a previous post which went relatively unanswered. How do you change the actionscript so that the "getURL" comand does not open up a separate browser and instead just loads the information up on the smae page as the link? Sorry If i haven't made this cler, and any help would be gretly appreciated.
Thanks ants. Thants.

Flash Movie Positioning With Opera
Hi,

I have the following problem... I've made a flash slide show that I want to include on my page. It works as it is supposed to but will display wrong in Opera 8.52 while IE and Firefox are OK. Does anybody have any idea what it can be, what am I doing wrong? There is no CSS styling appliedat all. The same happens with the html file published by Flash.

Many thanks in advance!

Flash Vars Font Positioning
hi guys,


see this site http://www.tigersforever.org/ , the title "Save tigers from the brink of extinction" is a flash, can anyone have a sample or a help me in making like this one?
thanks

Flash And XML Image Gallery Positioning.
Hi

I am using Flash 8 for this and XML to create an external/dynamic image gallery. The problem i have is that when you drag to make the screen bigger or smaller the image moves position and does not stay central. Attached is the fla for you to look at as it doesnt make much sense when describing it!

Also is there anyway to add a movable/ change size with the picture black box around the images?


thanks for any help.

Flash Stage Resize And Positioning
I have a flash app located at

http://www.triniscene.com/tsv7/galleries/?page=flash

now I want the flash dimensions to set to any reasonable size dimension in the HTML...while the movie adapts to the Stage dimensions. The problem I am having seems to be a browser issue. While in IE the movie takes the upper left hand side...it doesn't in FF...

I have the stage set to Stage.scaleMode = 'noScale'; and then set the _x and _y to 0...

what is the issue with FF here and is there any work around?

Flash Positioning In HTML Table
Can someone please tell me why on this page...

http://www.gregorypaige.com/online/index.html

...when viewed with a Mac looks fine, but when viewed with a PC the Flash animation on the left of me with the map etc. (315 px. by 425 px.) is positioned one pixel too high, overlapping the white table border? I don't even get how this is possible with the way the HTML is written.

Will someone please look at the code? It's very very simple and is probably something small I am just overlooking.

Thanks!
Gregory

Positioning Flash In Search Engines
Im willing to know if there has being any advances in the way of positioning webs based on FLASH in search engines like google, yahoo, altavista...
Better than this, is there any tutorial available for this?

I would like to know the "how to" position my personal web in google?

Absolute Positioning Flash Object
Can a flash object be absolutely or relatively positioned in html page? Can I use z-index with it?

Flash Movie Positioning Issue.
First my code

CODE
<table width="791" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <!--DWLayoutTable-->
    <tr>
         <td valign="top"><img src="images/Logo.gif" width="237"> </td>
      <td valign="top"><div id="Layer1" style="position:absolute; width:554px; height:200px; z-index:1; left: 497px; top: 10px;">
        <object codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="554" height="200" align="left">
              <param name="allowScriptAccess" value="sameDomain" />
              <param name="movie" value="http://127.0.0.1/test.swf">
              <param name="wmode" value="transperant">
              <param name="quality" value="high">
              <PARAM NAME=bgcolor VALUE=#FFFFFF>
              <embed src="test.swf" wmode="transparent"  quality="high" width="554" height="200" name="menu" align="left" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
        </object></div>
      </td>
  </tr>
</table>


Full Browser Flash Help With Positioning MC
So I've looked at Lee's tutorial and I can that working good but now I'm stuck. How do you place you movie clips in certain spots in the flash? (Someone else was asking the same question in theflashblog.com post)

For example how do I get a MC to be 100px from the top right and left? Or I want a MC to always be on the bottom and scale the width of the browser? (One of the example site I've seen is http://www.soleilnoir.net/ that people are in awww of)

I seen a lot of people asking similar questions so sorry if it's a repost. Thanks in advanced for the help :D

DuplicateMovieClip With AddItem In Flash MX
Hi everyone!

I have a movie clip with a listbox in it. I need to be able to duplicate this movie clip and still access the list box. For some reason I am unable to get to the duplicated list box instances... Is there a reason for this, or at least a way around it?

Thanks guys,
-Dan

DuplicateMovieClip In Flash-Player 8.0
Can anyone tell me, why the following code doesn't work in Flash-PLayer 8.0
for (k=0; k<35; k++) {
duplicateMovieClip(snow, "snow"+k, k);
}This piece of code works fine in Flash-Player 6.0, and it's not because I've forgotten to publish the movie without selecting Actionscript2.0 in both cases.

Hope You can help me on this, as I'm completly blank!

DuplicateMovieClip Fails Under Flash 8
Has anyone else found problems with Flash 8 Player on duplicateMovieClip. I have used the attached script to make multiple versons of a falling rain drop in the past. This script is still functioning fully when published as Flash 6, from Flash 8 Pro.

In order to take advantage of alpha channel masks which are now available with Flash 8, I would have thought simply reusing this trusty script would have worked as it does under Flash 6. But instead the animation fails to duplicate.

Any suggestions greatly received.








Attach Code

duplicateMovieClip("q5", "q5"+n, n);
this["q5"+n]._x = -100+Math.random()*650;
this["q5"+n]._xscale = 32;
this["q5"+n]._y = 180+Math.random()*35;
this["q5"+n]._yscale = 18;
n++;
if (n>180) {
brake;
n=0;
}

Copyright © 2005-08 www.BigResource.com, All rights reserved