all groups > flash actionscript > july 2005 > threads for thursday july 28
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
HTML text formatting
Posted by leanne827 at 7/28/2005 9:19:00 PM
hi all
i am having trouble getting the text and image to scroll in a text box using
the scrollbar component.
ok i was able to get the html text to show up in the text box using the action
script box.
the problem is i can't get the image to show up in the text Box
and now the text box... more >>
Masking A Duplicated Movie on the Fly
Posted by Burning By Design at 7/28/2005 9:18:26 PM
I am duplicating a movie clip with a bubble floating up. However, I want to
mask the duplicated movie so that it appears to be inside of my object. I have
created a movieclip named myMasking and use the MovieClip.setMask(myMasking).
However, it does not seem to be working.
Here is my co... more >>
Using Javascript to write to an external file - Firefox compatibility?
Posted by larsiusprime at 7/28/2005 9:13:56 PM
Hey everybody,
I have a question for you. You've probably read about a thousand "how do I
save files to the hard drive in flash?" questions by now. We all know the short
answer: You can't.
HOWEVER, I know you can save to an external file using a javascript FSCommand.
In fact, I've don... more >>
Text field
Posted by zensoldier at 7/28/2005 8:55:20 PM
the MC linked as btnclip has nothing on it but a text field named txtlabel
Why does this not work?
_root.attachMovie("btnclip", "top1", 1);
_root.top1.txtlabel.text = "This is some text";... more >>
Close /quit a Flash program
Posted by rpoclt at 7/28/2005 8:46:52 PM
Hi,
What action scripting would I need to code a button that would close/quit a flash program?... more >>
referencing a function on the _root level from a component
Posted by flashWannaBe at 7/28/2005 8:38:58 PM
Hello,
I currently have a flash component I'm working on, but I've ran into a bit of
a snag. I'm needing to make a call to a function on the root level from the
comoponent. So if I have the function written out in the timeline code, how do
I call it from the component?
I've tried th... more >>
text field value
Posted by zensoldier at 7/28/2005 7:44:50 PM
OK, I'm a coder but new to actionscript and this is driving me crazy.
I have a movieclip that has a dynamic textfield. Its called txtlabel
I attach the clip and try to set the text for the dynamic field and it won't
work.
//Code//
var newName = "top" + i;
mainLayer = mainLayer +... more >>
bob@bobholberg.net
Posted by EvilJordan at 7/28/2005 7:30:14 PM
www.nthology.com/clients/barneys
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Movieclip Button Issue
Posted by plecoguy at 7/28/2005 6:41:34 PM
Hello,
I am sure this not as hard as I am making it out to be, but I have hit a wall.
I have made a movieclip button with 3 states each within a frame: UP (frame
1), OVER (frame 2), SELECTED (frame 3)
The code I am using on the button movieclip from the main timeline is:
moviecli... more >>
Pleaseeeeee Help Sooooon
Posted by RinkuFromIndia at 7/28/2005 6:40:07 PM
hello friends kindly help me, i'm creating a Flash Application and i want to
know what's the trick behind www.netdisaster.com this website, i repeat , i've
bannged my head on all desks but never came to know what's the trick behind
this website.... how is he doing this ????
www.netdisaster... more >>
images with text and scrollbar
Posted by leanne827 at 7/28/2005 6:37:06 PM
hello all
thanks in advance for reading this.
i am using text with a scrollbar component and would like to add images next
to the text and have them scroll with the text when you use the scrollbar. can
someone please tell me how i can do this.
thanks
leanne
... more >>
load external swf with resize?
Posted by plexus007 at 7/28/2005 6:05:35 PM
I have external .swfs to load into my main movie page. you click on a thumbnail
to call it in. can I use ActionScript to determine specifically where and what
dimensions it will play on the main movie stage? the problem is I have certain
movies that would take too much time and effort to rebui... more >>
MC color from a class
Posted by Charles Parcell at 7/28/2005 5:43:13 PM
ok, I think my brain is fried OR AS is playing games with me.
1) I want to set the color of a MC
2) I want to do this from a class for a component
In its most simple form I want to have a component property that sets
the background color of the component. The background is a simple
moviec... more >>
Changing a Click Menu to RollOver...
Posted by Softrider at 7/28/2005 5:38:57 PM
I'm making a drop down menu... I downloaded a free menu componate and I have
everything perfect except the functionallity. The menu needs to be clicked to
drop down and I'm trying to change that to a rollOver drop down, But the
componate I downloaded has ActionScript lables in Italian... Here... more >>
Event Listeners, and Listener Objects
Posted by DHRStudios at 7/28/2005 5:37:14 PM
What I want is to show display all the images in a scrollpane, and when one of
the images is clicked, the full sized image shows in a window component.
I have all my images being displayed in a scrollpane, and they display where
they should. the issue is with the following function:
Loader... more >>
scrollpane redraw!!!
Posted by darkscot at 7/28/2005 5:07:42 PM
ScrollPane.redraw(true);
where would I enter this code. would I enter it into the first AS frame or in
the movieclip contained within the scrollpane component.
and does this code apply globally?
My flash site contains numerous scrollpane components on the root timeline.
Each scroll... more >>
converting from Flash MX to MX 2004
Posted by weblark at 7/28/2005 5:04:35 PM
I am an Action Script novice and a newbie Flash MX 2004 user.
I have just got FLASH 2004, but I got the book "Flash MX 2004 Professional
Application Development" by Jeanette Stallons a week previously. This led me to
try out the examples in Flash MX. I had problems with the examples and gave u... more >>
Response redirect within aspx application...
Posted by Cadillacula at 7/28/2005 4:59:59 PM
Anyone know how to do a response redirect from flash to an aspx page?
Possible at all?
~Brahm... more >>
target timeline on preloaded mc
Posted by SDALW at 7/28/2005 4:52:27 PM
I am preloading the movie TM3 and have a stop action on the first frame. Audio
and movie begin on the second frame. I'll be background loading 29 movies while
previous movies are playing.
Here's the initial script I'll use to preload each movie separately - I'm
preloading in a "preload" an... more >>
Anybody Know?
Posted by TroyK at 7/28/2005 4:21:42 PM
I'm trying to figure out how to import the dataProvider so I can use it in my code without adding a component; can anyone help?
Thanks
Troy... more >>
sounds inside mcs
Posted by SkidOvidiu at 7/28/2005 4:03:16 PM
2 problems.
1. I loaded a mp3 like this:
mp3sound=new Sound();
mp3sound.loadSound("Sounds/sound.mp3",true);
mp3sound.start();
it works , but I tryed to loda like this a wav file , won't work:
wavsound=new Sound();
wavsound.loadSound("Sounds/sound2.wav",true);
wavsound.start();
... more >>
onRelease
Posted by TroyK at 7/28/2005 4:00:29 PM
Howdy! Quick question for you and I hope its a simple answer. On the timeline
I have the following functions
bdy.onRelease = function() {
stopDrag();
};
bdy.onReleaseOutside = function() {
stopDrag();
};
My question; is there any way to combine these functions? Like on t... more >>
wierd disappearing variable
Posted by scottPadgett at 7/28/2005 2:47:06 PM
Hi,
Strange thing happening here. In the code attached to this message there's
this line:
if(this.i < 11)
{
this.initObject._x = this.i * 20;
this._parent.ball_mc.duplicateMovieClip("ball"+this.i+"_mc",
this.getNextHighestDepth(), this.initObject);
trace('i incremented ... more >>
scroller content load from txt file
Posted by guido626 at 7/28/2005 1:59:03 PM
Probably simple for Intermediate level flash guru.
I have a fully functioning scroller which has some nice inertia effects I
would like to keep. If I keep the text field as static, the scrollers work
great, always adjusting to the amount of text that's loaded.
If I try to make it "dy... more >>
flip _mc
Posted by jamilanait at 7/28/2005 1:43:45 PM
Is there anyway via action script, that you can flip a movie by key.is down...key right he is walking in the right direction but key left he will be walking backwards...
ta
... more >>
actionScript video control
Posted by cbradshaw at 7/28/2005 1:29:53 PM
I'm looking to create video controls via actionScript to control embedded
video. they would be the same basic controls that are included in the
MediaPlayback components. play/pause are simple but I was wondering about ff
and rewind buttons and even a playhead so that the user can scrub through... more >>
mouse control
Posted by cbradshaw at 7/28/2005 1:03:12 PM
I'm looking for some code that will restrict mouse movement on the stage. e.g.-
I don't want the cursor to be able to go below a certain _y value. I'm not sure
if this is even possible but any help or sugestions would be greatly
appreciated.
... more >>
Text field Properties
Posted by enochemu at 7/28/2005 11:30:55 AM
Hi I am creating a form in Flash MX and want to change the properties of text
fields, ie border and background colors. I have sourced info on changing
components but not for Dynamic and Static text fields.
Thanks Emu!
... more >>
Data Type correct?
Posted by Richard Ragon at 7/28/2005 11:22:15 AM
Greetings.
Ive got a XML function that I'm working on.. I'm trying to exact a node
from it, to parse the data. And I'm also tying to do it with standards
(for me).
var theLession = myXML.childNodes[i];
Is what I have right now.
Which is correct?
1) var theLession:Array = myXML.... more >>
Buttons still activated
Posted by jimmy_milk at 7/28/2005 11:21:30 AM
I have a normal flash page but as the pages have a lot of stuff going on, I
have buttons that load up the other pages so it takes less time for the user to
view the pages. The problem that I have is when it loads up a new swf page all
the buttons on the old page still work :S and I don't know ... more >>
mx.managers.PopUpManager.createPopUp
Posted by noya at 7/28/2005 10:46:13 AM
Hi,
i made a window popup with this code but i'd like to adapt a tween effect on
this. like moveTo(0,200)
How can i do ?
My Code:
//------------------------------------------------------------------------------
----------------------------
ouvrirFenetre = function () {
// trace ("... more >>
need help
Posted by batgirl_Sa at 7/28/2005 9:59:30 AM
OK here is the deal.... i am loading a swf dynamically at run time....
now what i want to do is an attachMovie using one of the symbols in the movie
that i loaded at run time.... do i have access to the symbols in the library
of the loaded movie ? can i do that or do all symbols have to be ... more >>
PDF Problems
Posted by Zeeshanz at 7/28/2005 8:00:44 AM
I made a presentation and in navigation i have two link to open pdf file but
when i run the presentation, the firlst link is corectly open in Internet
Explorer but when i shift back to presentation and click the next link so it's
not appearing as top, its appearing on the back in internet expl... more >>
Problem for customizing TextArea Component
Posted by MacMartus at 7/28/2005 7:51:26 AM
Hello,
The problem is about _global.styles.TextArea.setStyle("color", ...) and
_global.styles.TextArea.setStyle("fontFamily", ...) which doesn't seem to work.
See the comments in the attached code for explanations about what works and
what doesn't.
Thanks in advance for your answers.... more >>
Text Field not blinking in html page
Posted by Fouyaka at 7/28/2005 6:32:29 AM
Hi all,
I have a flash form (movie) with text fields. Within flash the text field
blinks when the focus is on it. But once i put the flash movie in a html page,
it won't blink when it's on focus. Does anyone know why and has a solution ??
Cheers
... more >>
Coordinates
Posted by Dostoevsky at 7/28/2005 6:23:55 AM
How does one control the x and y coordinates in a shockwave file through
changing the coordinates in a text file placed in the same folder as the swf?
What would be the script required to be added to the movie clips? Please help.
... more >>
tellTarget( ) error
Posted by sidhu_onfire at 7/28/2005 6:04:10 AM
I have downloaded a sample videopoker game and game is working fine...only this
error is coming...I think it is b'coz of tellTarget() method .....can anybody
help how 2 solve this...
Target not found: Target="pair" Base="_level0"
Target not found: Target="2p" Base="_level0"
Target not fo... more >>
textinput component
Posted by German Hernandez at 7/28/2005 1:04:42 AM
hi
I'm having the wierdest problem. I'm doing a form in flash mx 2004, but the
textinut component is not working propertly. Every time I instance thsi
component it doesn't work.. if i try to write text in it nothng happens. the
only thing i have is a data grid on stage. The data grid is fille... more >>
preload movie clip or jpeg
Posted by pinnicleoffruit at 7/28/2005 12:50:24 AM
can anyone give me some source or show something to explain how you go about
doing this? I have searched all over but I cant find a simple image thumbnail
type thing. I have a series of thumbnails and I want to just click one, show a
quick load bar, and then the image. Help is appreciated
... more >>
create multiple movie clips with the same name and have code for it all of them...
Posted by legolas2war at 7/28/2005 12:00:00 AM
Ok, this is gonna be a little complicated to say, so here I go. I will give you
an example... I make a game where I am a spaceship, and I have to kill all of
the enemies that come towards me. I have this script that creates a simple
enemy in a random spot:
enemy = new Object();
enemy.cli... more >>
Using setInterval with variable time
Posted by coconuthead at 7/28/2005 12:00:00 AM
I am trying to pass setInterval a variable time - see code below based on how
much text there is (to give someone an appropriate time to read it). When i
substitute a number for interval it works. I have spent hours on this looking
at other code, and none of it seems to work.
I tried using... more >>
Get Set methods
Posted by myIP at 7/28/2005 12:00:00 AM
I am trying to have a variable that is ?global? that is set with button and
retrieved with another button. It?s for a Nav bar that I am creating and I
want Flash to know what is currently on the stage for it can do a specific
action when different button is released. I am trying to do this w... more >>
loading movies into a specific frame
Posted by centrifugal at 7/28/2005 12:00:00 AM
this is probably going to be no, however is it possible to load a movie into a
specific frame of an instance?
so the main movie is one frame and this contains an empty movie with 10 empty
frame can i load a 10 different movies onto the 10 frames(each frame will then
have a movie loaded into ... more >>
DataGrid freezing
Posted by Pieson at 7/28/2005 12:00:00 AM
I call inst.columnNames(...) and application freezes for some time.
There are about 8 columns and 20 rows in DataGrid, so 7 second freezing before repainting seems unexpected.... more >>
Can a movie clip become a link?
Posted by jennmc1 at 7/28/2005 12:00:00 AM
Hello,
I am working on a flash website template. Many of the buttons on the template
are movie clips. For instance it looks like a button and says "more info" and
when you mouse over it, it will change color and move. When I put a button
link over the area, I loose the movement. How can ... more >>
|