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








Yet Another HART BREAKING Problem.. :)


Hi all...

I have a BIG BIG BIG request...

I made a flash test page... My screen resolution is 1280x1024.. It looks readable on my screen... But I'm afraid, that the people with larger/smaller screen resolution will not see the page clearly enough.. So I was wondering...

Is there any actionscript code, that allows the .swf to adjust it's size in browser depending on the screen resolution of a viewer... Or can i do it in html..?

Yes.. I complicated it...

The page: http://www.slihti.si/novo.htm

THANK YOU!!!




KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 01-16-2008, 08:10 AM


View Complete Forum Thread with Replies

Sponsored Links:

Bizarre Flash Breaking ... I'm Also Reaching Breaking Point...
Hi all,

I did a little Flash project a while ago:

http://www.theproblemofnothing.com

I just visited it recently here at work, on Firefox v. 2.0.0.2, and after loading the icons, it broke. Stopped dead. Yet it works on this comp on IE7. I tried another computer at work, and it worked in Firefox, but not in IE7 ... ? Bizarre. I'm posting this in the Actionscript section as I'm using lmctween.as, and I think that might be the issue.

Another issue that might be complicating things is my use of SWFObject for the main movie, and then loading SWF files externally into that movie. Or it might be the preloader I'm using and how I'm using it (eg. _root, etc.) Or something else.

I dunno guys. Everyone here's baffled. I'm sad. Please help! The site is above, and the FLAs can be found here:

http://www.theproblemofnothing.com/_fla

tpon.fla is the main movie, while art.fla is what I used to generate each file. Thanks a ton, and ... thanks!

Sincerely,
Mark (decisionman).

View Replies !    View Related
Bizarre Flash Breaking ... I'm Also Reaching Breaking Point...
Hi all,

I did a little Flash project a while ago:

http://www.theproblemofnothing.com

I just visited it recently here at work, on Firefox v. 2.0.0.2, and after loading the icons, it broke. Stopped dead. Yet it works on this comp on IE7. I tried another computer at work, and it worked in Firefox, but not in IE7 ... ? Bizarre. I'm posting this in the Actionscript section as I'm using lmctween.as, and I think that might be the issue.

Another issue that might be complicating things is my use of SWFObject for the main movie, and then loading SWF files externally into that movie. Or it might be the preloader I'm using and how I'm using it (eg. _root, etc.) Or something else.

I dunno guys. Everyone here's baffled. I'm sad. Please help! The site is above, and the FLAs can be found here:

http://www.theproblemofnothing.com/_fla

tpon.fla is the main movie, while art.fla is what I used to generate each file. Thanks a ton, and ... thanks!

Sincerely,
Mark (decisionman).

View Replies !    View Related
Breaking Box Apart
I am having some serious trouble here and since I am new to Flash, I do not know what I am doing yet. Alright, what I want to do is when I create a regular cube using the line tool. I had coverted the box to a movie clip and added a keyframe somewhat at around 10 frames. Right when I add the keyframe, I go to Insert>Create Motion Tween. At the keyframe located at frame 10, I click on it and then I go to Modify>Break Apart. When I go to take the pieces of the cube apart, the whole motion tween breaks apart and there are --------- lines through the tween. How can I fix this?

View Replies !    View Related
Breaking Apart A MC By AS? Possible?
Hi,
Is that possible to break apart MCs by actionscript in a given frame?
For instance breaking apart a static text MC ?

mx-guest2004

View Replies !    View Related
Breaking Apart Twice
Hello there,

Could anyone explain to me the reason why something needs to broken apart twice?

Regards,

Kristopher (UK).

View Replies !    View Related
Breaking Apart
I want to create a SWF that is all raw vectors, so that if this SWF is imported into an FLA, there won't be a series of symbols in the library.
When I'm in an FLA and break apart frames of animation, I find that the layering gets messed up.
So, does anyone know a way to globally break apart all the frames and all the layers in an FLA and keep layering correct?
Thanks for any help

View Replies !    View Related
Breaking Apart Text
I want to break apart and animate some text. I have a letter in keyframe 1. Then, in keyframe 15, I choose "modify-break apart" and make my changes to the letter by using the select tool. Next I created a motion tween. However, when I test the movie, the letter doesn't break into pieces (to reflect keyfram 15). Any help would be appreciated!

View Replies !    View Related
Breaking MCs Inside MCs
How can I break a MC inside another MC using actionscript so the first MC still continues as normal?

View Replies !    View Related
BREAKING APART BUTTONS
can anyone help!!

i am wanting to break apart buttons. What i am after is a button which breaks into text.

For example, i want an exit button, which when pointed over, breaks apart and morphs into text displaying "exit".

Please Help, i have tried absolutely everything.

View Replies !    View Related
Breaking Up Flash MX/ASP
I want to break up my flash site into different areas to minimise file sizes

I think i have to load the exported html files (not .swf?) so i can access my database, but i can only seem to do that in a new browser window, at a minimum i would like it in the same browser, but is it possible to load the exported html into a movieClip?

OR IS IT POSSIBLE..

to load the .swf file into a movieclip on a html page, and because its on the html page, i will be able to access the database through there??

i dont think i have explained to this to well, but any help would be appreciated

View Replies !    View Related
Breaking Apart Text
Is there a way to break apart text fields created with actionscript, or a way to use alpha values with them?

dave

View Replies !    View Related
Breaking Text Apart
I imported a gif with chrome text




says



MINISTERS
OF
JUSTICE
ORGANIZATION



What i want to do with it is break apart the text so i can do an alpha fade with all the letters except the first letter in each word, MOJO.


When i try to go to modify break apart , it does not let me do it,or it selects the background as well, what am i doing wrong?

View Replies !    View Related
Breaking Out Of Recursion
How do I break out of a recursive function before it reaches Flash's limit? My function works something like this:

code:
function recurse(x){
if (x>1)
recurse(x*.9);
}

View Replies !    View Related
Breaking The Line
When using an action script to populate a dynamic text box... How do I put a line break in the text that I am populating the Text box with?

View Replies !    View Related
Breaking Out Of A Movieclip.
Hey all

I dont even know the right term for this. The closest I can think of is breaking out of a loop.

Basically I have an MC that checks for 'onRollover', 'onRollout' and 'onMouseDown'.

onClipEvent (load) {
this.onMouseDown = function() {
_root.standtough.gotoandplay(100);
};
this.onRollOver = function() {
_root.mySounds.mySoundbip.start(0, 1);
_root.bg.buttongrow2.gotoandplay(2);
_root.standtough.gotoandplay(68);
};
this.onRollOut = function() {
_root.standtough.gotoandstop(1);
_root.bg.buttongrow2.gotoandplay(5);
};
}

The Problem is that when I click the MC (which tells standtough go to 100 and play), I have to stay within the movie clip for it to complete the actions or else the 'onRollOut' function tells it to do something else.

What I would like to know is there a way to tell flash to ignore the 'onRollOut' function if the 'onMouseDown' function has been instigated? I thought there might be a 'break' type function for MCs to tell the Flash to ignore the rest of the code.

Hope I have explained that well enough

Thanks!

View Replies !    View Related
Breaking Text
is there to knew (some kind of parm in action-script) if there was line brake inside dynamic text field?

thanks
kuller

View Replies !    View Related
Breaking Up A Movie?
I have a flash movie that is approx. 600-700kbs
(7 scenes, all on level 0)
When I publish it to the web. it abvously takes wayyyy to long to load all at once.


how do I break the movie up into 6-7 chunks
so each section will load at different times?

can anyone help?

View Replies !    View Related
Breaking Up Is Hard To Do.
Afternoon!!!

Got some questions for you guys and was hoping you'd help.

I've done some searches on the boards and I think I'm choosing the wrong words.

Also its basic stuff, I think.

Right I'm doing my web site entirely in Flash, so in order not have the entire site load, I just want to load the relevant movies as needed.
Each with their own preloader if need be.

Now I need to know how this is done. How to I tell the movie where to load? What is the action script for this?

thanks guys!
Keep well!

View Replies !    View Related
What Is A Breaking Point?
I get an debug message when I try to run an .swf files. It's something about a break point. What is a break point?

Thanks

View Replies !    View Related
Breaking A PNG Apart, Probably Really Simple
hello, i have a huge picture with about 100 little pictures inside it that i imported into flash. Is there any way to break it apart in flash instead of having to do it in like adobe or something??

(I found a picture with a whole bunch of Nintendo sprites on it and i want to take each one individually)

Sorry for the simplicity of this question

View Replies !    View Related
MX / Stage Breaking
I would have liked to do a search for related questions but I don't know if my description of the problem is properly described, so I thought I will give it a go here in this thread.

Basically what I;m trying to achieve is to create a nav bar that set at 680x31. In this stage size, there will be drop down menus that will exceed the stage size.

I have seen a long time ago websites that were successful in plotting in flash files in a webpage and when the flash file is viewed live, its able to actually break the stage size and overlap on to HTML text and other assorted images that is not apart of the SWF file.

I describe this as some sort of transparency or stage break. How is this possible? also, knowing that I need to keep the swf stage size at 680x31 knowingly my drop down menus will drop far below the 31 height, how can I plot the 680x31 swf in my web browser and have the drop down menus break the stage size and overlap its cell area and on or over other cell areas of the webpage?

I'm not sure if this is HTML work, or actually action scripting done inside the FLA file.

Any help, suggestions, and examples performed by any member would be greatly appreciated, I tend to learn quickly through visual examples but any help would be GREAT!!!

View Replies !    View Related
Please Help With Breaking Up Movie
I've made another movie that's too big and needs breaking up. I'm
finding it, however, very hard to learn a simple way of doing this.I have 1 movie with 5 scenes which put together weigh about 8 mb. Also, If not a bother, after the movie is broken up, would I put a preloader on every movie and just call them up as needed? or can I somehow start loading them as my intro starts?
As my intro is playing, I'd like to start loading my home page movie in another level then when needed, call for it. I understand that much, but what if someone skips the intro and, with a slow connection, sees nothing?

Thanks for any help

View Replies !    View Related
Shattering/breaking
how do I make a shattering or breaking effect on a pic?

View Replies !    View Related
Breaking Up A Movie ? Help ?
Hi, I've just made a flash web-site which is in effect a slideshow of images. The entire movie is 3MB in size so I broke it into 3 galleries with three pre-loaders with the noble aim of giving the viewer warning that each section would need to load one at a time.

I think I've screwed up because there is only one SWF file which contains the three sections, so by default when you start to view the site online, it still starts to load the whole damn thing (My oversight) go to www.nicdartnell.com to see what I mean .Its OK on cable but on a 56k modem it sucks ! (Am aware of code issues in top gallery buttons- have already fixed this)

Here's the question. How can I break the Flash movie into three individual movies eg: Gallery 1,Gallery 2 & Gallery 3 SWF so that visitors will be able to enter the main site index then load each gallery individually ?

There is currently only one HTML file, would I need to make the main menu buttons look for gallery 1.html , gallery 2.html & so on ?

Hope someone can advise accordingly.

Many thanks

Hiab-X

PS:Site created with Flash 5

View Replies !    View Related
Breaking Apart A Combobox
Need some help. Pulling out an old file I had worked on a while ago and trying to build/modify it. Presently how to do this escapes me.

I have a main flash movie with this actionscript on the first frame.

loadVariablesNum("read2.php", 0, "POST");
loadVariables("read.php", "text2", "POST");
stop();

Also in the movie are three text fields:
text1 var: text
text2 var: text2
and a third var: textfile
which shows the link

The two PHP scripts that will read a text file and place it into two text (text1 and text2) fields.

Also in the movie is a combo box which I have attached. When you click on a hardcoded link in the combo box it loads a .txt file into the text boxes with the link in third text box, var: textfile.

I want to break apart the combo box and just have simple clickable buttons with the same functionality as when a link is clicked in the combo box.

My goal is to have the combo box, buttons, and at some point loaded txt files with asfunctions all with the same functionality.

Attached is the combo box with the actionscripting

View Replies !    View Related
Breaking Apart Flash
Is there a way to break flashs UI into seperate parts? The reason I need to do this is to take advantage of a virtual desktop (Multiple desktop) program I have. I wanted to put the canvas on one screen and the toolbars on the next.

View Replies !    View Related
Breaking Things Down....
Hi all. I have a function that i feal could be done in a much better way than i am doing right now, but i am not able to figure out how to do it.

Here it is:

function get_hiders() {
myNumbers = new Array(9);
randomNumbers = new Array(9);
for (i=0; i<9; i++) {
myNumbers[i] = i+1;
}
i = 0;
while (myNumbers.length>0) {
thePosition = Math.round(Math.random()*(myNumbers.length-1));
randomNumbers[i] = myNumbers[thePosition];
i++;
myNumbers.splice(thePosition, 1);
}
for (i=0; i<_root.hard1; i++) {
this["l1_n"+randomNumbers[i]] = "";
}
}
function get_hiders2() {
myNumbers = new Array(9);
randomNumbers = new Array(9);
for (i=0; i<9; i++) {
myNumbers[i] = i+1;
}
i = 0;
while (myNumbers.length>0) {
thePosition = Math.round(Math.random()*(myNumbers.length-1));
randomNumbers[i] = myNumbers[thePosition];
i++;
myNumbers.splice(thePosition, 1);
}
for (i=0; i<_root.hard2; i++) {
this["l2_n"+randomNumbers[i]] = "";
}
}
function get_hiders3() {
myNumbers = new Array(9);
randomNumbers = new Array(9);
for (i=0; i<9; i++) {
myNumbers[i] = i+1;
}
i = 0;
while (myNumbers.length>0) {
thePosition = Math.round(Math.random()*(myNumbers.length-1));
randomNumbers[i] = myNumbers[thePosition];
i++;
myNumbers.splice(thePosition, 1);
}
for (i=0; i<_root.hard3; i++) {
this["l3_n"+randomNumbers[i]] = "";
}
}
function get_hiders4() {
myNumbers = new Array(9);
randomNumbers = new Array(9);
for (i=0; i<9; i++) {
myNumbers[i] = i+1;
}
i = 0;
while (myNumbers.length>0) {
thePosition = Math.round(Math.random()*(myNumbers.length-1));
randomNumbers[i] = myNumbers[thePosition];
i++;
myNumbers.splice(thePosition, 1);
}
for (i=0; i<_root.hard4; i++) {
this["l4_n"+randomNumbers[i]] = "";
}
}
function get_hiders5() {
myNumbers = new Array(9);
randomNumbers = new Array(9);
for (i=0; i<9; i++) {
myNumbers[i] = i+1;
}
i = 0;
while (myNumbers.length>0) {
thePosition = Math.round(Math.random()*(myNumbers.length-1));
randomNumbers[i] = myNumbers[thePosition];
i++;
myNumbers.splice(thePosition, 1);
}
for (i=0; i<_root.hard5; i++) {
this["l5_n"+randomNumbers[i]] = "";
}
}
function get_hiders6() {
myNumbers = new Array(9);
randomNumbers = new Array(9);
for (i=0; i<9; i++) {
myNumbers[i] = i+1;
}
i = 0;
while (myNumbers.length>0) {
thePosition = Math.round(Math.random()*(myNumbers.length-1));
randomNumbers[i] = myNumbers[thePosition];
i++;
myNumbers.splice(thePosition, 1);
}
for (i=0; i<_root.hard6; i++) {
this["l6_n"+randomNumbers[i]] = "";
}
}
function get_hiders7() {
myNumbers = new Array(9);
randomNumbers = new Array(9);
for (i=0; i<9; i++) {
myNumbers[i] = i+1;
}
i = 0;
while (myNumbers.length>0) {
thePosition = Math.round(Math.random()*(myNumbers.length-1));
randomNumbers[i] = myNumbers[thePosition];
i++;
myNumbers.splice(thePosition, 1);
}
for (i=0; i<_root.hard7; i++) {
this["l7_n"+randomNumbers[i]] = "";
}
}
function get_hiders8() {
myNumbers = new Array(9);
randomNumbers = new Array(9);
for (i=0; i<9; i++) {
myNumbers[i] = i+1;
}
i = 0;
while (myNumbers.length>0) {
thePosition = Math.round(Math.random()*(myNumbers.length-1));
randomNumbers[i] = myNumbers[thePosition];
i++;
myNumbers.splice(thePosition, 1);
}
for (i=0; i<_root.hard8; i++) {
this["l8_n"+randomNumbers[i]] = "";
}
}
function get_hiders9() {
myNumbers = new Array(9);
randomNumbers = new Array(9);
for (i=0; i<9; i++) {
myNumbers[i] = i+1;
}
i = 0;
while (myNumbers.length>0) {
thePosition = Math.round(Math.random()*(myNumbers.length-1));
randomNumbers[i] = myNumbers[thePosition];
i++;
myNumbers.splice(thePosition, 1);
}
for (i=0; i<_root.hard9; i++) {
this["l9_n"+randomNumbers[i]] = "";
}
}

As you can tell, i am doing the same thing over and over, and every fiber in my body tells me its a better way. Anyone?

View Replies !    View Related
Breaking My Head
How come something so simple isn't working for me.

I'm passing a variable from html into my swf using:

[HTML]<param name="movie" value="mypage.swf" />
<param name="FlashVars" value="cust_id=65" />
<embed src="mypage.swf" FlashVars="cust_id=65"/>[/HTML]


then I create a text field in flash with the variable name myVar and attach the following code to it:


Code:
onClipEvent (load) {
loadVariables("test.php", this, "GET");
}

in the php page i have:


PHP Code:



<?php

echo "&myVar= $_GET[cust_id] "

?>





when i test the movie on the server, the PHP file should take the cust_id variable from the swf and display it in the text field, but it's not working for me.

am i missing a step?

thanks for your help.

View Replies !    View Related
Breaking The Boundaries Of A Swf
Hey guys,

I'm really struggling to find any help on this topic. I'm sure you've seen these new fancy banner adverts that basically stretch over your screen when you hover over them, or the flash pop-ups that attack you and have a tiny "CLOSE" button, thus creating frustration! Well basically I want to know how to make these (its for a uni project, I'm not going to be annoying anyone!). I know it can be done in flash, but I have no idea how. If anyone knows how to either create a pop-up without the window or toolbar, or if they know how to get the flash showing outside of the swf's boundaries, I'd appreciate the help!

Cheers.

View Replies !    View Related
Breaking Up A Number
hey yall, I'm working on a project that puts a number image in for a numeric value. say the number is 203, I want the sprite in the hundreds be a 2 and the tens to 0 and so on. is there anyway I can break up the number and place each number into a array. I don't really want to do any heavy math for this.
thanks

View Replies !    View Related
Any Program For Breaking Up SWF's?
I have a bunch of FLA's that are basically educational lessons with video, animation and sound. There are currently 15 FLA's for the entire lesson. I need there to be about four times as many SWF(so that all are under 1mb). I can't just copy frames and paste them into a new movie, as this would mess up the sync on the sound. Is there any program that I can use to break up SWF's into smaller ones? None of these are interactive, basically just makes a video. Any guidance would be appreciated.

~Christopher

View Replies !    View Related
Breaking Apart Elements
Hello, I've got a very frustrating situation here... Dunno if its a bug in Flash MX 6, but whenever I break apart grouped shapes (say I have about 10 to 20 different grouped shapes) some parts of the shapes seem to disappear for no reason...

Is there a reason to this and is there a way for me to fix this?

Thanks

View Replies !    View Related
[F8] Menu Breaking... Look At Fla.
Look at the Fla for this one. I have been trying to get my menu so that I can roll over one menu item, and it does something, then when I roll off of the menu item, have it do something else. If I rollover the About Us button, it comes in great, after waiting a couple of seconds and rolling out, it leaves great. But If I hurry and roll over then off of it, it breaks.

The "About Us" button is the only one I have added the gotoAndPlay coding to, the others are just nextFrame, prevFrame.

Help would be very much appreciated, I've been trying to get this to work forever.

MenuTroubles.fla

View Replies !    View Related
Breaking Apart An Image?
I learned how to use flash very basically back in October-November, but have since forgotten pretty much everything since then. So, I need help.

Basically, I've forgotten how to break apart an image fully. I have an image that has a tree, with a bunch of white empty space around it. Obviously, I want to get rid of the white space. If I remember correctly, you make the image a symbol, the use "Break Apart", but I can't remember what to do after that?

Thanks for the help!

EDIT: Sorry, forgot to add, I'm using Flash 8 Pro

View Replies !    View Related
Text Breaking
Is it possible to break text over different lines in Actionscript?
i.e
Code:
text = "Bla bla bla bla bla
bla bla bla"
like that? I have tried doing that but it comes up with a syntax error. Is there a specific bit of code you need.

View Replies !    View Related
Breaking Out Of SetInterval
Hi guys, Ive been creating this dropdown menu from flash, and when i rollover a menu, i want the background to fade. So I thought none other than some setInterval, but for some reason, it won't break out of the loop.

Anyways, heres my code on my first frame on an actions layer:

Code:
var nTimes:Number = 0;
mcMenu1.mcMenu1Content._visible = false;

mcMenu1.mcMenu1Base.onRollOver = function():Void {
if (bBooly = true){
mcMenu1.mcMenu1Content._visible = true;
mcMenu2.mcMenu2Content._visible = false;
mcMenu3.mcMenu3Content._visible = false;
mcMenu4.mcMenu4Content._visible = false;
mcMenu5.mcMenu5Content._visible = false;
mcMenu6.mcMenu6Content._visible = false;
mcMenu7.mcMenu7Content._visible = false;
mcMenu8.mcMenu8Content._visible = false;
var nInterval:Number = setInterval(fadeDetails,15);
}
};

function fadeDetails():Void{
mcDetails._alpha = mcDetails._alpha - 20;
nTimes++;
if (nTimes == 2){
clearInterval(nInterval);
nTimes=0;
}
}

View Replies !    View Related
Breaking Text
I have a text field called text. in the first frame of the timeline, i put this code.

_root.text="Dog, cat, gun, man, tennis";

what i would like to do is to be able to put those into seperate rows. How would i do this? Like in HTML one can put "br" inbetween text and make it split. How can you do this with actionscript?

View Replies !    View Related
Breaking A Function
when within a while loop for example, you can use the break statement to cancel the whole loop and move on.

is there an equivalent for functions?

for example:


Code:
function hello() {
break;
trace("hello");
}
hello();
how can i make that not trace "hello"?

View Replies !    View Related
Breaking Sound From An Swf
I have a .swf with sound embedded in mp3 format.
When I import this to flash, I don't get the sound.

Does anyone know of a way to pull out this sound from the swf file??

View Replies !    View Related
Breaking Free From FPS
Can't find this info anywhere. Basically I want to code something that is framerate independent, and drops frames if needed.

This means starting to use timers instead of enterframes and tweens with useSeconds set to true.

My question: how do these two react when performance goes down. If a 50fps movie slugs down to 25, will the 1 second duration I set in the tween still be 1 second or will it stretch to 2? Will the timer leave the framerate behind and still trigger on the set time(or the closest possible frame), or will it wait for the framerate to catch up?


regards,
HAC

View Replies !    View Related
Breaking A Tween?
Hi: I have a color tween on a mouseover event and would like to change the color back to it's original color on mouseout. The issue is that the mouseout event doesn't trigger if it's still in the midst of the tween. Is there a way to stop the tween? (I'm assuming there is...)


ActionScript Code:
function mouseOn(e:MouseEvent) {
     colorInfo = this.getChildAt(0).transform.colorTransform;
     var tempMovie:Sprite = new Sprite();
     var alphaOver:Tween = new Tween(tempMovie, "alpha", Strong.easeOut,0, 1,1, true);
      alphaOver.addEventListener(TweenEvent.MOTION_CHANGE, tweenToColor);
}

     
function tweenToColor(event:TweenEvent):void {
// apply the change to the display object
     colorInfo.color = Color.interpolateColor(0x96cad4, 0x62848a, event.position);
     this.getChildAt(0).transform.colorTransform = colorInfo;
}
       
function mouseOff(e:MouseEvent) {
     var newColorTransform:ColorTransform = this.getChildAt(0).transform.colorTransform;
     newColorTransform.color = 0x96cad4;
     this.getChildAt(0).transform.colorTransform = newColorTransform;      
}

View Replies !    View Related
Breaking Loops
So I have a loop that scans through everything in the frame and puts the found MovieClips into their respective arrays. I come from somewhat of a java background - so i'm trying to break the loop once the next MovieClip is not found (i.e. it is Null).

But i keep getting this error:


Code:
ReferenceError: Error #1069: Property enemy4 not found on SuperGuy and there is no default value.
My loop looks like this:


ActionScript Code:
while (null != MovieClip(root)["enemy"+i]){
    enemies.push(MovieClip(root)["enemy"+i]);
    i++;
}

So lets say I have 3 enemies on the frame. By my logic it should break out once i == 4 because the boolean in the while should evaluate to false, but it doesn't - It just spits that error out at me. How can I achieve the same results I am looking for?

View Replies !    View Related
Breaking Objects Apart
Awhile ago, someone asked how to create a certain effect in which a shimmering star traveled in a circular path while the circular logo faded in underneath. Chris Georgenes posted a file showing how it could be done with a mask.

In the file, the circle was broken up into evenly sized segments. Were the segments measured and broken up manually or is there a control that allows you to divide an object evenly?

View Replies !    View Related
Am I Breaking Some Unkown Law Here?
Let me ask you something. I just got ripped a new one for even asking for a critique on a company site redesign. Do you think it's wrong to go to a forum to see what other people think? I know I'm not this amazing designer, and this is the e-mail I got for asking for some help.

"You're weak and lazy. Pick a design and go with it. Who solicits opinions from complete strangers about something as personal as a company website? Sheesh! Btw, ALL of these designs are horrible. "

Is this exceptionally harsh, or am I missing something?

View Replies !    View Related
Breaking Out Of A For Loop
I'm doing essentially a gambling game, but you can hit bankrupt. I try having an if statement that will do this... but the code changes the text but it will not change the scene to the result scene.








Attach Code

if (block[rnd] == 0) {
amt.text = "0";
txt.text = "Bankrupt";
stop();
gotoAndStop(9);
}

View Replies !    View Related
Breaking Loops
Hi,

I would like to break a for-loop.

It should be easy with "break;", but there is a slight complication to the code - the for-loop contains a function from within which I want to be able to break the loop.

Here is a codesnippet:

ActionScript Code:
for(i = 8; i > 1 ; i--){        loadText = new LoadVars();        loadText.load("Textfile.txt");        loadText.onLoad = function(success) {            if (success) {                break for;  // HERE I WANT THE BREAK            }        };}


So, somehow, I want to break the for-loop from within the onLoad-function. Is that possible with some other code (this ofcourse doesnt work)?

View Replies !    View Related
Breaking Images With AS
Hi people!
Do you know how can I break images using actionscript???
I mean, take a picture and divide it into rectangles of the same size, for make a gallery transition or something...
Thanks for any help
::::goto():::::

View Replies !    View Related
Breaking A Loop
I have a function that contains a loop on my main timeline. The result is a lot of pictures being loaded. This works fine on faster connections but on dialup you have to wait until all the pictures are loaded up before any of my buttons on the site work. My button functions are also defined in the same code as the loop function (which is shown below). Is there a way so that I can break this loop while its running if any of my buttons are pressed so that their function work? Will on release scripts attached to buttons objects respond while this loop is running? Can you do it within this loop so that if any button is pressed it breaks?




ActionScript Code:
function drawGrid(container, wide) {    clearExistingGrid(container);//if any    var x = 0;    while (x<myLv.n) {        for (var y = 0; y<wide; y++) {            if (x>=myLv.n) {                break;            }            new_mc = container.attachMovie("grid_item", "mc_"+x, x);            if (x%wide == 0) {                new_mc._x = startPozX;            } else {                new_mc._x = startPozX+(new_mc._width+spaceX)*(x%wide);            }            if (Math.floor(x/wide) == 0) {                new_mc._y = startPozY;            } else {                new_mc._y = startPozY+(new_mc._height+spaceY)*(Math.floor(x/wide));            }            new_mc.price.text = "£"+myLv["price"+(x)]+"";            new_mc.modelNum.text = myLv["model"+(x)];            new_mc.photoContainer.loadMovie(myLv["pic"+(x)]);            new_mc.movnum = x            x++;        }    }}

View Replies !    View Related
Cutting And Breaking Apart
Ok Ok ok i know everything in flash ok not everything but mostly every.any way i need to know how to cut and paste things in flash like with adobe you can use the freehand and cut things out.So that leave me to ask how can i go about doing the same in flash?

View Replies !    View Related
Breaking A Textfield With AS
Is it possible to break (Ctrl + B) a created textfield with AS, and have the letter instances named somehow? I need this to write a text animation.

View Replies !    View Related
Breaking Apart Text
when i break apart text for some reason it keeps filling in letters, i.e. O's become filled circles.. This is happening with a few different fonts that i tried, including a pixel font i downloaded.. Does anyone know how i can stop/avoid this?

Currently using standard text boxes, font size is multiples of 8, positioning is on whole numbers..

The fill appears after the second break apart.

Cheers

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