Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Search Forums

Showing results 1 to 50 of 80
Search took 0.04 seconds.
Search: Posts Made By: McBeaver
Forum: ActionScript 2.0 10-31-2007, 04:52 AM
Replies: 6
Views: 1,227
Posted By McBeaver
Try var cThumb = _global.thumb;

Try var cThumb = _global.thumb;
Forum: ActionScript 2.0 09-11-2007, 12:52 AM
Replies: 3
Views: 788
Posted By McBeaver
No problem :)

No problem :)
Forum: Gaming and Game Development 09-10-2007, 04:10 AM
Replies: 9
Views: 2,044
Posted By McBeaver
You have an interval,...

You have an interval, baddytimer=setInterval(createBaddy,5000,1); but forget that. I see you have fireBaddyBullet twice, once under the Baddy1 movieclip and one on the main timeline under Player....
Forum: Gaming and Game Development 09-10-2007, 03:47 AM
Replies: 9
Views: 2,044
Posted By McBeaver
fireBaddyBullet is an anomyous function. I don't...

fireBaddyBullet is an anomyous function. I don't think that by creating it in the baddy timeline will fire the function. It needs to be called from somewhere, baddy.fireBaddyBullet(), maybe on an...
Forum: Gaming and Game Development 09-10-2007, 03:34 AM
Replies: 9
Views: 2,044
Posted By McBeaver
Ok I see it. Where is fireBaddyBullet called?

Ok I see it. Where is fireBaddyBullet called?
Forum: ActionScript 2.0 09-10-2007, 03:31 AM
Replies: 3
Views: 788
Posted By McBeaver
Try this: this.knob_mc.onPress =...

Try this:


this.knob_mc.onPress = function() {
this.startDrag(true, _root.scaleControl_mc.slider_mc.groove_mc._x, _root.scaleControl_mc.slider_mc.knob_mc._y,...
Forum: Gaming and Game Development 09-10-2007, 03:13 AM
Replies: 9
Views: 2,044
Posted By McBeaver
Where do you call fireBaddyBullet()? When...

Where do you call fireBaddyBullet()?

When attaching the bullet, you can always create a temporary reference to it and use that variable in the function, such as:


fireBaddyBullet = function ()...
Forum: ActionScript 2.0 09-10-2007, 02:59 AM
Replies: 2
Views: 671
Posted By McBeaver
Maybe this will work, let me know if it does: ...

Maybe this will work, let me know if it does:

function createMainMenu() {
for (a = 0; a < mm_array.length; a++) {
var newmovie = menuMC.attachMovie("mainnav_mc", "mainnav" +...
Forum: ActionScript 2.0 09-10-2007, 02:46 AM
Replies: 2
Views: 1,866
Posted By McBeaver
I think in kpComp(ref), you need to refer to...

I think in kpComp(ref), you need to refer to kp_array as ref.kp_array
Forum: ActionScript 2.0 09-07-2007, 09:35 PM
Replies: 9
Views: 5,650
Posted By McBeaver
you can use the tween function onMotionChanged to...

you can use the tween function onMotionChanged to test for a condition. If its true, maybe you can stop() the tween, rewind() it to reset it to the beginning, then delete this;.
Forum: ActionScript 2.0 09-07-2007, 09:18 PM
Replies: 1
Views: 686
Posted By McBeaver
You can use &#62; to represent > in HTML, so: ...

You can use &#62; to represent > in HTML, so:

<?xml version="1.0" encoding="utf-8" ?>
<foo Parent="root &#62; foo">
</foo>
You can find a list of many character entities here:...
Forum: Components 09-06-2007, 05:19 PM
Replies: 9
Views: 2,491
Posted By McBeaver
Anytime :)

Anytime :)
Forum: ActionScript 2.0 09-06-2007, 04:31 PM
Replies: 3
Views: 806
Posted By McBeaver
no problem :) good luck.

no problem :) good luck.
Forum: Components 09-06-2007, 04:28 PM
Replies: 9
Views: 2,491
Posted By McBeaver
As I said earlier, don't use ...

As I said earlier, don't use

my_ac.selectedIndex(myint);

try:

my_ac.selectedIndex = myint;
Forum: Components 09-06-2007, 03:12 PM
Replies: 9
Views: 2,491
Posted By McBeaver
I ran it locally and it worked fine. I changed...

I ran it locally and it worked fine. I changed the movieclips to Views in the children, just so it wouldn't error on me, but it worked.
Forum: Components 09-06-2007, 02:40 PM
Replies: 9
Views: 2,491
Posted By McBeaver
Try my_ac.selectedIndex = myint; and don't...

Try my_ac.selectedIndex = myint;

and don't convert myint to a string.
Forum: ActionScript 2.0 09-06-2007, 05:38 AM
Replies: 3
Views: 806
Posted By McBeaver
Seems like you are pretty close, if you are...

Seems like you are pretty close, if you are talking about the slider_mc current x position


new mx.transitions.Tween(slider_mc, "_x", mx.transitions.easing.Strong.easeInOut, slider_mc._x,...
Forum: Components 09-06-2007, 05:32 AM
Replies: 9
Views: 2,491
Posted By McBeaver
Can you post a sample .fla?

Can you post a sample .fla?
Forum: ActionScript 2.0 09-06-2007, 05:23 AM
Replies: 11
Views: 1,447
Posted By McBeaver
So the mac only has onPress() and no way to use...

So the mac only has onPress() and no way to use the release event?
Forum: ActionScript 2.0 09-06-2007, 05:13 AM
Replies: 9
Views: 5,441
Posted By McBeaver
Sorry, forgot to tell you where to get it :) Hope...

Sorry, forgot to tell you where to get it :) Hope the solution works. If you weren't going for that fade in/fade out look (or modify any other property like _x, _yscale, _rotation, etc), you can use...
Forum: ActionScript 2.0 09-05-2007, 05:35 AM
Replies: 9
Views: 5,441
Posted By McBeaver
Try the file I attached. Not sure if it is...

Try the file I attached. Not sure if it is exactly what you were looking for, but it should give you a few ideas. Let me know if you need any clarification.
Forum: ActionScript 2.0 09-05-2007, 04:55 AM
Replies: 11
Views: 1,447
Posted By McBeaver
The problem may be buttons within movieclips that...

The problem may be buttons within movieclips that also have events on them. In this situation, I use Senocular's enablePseudoButtonEvents() function. Here is Senocular's tutorial:...
Forum: ActionScript 2.0 08-21-2007, 05:18 AM
Replies: 3
Views: 1,038
Posted By McBeaver
good luck :)

good luck :)
Forum: ActionScript 2.0 08-21-2007, 05:08 AM
Replies: 4
Views: 772
Posted By McBeaver
maybe there is a stop() in a script that expands...

maybe there is a stop() in a script that expands across the whole timeline. If you can post your fla and supporting files it might be easier to troubleshoot.
Forum: ActionScript 2.0 08-21-2007, 03:43 AM
Replies: 4
Views: 781
Posted By McBeaver
I believe you need to set embedFonts to true and...

I believe you need to set embedFonts to true and antiAliasType to "advanced". I also included a few other parameters I usually set. Try it and let me know if it works.

var...
Forum: ActionScript 2.0 08-21-2007, 03:31 AM
Replies: 7
Views: 772
Posted By McBeaver
function randRange(min:Number, max:Number) { ...

function randRange(min:Number, max:Number) {
var randomNum:Number = Math.floor(Math.random() * (max - min + 1)) + min;
return randomNum;
}
Forum: ActionScript 2.0 08-21-2007, 03:26 AM
Replies: 3
Views: 1,038
Posted By McBeaver
Well you can eventually use an xml file and keep...

Well you can eventually use an xml file and keep it all dynamic, but to turn this code into a loop, it would be:

for (n:Number = 1; n <= 12; n++) {
var theImage =...
Forum: ActionScript 2.0 08-21-2007, 03:19 AM
Replies: 4
Views: 772
Posted By McBeaver
I think play_frame is being returned as a String....

I think play_frame is being returned as a String. Did you try going to the frame without the single quotes?:

this.gotoAndPlay(play_frame);

Plus when concatenating strings, you wouldn't use...
Forum: ActionScript 2.0 08-02-2007, 05:32 AM
Replies: 5
Views: 1,495
Posted By McBeaver
When moving the scrollbar_mc, do you take into...

When moving the scrollbar_mc, do you take into account its width? (probably scrollbar_mc._width/2)
Forum: Components 08-01-2007, 05:16 AM
Replies: 3
Views: 1,376
Posted By McBeaver
Are you creating the scrollPane component...

Are you creating the scrollPane component correctly? Maybe its in code you didn't show, but its something like:

import mx.containers.ScrollPane

var scrollPane:ScrollPane;
// Or might be the...
Forum: ActionScript 2.0 08-01-2007, 05:04 AM
Replies: 5
Views: 1,495
Posted By McBeaver
I took a quick look at your code. One thing I...

I took a quick look at your code. One thing I noticed is that when you reference the section Array, you are searching by the position #. When you create the section Array, the first one is put into...
Forum: ActionScript 2.0 08-01-2007, 04:18 AM
Replies: 2
Views: 1,533
Posted By McBeaver
If I'm understanding this correctly, maybe first...

If I'm understanding this correctly, maybe first you create an empty clip holder then children movieClips to hold each element:

var circle_button = _root.createEmptyMovieClip("circle1",...
Forum: Components 08-01-2007, 03:59 AM
Replies: 3
Views: 1,376
Posted By McBeaver
I see you are setting the depth to i on var...

I see you are setting the depth to i on
var curr_menu = scrollPane.content.createEmptyMovieClip("whatever" , i);
but i has no value yet.
you can use scrollPane.content.getNextHighestDepth();
...
Forum: ActionScript 2.0 07-31-2007, 04:14 PM
Replies: 1
Views: 665
Posted By McBeaver
I forgot to mention that all the node data is...

I forgot to mention that all the node data is pulled in dynamically, so I can't hardcode any of these actions.

Maybe I'm approaching this all wrong, I'm unsure. Anyone got an idea?
Forum: ActionScript 2.0 07-31-2007, 06:42 AM
Replies: 1
Views: 665
Posted By McBeaver
Question trouble with event propagation (hierarchy?) in AS2.0

I'm attempting to rewrite a program thats I wrote when I first learned AS. Its basically a set of nodes, with 1 parent node at the head, and it has a # of children at that first level. Clicking on a...
Forum: ActionScript 2.0 07-09-2007, 02:13 PM
Replies: 2
Views: 636
Posted By McBeaver
What I'm looking for is to actually update the...

What I'm looking for is to actually update the library item, not create an instance. I am modifying someone else's code, and the easiest approach for me would be to change the library item...
Forum: ActionScript 2.0 07-05-2007, 06:56 PM
Replies: 2
Views: 636
Posted By McBeaver
Question Help with dynamically loading jpgs into Library movieclips

I'm working on a project where someone has already sued a few library items throughout the movie. I need to make the images in these movieclips dynamic now. Does anyone know how to load these library...
Forum: JSFL - Extending Flash 06-22-2007, 02:32 PM
Replies: 6
Views: 10,850
Posted By McBeaver
Yeah I tried that. It mostly works, but it seems...

Yeah I tried that. It mostly works, but it seems like the mac font is still present on some newline areas and parts of textboxes I don't even see. I have to select all text manually and change its...
Forum: JSFL - Extending Flash 06-21-2007, 05:57 PM
Replies: 6
Views: 10,850
Posted By McBeaver
Question changing all set fonts in an fla

I have to edit someone else's fla files. There are a bunch of them, mostly timeline animations, not much actionscript. They were done on a mac, so I need to change all the font links to new PC chosen...
Forum: ActionScript 2.0 06-20-2007, 05:37 AM
Replies: 1
Views: 479
Posted By McBeaver
Anyone have any ideas on this? I'm ready to go...

Anyone have any ideas on this? I'm ready to go through all the files one by one, but I'm really just curious at this point, something that may come in helpful for future projects.
Forum: ActionScript 2.0 06-19-2007, 12:57 AM
Replies: 1
Views: 479
Posted By McBeaver
Red face Help changing all set fonts in a fla, using JSBL

I have to edit someone else's fla files. There are a bunch of them, mostly timeline animations, not much actionscript. They were done on a mac, so I need to change all the font links to new PC chosen...
Forum: ActionScript 2.0 06-01-2007, 02:06 PM
Replies: 0
Views: 603
Posted By McBeaver
XMLObject, XMLConnector, and XML2Object

Personally, I've only used XMLObject. Yesterday I was given someone else's project to modify who used WebConnectors. That got me playing around with data components and searching this site for...
Forum: ActionScript 2.0 06-01-2007, 01:38 PM
Replies: 13
Views: 1,419
Posted By McBeaver
no problem. Post is or private msg me.

no problem. Post is or private msg me.
Forum: ActionScript 2.0 05-31-2007, 02:31 PM
Replies: 13
Views: 1,419
Posted By McBeaver
So in your code, you call: makeAThumb(i); ...

So in your code, you call:
makeAThumb(i);
mcScroller["mcThumb"+nPhoto].onRelease();

I don't see how you can use nPhoto to call onRelease if its first defined in onRelease. I don't think you...
Forum: ActionScript 2.0 05-30-2007, 03:52 PM
Replies: 2
Views: 938
Posted By McBeaver
When you say its picking up html code, it it...

When you say its picking up html code, it it interpreting the html tags, or is it actually writing them into the textbox. So:

<b>Put in my Textbox<b>

Looks like this:
Put in my Textbox
or...
Forum: ActionScript 2.0 05-30-2007, 03:36 PM
Replies: 13
Views: 1,419
Posted By McBeaver
So you created object initThumb and those 4...

So you created object initThumb and those 4 variables within it (photo, titre, etc). In makeAThumb you are setting these variables to the textfields... can I see the initThumb() code and the xml...
Forum: ActionScript 2.0 05-30-2007, 03:33 PM
Replies: 5
Views: 1,265
Posted By McBeaver
I'm trying to picture what your questions mean :)...

I'm trying to picture what your questions mean :) So how many nav buttons will you have total? Are the links each button is going to (ex: contact.html, portfolio.html) being pulled in externally, or...
Forum: ActionScript 2.0 05-29-2007, 04:55 PM
Replies: 13
Views: 1,419
Posted By McBeaver
You should post your XML file, and the...

You should post your XML file, and the makeAThumb() function. Maybe on regular bandwidth, its just too quick for you to see undefined initially.
Forum: ActionScript 2.0 05-29-2007, 04:45 PM
Replies: 5
Views: 1,265
Posted By McBeaver
When loading your swfObject, or embedding the...

When loading your swfObject, or embedding the flash, you can maybe pass in a variable or flashVar using javascript to grab the current page name, and if it matches the a href link, dont go anywhere. ...
Forum: ActionScript 2.0 05-23-2007, 05:02 PM
Replies: 0
Views: 649
Posted By McBeaver
clear SharedObject on window close

In Flash 8, I read that when you close your browser the flashObject will do an auto flush(), but is there anyway to make it clear()? Thanks.
Showing results 1 to 50 of 80

 
Forum Jump

All times are GMT. The time now is 01:45 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.