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








Why Does Every Line Appears As Its Own Group?


Drawing a line in Flash 8 results in a group with the line inside of it. How do I change this so that it just draws the line and doesn't group it?




Ultrashock Forums > Flash > Flash Professional
Posted on: 2006-11-03


View Complete Forum Thread with Replies

Sponsored Links:

Gray Line Appears Around Flash Image When You Rollover It
For some reason, when I put my cursor over a flash image that is embedded in an HTML page, a gray line appears around the image when viewing it via Internet Explorer. However, this does not happen when viewing it with Firefox.

This happened after a web designer updated the page. It did not do this before the update. How can this be fixed?

View Replies !    View Related
Is It Possible To Hide A Group? Or A Group Of Radio Buttons?
I have a frame where I want to hide a group of radio buttons... is it possible... can I do it according to the group name? or should I assign an instance to them individually? if I can do any of this... please give some syntax... thanks...

Carlos

View Replies !    View Related
Group MCs Together
Hi,
I did along search on the forum, and I get the feeling there´s no solution...

Well, probably there is, but not the easy one ;-)

OK, I´ve got several instances of movie clips on stage, and I want to change their properties (esp. _x, _y, _alpha, _visible) simultaneously (difficult word).

Sure, I can use a loop and change each instance, but is their a way to group them together and just modify the group itself?

Thanks a lot!

View Replies !    View Related
What Is Group ?
I have no idea about the group concept which is shown in the attachment. If anyone knows what it is for, hope you don't mind letting me know the concept behind it. What is it for in the movieclip? Thank you in advance.

View Replies !    View Related
How Do You 'group Frames?'
Hi (this is my first post!)

Ive imported a text animation from swish 1.51 info flash 5
and of course the animation is split into frames.
The animation is about 20 frames long and if I want to shift the object on the stage to another location ( on the stage ) I would have to do it 20 times.

So is there an easier way to execute this?

View Replies !    View Related
New To The Group, And Flash 5
Hello Groupies,

I'm a new to this group and Flash5, so expect me to be asking allot of questions, and probley some dumb ones..lol
I just got my Flash 5 yesterday, and it's great, I just wish I knew allot more then I do, but don't we all.Alright, just wanted to make my mark, so now I'm going to go and read.

View Replies !    View Related
Scroller Group 94
Hi,

Does anybody know how to make a scroller like on
http://www.group94.com

If so you can explaine how to acheave this scroller.
Big thx in advance.

Grtz,

Modulater

View Replies !    View Related
Is There A Way To Group Images?
greets all,


I was wondering if there is a way to group images (in Flash MX) so that as you move them on the stage, they all move as one.

I've imported an animation that consists of a few hundred still images. Since they have to be all in one spot, it gets very tedious if you have to move each image frame by frame. Is there a way to group them?

View Replies !    View Related
Draw As Group?
I have Flash Professional 8, and my friend just got it, too. I have an option turned on that draws things as groups automatically. It's great, and he wants to use that option too. But, I can't find that option again! Does anyone know where it is?

View Replies !    View Related
[F8] Move Group Of MCs
I'm really scratching my head on this one ... how to get a group of selected MCs to move together (relative to one another's position) when one of them is dragged. Anybody?


PHP Code:



for (var i = 0; i<=arrayLength; i++) {
    var aItem = this["item"+i];
    aItem.onPress = function() {
        depth++;
        moveSelectedItems("start");
        this.swapDepths(depth);
        this.gotoAndStop(2);
        this.startDrag(false);
    };
    aItem.onRelease = function() {
        _global.drag = false;
        moveSelectedItems("stop");
        stopDrag();
        this.gotoAndStop(1);
        this.xpos = this._x;
        this.ypos = this._y;
    };
}
function moveSelectedItems(mystatus){
    if (mystatus == "start"){
        /*
        for(var m = 0; m<=arrayLength; m++) {
            var thisItem = _root["item"+m];                
            if (thisItem.marqueed == "true"){
                thisItem._x = aItem._x;
            }
        }
        */
    }
}

View Replies !    View Related
Group Loader
I just threw it together, so feel free to change it


PHP Code:



import mx.utils.Delegate;
class LoadGroup {
    var onItemLoad:Function;
    var onGroupLoad:Function;
    var onLoadProgress:Function;
    var onLoadComplete:Function;
    private var progress:Number;
    private var interval:Number;
    private var loadArray:Array;
    function LoadGroup() {
        loadArray = new Array();
    }
    function addLoadItem(clip:MovieClip, url:String):Void {
        var mcl:MovieClipLoader = new MovieClipLoader();
        var loadListener:Object = new Object();
        loadArray.push({url:url, clip:clip, mcl:mcl, loadListener:loadListener});
        //mcl.addListener(loadListener);
    }
    function startLoad():Void {
        for (var i:Number = 0; i<loadArray.length; i++) {
            var item:Object = loadArray[i];
            item.mcl.addListener(item.loadListener);
            item.mcl.loadClip(item.url, item.clip);
            item.loadListener.onLoadInit = Delegate.create(this, onItemLoad);
        }
        interval = setInterval(this, "loadProgress", 33);
    }
    private function loadProgress():Void {
        var totalTemp:Number = 0;
        var progressTemp:Number = 0;
        var perc:Number = 0;
        for (var i:Number = 0; i<loadArray.length; i++) {
            var item:Object = loadArray[i];
            var prog:Object = item.mcl.getProgress(item.clip);
            var bl:Number = prog.bytesLoaded;
            var bt:Number = prog.bytesTotal;
            perc += Math.round(((bl/bt)*100)/loadArray.length);
            totalTemp += bt;
            progressTemp += bl;
        }
        //trace(perc);
        if (perc >= 99) {
            onGroupLoad();
            clearInterval(interval);
        } else {
            onLoadProgress(progressTemp, totalTemp, perc);
        }
    }






Heres the implementation


PHP Code:



import mx.utils.Delegate;
var lg:LoadGroup=new LoadGroup();
lg.addLoadItem(_root.createEmptyMovieClip("1", _root.getNextHighestDepth()), "1.jpg");
lg.addLoadItem(_root.createEmptyMovieClip("2", _root.getNextHighestDepth()), "2.jpg");
lg.addLoadItem(_root.createEmptyMovieClip("3", _root.getNextHighestDepth()), "3.jpg");
lg.onGroupLoad=Delegate.create(this, groupLoaded);
lg.onItemLoad=Delegate.create(this, groupLoaded);
lg.onItemLoad=Delegate.create(this, onItemLoad);
lg.onLoadProgress=Delegate.create(this, onLoadProgress);
function onLoadProgress():Void{
    trace(arguments);
}
function onItemLoad():Void{
    trace(arguments);
}
function groupLoaded():Void{
    trace("Group Loaded");
}
lg.startLoad(); 

View Replies !    View Related
Get Radiobutton Group Value.
Hi guys,
I am creating a simple AS3 contact form.
Most of it i have done but i am having a bit of bother getting the value of the radiobutton group.


Anyone?
Thanks
Paul

View Replies !    View Related
Re: SmartCertify Group
SmartCertify, an online company, trains people for various

IT certifications including MX Developer Cert.

any thoughts on this place? gd, bad, experiences, concerns ?

thnx.

View Replies !    View Related
Loading .swf's From Outside Of Group?
Does anyone know how to load a swf, via button, to a movie clip that is located outside of the immediate button group?

View Replies !    View Related
One From Each Radio Group
I am creating a voting system and I have several different catagories with different radio groups under each. However I want the user to select one from each before they can continue. What do I need to do? Please be specific I apologize but I am a n00b. Thanks for any and all help.

View Replies !    View Related
Group Licensing
my supervisor wants to buy a licensed copy of the adobe flash but she is asking if we can use it in our network in our office. can we install it and group license it? or the installer is good for a single-user only? thank you.

View Replies !    View Related
Button Group
I have been working creating a group of buttons. Similar to a radio button
group where only one button can be selected at a time. Here is a snippet
of code:

b_0.onRelease = function() {
reset_buttons();
this.enabled = false;
this.gotoAndStop( "disabled" );
// other button code
}

// Other buttons look like the one above

reset_buttons = function() {
for ( var i = 0; i < numofbuttons; i++ ) {
var the_button = this[ "b_" + i ];
the_button.enabled = true;
the_button.gotoAndStop( "_up" );
}
}


The code here works just fine but, I have been thinking there may be a
better solution. I was reading about listener objects and began getting
vague ideas that clicking one button could notify all of the other
buttons.

I have also been trying to upgrade by understanding of AS 2.0. I started
to think this might be done as a class. Maybe something that extends
movieClip?

I'm looking for ideas or suggestions anyone might have to offer.

thanks

View Replies !    View Related
Is There A Way To Group A Number Of Mc's?
i have 6 mc and i want 4of them to move to a certain point on stage. is there a way a can group them as a var in some way?

View Replies !    View Related
AS3 - As3 Group 94 Scroll
there is a source file here
AS3 update to the Group94 inspired scrolling menu at Soulwire Illustration

i just want to know how is this work? i mean is how does the menu scroll up and down like the way it is .. i guess im trying to say is the logic behind it?

View Replies !    View Related
PHP Users Group
I am trying to find a php users group in the Houston area. If any one knows of such a thing it would be a great help.

View Replies !    View Related
Actions On Group Of Clips
Is it possible to perform certain action on series of movie clips with instance names clip1, clip2, clip3, clip4... using something like clip&"any number" (or any other way)

View Replies !    View Related
Actions On Group Of Clips
Is it possible to perform certain action on series of movie clips with instance names clip1, clip2, clip3, clip4... using something like clip&"any number" (or any other way)

View Replies !    View Related
Action For A Group >> Maybe ARRAY >> Help Please
I want to create a simple script for this...

I have a group of duplicated mc´s and I want to use the same action for all of them.

I thought I could create an array and them somehow use an action for the entire array

Any help?

Thanks
renato

View Replies !    View Related
On(rollOut) For A Group Of Buttons?
Hello. I have a nav bar that I am working on that is collapsable. I have one main button that slides a "navbar" MC out from under it, showing 5 buttons. Right now, if you click on any of the buttons, 5 more pop out from the side of that button. I want to have an on(press) - and have the side pop out, then on release, slide back. The problem I am having is that if I put that code on each individual button, if I go to another button, it would slide back. If I put that code on "navbar" MC, then the individual buttons are covered and will not work. How do I do this? If you are confused, I basically want it to have the same behavior as the file, edit view etc. at the top of any windows program.

Also, where do I put the code to have it back up? It is a simple

while (navbar._currentframe > 1) {
navbar._currentframe = navbar._currentframe -1;
}

is this wrong? or am I just not placing it in the right spot?

thanks in advance

View Replies !    View Related
Exit From A Group Of Statements
Hi Guys ,
I Just wanted to know that is it possible to exit from a group of statements without executing them ie if a condition is satisfied then it should not execute the remaining code. Please dont suggest me to use if else.
Is there any function like "exit()" or similar in flash?

Thanx,

View Replies !    View Related
Load External .swf's And Group Together?
thanks in advance for your help.

Flash MX - I am going to be running this from a laptop, not online.

I have a movie called "load_jpg5". On the first frame of "load_jpg5" I have an action as follows:


_root.createEmptyMovieClip("foliage",1);
loadMovieNum("foliage.swf",1)

this.createEmptyMovieClip("plants",0);
loadMovie("image.jpg","plants");

stop()



this loads an empty movie and imports a jpg. then loads another empty mc and puts an swf to run on top of it.

On the foliage.swf, they answer a number of questions and come up with one answer which is either a .png or a .gif. As soon as they get that answer I pop up a button with an action to load another .swf like this:


on (release) {
_root.createEmptyMovieClip("container",2);
loadMovieNum("container.swf",2)
}


this all works fine. Then they answer more questions and come up with a second answer which is either a .png or a .gif.


NOW - I need to group the results of both the .swf's so I can resize them and drag them together.

please help!

View Replies !    View Related
Changing Group Properties?
Can I assign a bunch of mc's to some kind of group then just aply an rgb effect to that group? is this possible? if so, how is it done?

View Replies !    View Related
Radio Button Group
hi,

i just wanted to ask how to check that one radio button in a radio button group is selected. i'm validating to ensure that only one is and must be selected. thanks in advance for any help!

View Replies !    View Related
Group 94 Text Effect.
Anybody have any directions I can go to figure out how Group94 did their text effects?

You can see it on the loading "news" section, but it's more recognizable in the "portfolio" section. when the user selects a different piece from the portfolio, the new text "crowds" out the old text, AND it looks like it's dynamic text from php or something!!

I think it's pretty nice, if anybody has any recomendations on how to go about getting a similair effect, that would be great.

Cheers.
Schimke

View Replies !    View Related
Radio Group Question
Hey guys. I'm having problems here with RADIO GROUP.

Can someone do a .fla example for me?

I need 5 options in Frame 2 and get the value seected in Frame 5.

PLA HELP ME with this.

It's like a presentation

Thanks

View Replies !    View Related
Flash Group Required
Need some flash experts with php know how.

Need a site worked on (from scratch)

View Replies !    View Related
Multiple MovieClips As A Group
-----------------------------
my_colorA = new Color(b1.btn);
my_colorB = new Color(b2.btn);
my_colorC = new Color(b3.btn);
---------------------------------


All i want to know is how we can group a property these three similar properties.

Something like :

my_color= new Color [b1.btn & b2.btn & b3.btn]

I don't know exactly how to code it,.....

similar to this if i want to apply an alpha effect to three movieclips at a time..

Thanks

View Replies !    View Related
Choose An Object From A Group
Hi,
If I had four movieclips on the stage(lets say 4 balls) and I clicked on one of the balls, how would I make that a signal to make the other 3 balls move off the stage?
I made a funtion like this:
MovieClip.prototype.ballClick = function(Xmove) {
if (Clicked) {
_root.ball2._x = _root.ball2._x-Xmove;
_root.ball3._x = _root.ball3._x-Xmove;
_root.ball4._x = _root.ball4._x-Xmove;
}
}
...But of course this would not work if it was any other ball then ball than number one. How can I generalize this so it can work for all four balls?

Thanks
JAy

View Replies !    View Related
Outlining A Group Object
I have flash animation consisting of 5 frames. Is there a easy way or rather an automated way to create a thick outline for a group of object insteads of breaking them up and expanding the fill to create the thick line frame by frame???

see attached picture...

View Replies !    View Related
Group Of Movie Clips ...
Does anyone know why this code:

Code:
for (i=1; i<10; i++) {
_root.createEmptyMovieClip("card"+i+"_mc", i+10)
card[i]._mc._x = i*10;
card[i]._mc._y = i*10;
card[i]._mc.lineStyle(1, 0x000000, 100);
card[i]._mc.beginFill(0xCCCCCC, 100);
card[i]._mc.lineTo(80, 0);
card[i]._mc.lineTo(80, 120);
card[i]._mc.lineTo(0, 120);
card[i]._mc.lineTo(0, 0);
card[i]._mc.endFill();
}
isn't producing a stack of movie clips that should look like this:
http://www.factoryzen.com/_LEARN/temp.html

Thanks,
Stephen.

View Replies !    View Related
Radio Group Question
I'm trying to set it up so that when I person selects a radio button and clicks a pushbutton an off screen object will appear on screan with for instance an X coordinate of 25 and Y coordinate of 50.

my radio group is called "radiogroup" and my push buttons Click Handler is "onClickit" one of the objects/symbol/movieclips I have has the instance name of "car".....I'm not quite sure how to set this up in the action scripting or what to put in the data section of the radio button.....any help with this would be greatly appretiated.

Thanks - Mike

View Replies !    View Related
Please Help Get My Auto-Group Feature OFF
Hi everyone,

I posted this once before, but now it's happening again. Here's the situation:

I just created a circle, and once I release the mouse-button, the circle magically has a blue square around it (as in, it's been instantly grouped). I then have to Ungroup the circle. If I draw a simple line with the pencil tool, same thing happens, the line is automatically grouped and must be broken apart.

I am wondering, is auto-grouping a feature that maybe I'm triggering by hitting some key-combination on the keyboard? It's really annoying. Somehow when it happened in the past.. it only last about a day, then mysteriously stopped doing it.

Thanks so much!!
-CG

View Replies !    View Related
Auto-Group Problem- Please Help
I'm having trouble with a fairly recent version of flash (MX 2004). Every time I draw something, flash assumes I want it to automatically group what I've drawn as soon as I let go of the mouse button. Whether this is a setting or an error, I do not know- but it is very annoying and I am tired of highlighting and ungrouping every time I draw something and I would like help as soon as possible, so If you know a solution to this I would be extremely grateful if you took time to give some suggestions.

View Replies !    View Related
[CS3] Radiobutton Group Problem
Hi, I'm creating a small quiz in Flash, and I have a nasty problem I hope you can help me with.

I've set a group name like "group1" for the first group of three radio buttons, and "group2" for the next, and so on. I have 2 groups per frame. The problem is that if I continue by having "group3" and "group4" on frame 2, when it's exported; The first frame is fine, but when I continue to the next frame, the radio buttons label is gone, and the radio buttons are all selectable, like check marks.

I would really appreciate some help on this

View Replies !    View Related
How To Group & Fade Radiobuttons?
Hey I have a group of radiobuttons called userVote (10 element array)

Code:
userVote.radioList[i]
I noticed that I could decrement the alpha using this array in an onEnterFrame() function:

Code:
for(var i = 0; i < 10; i++) { // loop is pretty ghetto
userVote.radioList[i]._alpha -= 10;
}
... or something similar.

However, this only fades out the buttons (and not the labels for the buttons) and I was looking for a more elegant solution anyway.

Is there a way that I can GROUP these radiobuttons (while still retaining their built-in functionality) to a movie-clip or something and then fade out the single movie clip in an onEnterFrame event to get all the radiobuttons to fade in one fell swoop?

Thanks much for anyone that can help.

View Replies !    View Related
Creating A Group Of Buttons
I have been working creating a group of buttons. Similar to a radio button
group where only one button can be selected at a time. Here is a snippet
of code:

b_0.onRelease = function() {
reset_buttons();
this.enabled = false;
this.gotoAndStop( "disabled" );
// other button code
}

// Other buttons look like the one above

reset_buttons = function() {
for ( var i = 0; i < numofbuttons; i++ ) {
var the_button = this[ "b_" + i ];
the_button.enabled = true;
the_button.gotoAndStop( "_up" );
}
}


The code here works just fine but, I have been thinking there may be a
better solution. I was reading about listener objects and began getting
vague ideas that clicking one button could notify all of the other
buttons.

I have also been trying to upgrade by understanding of AS 2.0. I started
to think this might be done as a class. Maybe something that extends
movieClip?

I'm looking for ideas or suggestions anyone might have to offer.

thanks

View Replies !    View Related
Work Group Problem
hi ppl,

I have made a website to my workgroup [4 computer (mom, dad and sister)], and in this site i want to make a flash with links to some folders.

anyway I've made such flash and i've put getURL script inside, but and getURL doesn't work with computers.
look:


ActionScript Code:
on(release)
{
getURL("\Spc1fhomepagefoldersdefault.html", "_blank");
}

the site is not on the web but it's on my comupter.

please help me... what code should i use for this?

shay

View Replies !    View Related
Sync Group Of Buttons
which is the simplest way to synchronize several buttons ?

I have 5 buttons (play/pause).

I want that when I click a play button all other buttons return to their initial state.

Thanks

View Replies !    View Related
Rotating A Group Of Items
Hi,
Does anyone know how you would rotate multiple items? Not just rotating each item separately at the same time, but actually rotating the group.

Hope that makes sense, let me know if you need clearification.

View Replies !    View Related
How To Generate A Group Number?
PHP Code:



function generate(num) {
   var total = 0;
   var group = []
   for(var i=0; i<8; i++) {
     group[i] = random(51)+50;
     total += group[i];
   }
   group[8] = num - total;
   total += group[8];
    trace(group.toString()+", "+total+" == "+num);
}
generate(500); 






although this can generate a group of numbers. But it can't limit the last number within 100. So have any better ways to limit all the numbers?

View Replies !    View Related
Masking Group Of Layers
Hi, can anybody tell me how do I mask a group of layers? I can only mask one layer under the masking layer now. I can have only one layer for masking and it should be effective for multiple layers under it. How do I do it? thanks!

View Replies !    View Related
RadioButton Group Not Working
I tried this script to create radioButtons and it worked, except that the two buttons in each group are not exclusive. It lets me click both buttons. Why? Is there a bug or did I do something wrong? Here is the script I used:

/**
Requires:
- RadioButton component in library
*/
stop ();

import mx.controls.RadioButton;
_global.style.setStyle("fontSize",20);

this.createClassObject(RadioButton, "oneYes_rb", 10, {groupName:"Q01"});
this.createClassObject(RadioButton, "oneNo_rb", 20, {groupName:"Q01"});

// Position RadioButtons on Stage.
oneYes_rb.move(765, 363);
oneNo_rb.move(oneYes_rb.x + oneYes_rb.width, oneYes_rb.y);
//third_rb.move(700, four_rb.y + four_rb.height);

// Create listener object.
var rbListener:Object = new Object();
rbListener.click = function(evt_obj:Object){
trace("The selected Q01 is " + evt_obj.target.selection);
Q01 = evt_obj.target.selection;
}
// Add listener.
Q01.addEventListener("click", rbListener);

//Repeat for Question 2
this.createClassObject(RadioButton, "twoYes_rb", 30, {groupName:"Q02"});
this.createClassObject(RadioButton, "twoNo_rb", 40, {groupName:"Q02"});

//this.createClassObject(RadioButton, "third_rb", 30, {label:"third", groupName:"radioGroup"});

// Position RadioButtons on Stage.
twoYes_rb.move(765, 495);
twoNo_rb.move(twoYes_rb.x + twoYes_rb.width, twoYes_rb.y);


// Create listener object.
var rbListener:Object = new Object();
rbListener.click = function(evt_obj:Object){
trace("The selected Q02 is " + evt_obj.target.selection);
Q02 = evt_obj.target.selection;
}
// Add listener.
Q02.addEventListener("click", rbListener);

Any suggestions will be appreciated.
Denise

View Replies !    View Related
Radio Group Formating
Any idea how to format radio buttons ( Group).? I need to increase circle size and also change text color and size.

thanks

Golem

View Replies !    View Related
How Do I Delete A Post Of My Own To This Group?
is there a way for me to delete this, for example? trying to maintain hygiene





























Edited: 03/30/2008 at 03:16:55 PM by ceteris

View Replies !    View Related
Group 94 Mouse Effect?
Hey guys,

http://www.group94.com

I was wondering how they create that mouse effect where it moves to the nav and turns to the arrow, and the go back where you had the courser originally?


Man there good!!!!

they should change there name to HTDT (HOW THEY DO THAT)

View Replies !    View Related
Text Effect From Group 94?
www.group94.com

Does anyone know how they do the text effect from Group 94's website?

I can't tell if its AS or just really complex masking.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved