all groups > flash actionscript > january 2005 > threads for tuesday january 25
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
Fade Between Frames
Posted by GladLock at 1/25/2005 11:49:56 PM
I'm creating a slide show and I'm wondering how I would create a fade in effect so that everytime I go to another frame it fades into it.... more >>
Actionscript + XML
Posted by netliance at 1/25/2005 11:42:15 PM
Here's my scenario...
I have a flash PhotoGallery that loads pictures automatically. The images are
being pulled from an XML file. I'd like to include the links that images go to
in the <link>link to ad page</link> tag and then I need to have my flash movie
make the image a clickable link... more >>
one .swf opens a specific frame in another .swf
Posted by Doublevision at 1/25/2005 11:22:12 PM
On level 0 is pr.swf and on level 2 is sitemap.swf (feels like a 'pop-up' due
to its solid white background)
In sitemap.swf is object A that on 'release' should open pr.swf at frame 21
which has label 'news'
In sitemap.swf is object B that on 'release' should open pr.swf at frame 46
which ... more >>
Actionscript doesn't work in browser....
Posted by lacmetro at 1/25/2005 11:19:59 PM
I'm trying to develop a simple image gallery type thing that loads JPEGs from a
folder on the webserver. The idea is to have simple navigation and a border bar
on the bottom of the screen to house the buttons, then load the pictures into a
movie clip as the buttons are being pressed. When open... more >>
populating array from data in ext. swf
Posted by MichaelS at 1/25/2005 11:07:53 PM
I have a main.swf that loads an external setup.swf. The setup.swf, among other
things, loads some variables to the main.swf. Included with some individual
vars is an array. Is there a way to test in main.swf that it has actually
received all of the values for the array? main.swf has an empty... more >>
Loaded MC reference Problem
Posted by bknowlden01 at 1/25/2005 10:42:46 PM
I have a button that when pressed creates an empty movieclip and loads
something into it when pressed. I want to center this content on the stage
dynamically (because all things to be loaded are different in size) upon load.
I am not having a problem referencing the stage (Stage.width) but am ... more >>
"Persistent Data"
Posted by ufitzi at 1/25/2005 10:24:53 PM
Hello and thanks in advance!!
Here's the sit'ation..
- I have a MC that is placed on the stage via _root.attachMovie()
- It is linked to a class, 'Notebook'
- Notebook has methods to get/set database entries
-Once the user is finished, they close the Notebook, and I use
'removeMovieCli... more >>
Text not showing up on buttons
Posted by Shutchinson at 1/25/2005 10:04:59 PM
I am trying to create dynamic buttons and here's the actionscript: onClipEvent
(initialize) { label = 'Next'; clickHandler = 'nextframe'; } on
(release) { function nextframe(component) {
trace(component._name); } // End of the function
nextbtn.setClickHandler(... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
problem with variable._visable
Posted by leroyh at 1/25/2005 10:02:46 PM
hi, I'm creating a new variable by adding two together, which actually creates
a name of a movieclip which is on the stage. if I trace this it appears fine in
the output panel. But if I then use this variable with ._visable to make the
movieclip dissapear it doesn't work. My code is: myhigh... more >>
Dynamic Event function names
Posted by zeroami at 1/25/2005 9:10:58 PM
Hello All, I am trying to set an event ( e.g. onRoller ) and bind it to a
dynamic variable name ( _level0['button' + i].onRo..). This does not seem to
work.. Does anyone know how I could get something like this to work? Thank you
all for your help.
//code to dynamically create a movie... more >>
mouse hide, but register onRollOver
Posted by ski_geek at 1/25/2005 9:02:16 PM
I am working in a project where I am dragging one mc clip (mc1) over another
(mc2). When the drag starts for mc1, I have hidden the mouse cursor, but made
the mc1 visible (_alpha = 0). What I am having difficulty with is having mc2
become visible (_alpha = 100) when I do a rollover. I put th... more >>
Masks and onrelease
Posted by lggarrison at 1/25/2005 9:02:14 PM
I'm having this weird problem with Flash MX.
I have two movie clips that are just rectangles of color. One movie clip is
named box1 and the other is named box2.
I have the following actionscript on the timeline:
box1.onRelease = function( ) {
trace('box1');
}
box2.onRelease = f... more >>
onSoundComplete problem with mp3
Posted by Thundercat04 at 1/25/2005 9:00:56 PM
Hello. I'm writing an flash mp3 player, loading an mp3 playlist via xml & want
to be able to continue to the next song when 1 song finishes. Will the
onSoundComplete function work for this purpose? Thus far I've had absolutely
no success & it's made me wonder if it works with mp3s in the firs... more >>
Multiple MC in a container movie
Posted by Rudy Tardy at 1/25/2005 8:54:07 PM
I am creating an advertisment space on a web page. The banner at the top is
going to need to run my swf as well as those that are sent to us from paying
cust. To make it fare I have created a container movie that has a script that
when the page loads, it randomly chooses a .swf from a set I... more >>
xml attributes
Posted by Germán Hernández at 1/25/2005 8:41:19 PM
Hi
I'm looking for a way to parse and xml and get a list of all thw attributes
in a node, but I haven't been able to. Is it possible or do I have to use
the XML connector
Thanks
German Hernandez
... more >>
radiobutton
Posted by rszajkow at 1/25/2005 8:39:06 PM
Can someone tell me what the simplest way to generate a variable from the
radiobutton component is? I have a php script which emails all the vars in my
movie to me. I have 3 radiobuttons and I wnat to set a variable called time
to the label of whichever radiobutton the user selects.
... more >>
loader component
Posted by grover970 at 1/25/2005 8:32:03 PM
how can I dynamically set the contentPath of the loader component?
If I hard code the path of the image, it works fine. But I need to duplicate and load multiple image url paths from a XML file... more >>
Help, being desesperated over here :-)
Posted by Pluda at 1/25/2005 8:11:24 PM
Hello,
I realy don't know what is hapenning here...
I make a for in loop, it works good,
whith the [k] values I get I create textfields, this works good as well,
but assigning text to the textfields always resultsin a empty field (the last
one)
Help! :-)
the code:
... more >>
Find/Replace w/Regular Expressions crashes every time
Posted by SSmith NO[at]SPAM Scantron dot com at 1/25/2005 7:59:34 PM
I haven't been able to find other complaints about this while searching around
the web, so I'm wondering if it may be something specific to me?
I've inherited a bunch of code, and I'm trying to clean it up. Owing to the
fragmented nature of Flash's actionscript (a little over here, a little ... more >>
Stage.Align
Posted by phinski at 1/25/2005 7:19:06 PM
Hi,
I tried to make a totally flash environment in the browser and have the
MovieClip align CENTER.
I use "Stage.align = "T", but it keeps align RIGHT. I read the "Help" and it
says:
"Any value not listed here centers the SWF file in Flash player or browser
area, which is the defaul... more >>
rollover sound?
Posted by garroyo at 1/25/2005 7:05:51 PM
I want my nav buttons to make a click sound when you roll over them. So this
is what I have done. on frame 1 of nav.fla: var linkSound:Sound = new Sound();
linkSound.attachSound('click_id'); on each nav button: on (rollOver) {
_root.linkSound.start(); } and in the library I have a click.... more >>
Flash and The "Browser Back Button"
Posted by amdorsey at 1/25/2005 7:04:46 PM
Can anyone tell me how to achieve this in flash mx.
e.g. http://designarchives.aiga.org/
Notice if you go to a new section within the 100% flash movie you can still use the browsers back button.... more >>
Add an email script to a button
Posted by Sebhughes at 1/25/2005 7:00:17 PM
i have a button and i added this code to it:
send_btn.onRelease = function() {
getURL("mailto:info@sebhughes.com");
}
and it does not work... more >>
Custom Cursor Code need help editing
Posted by Sebhughes at 1/25/2005 6:09:19 PM
i ahve this code for my cursor
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function() {
this.gotoAndPlay("Swing");
};
}
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
but when i right click the white arrow appears again ho... more >>
scroll easing
Posted by g5604 at 1/25/2005 5:53:59 PM
Hi.
how can i make my easing script scroll to a set amount ie + 50px at the moment
i just scrolls to the set postions.
// on the mc to be scrolled
onClipEvent (enterFrame)
{
this._y +=(_root.news.news_txt.ypos-this._y)/7
}
// button
on (press) {
_root.n... more >>
Re: Delete Function?
Posted by TinMonkey at 1/25/2005 5:45:15 PM
I knew there had to be a way..thanks, that helps me out a lot.... more >>
progress bar component not working
Posted by alejomzco at 1/25/2005 5:43:28 PM
hello everyone!
I have a progress bar component attached to a loader component where I am
loading external swfs.
When I test my movie locally the progess bar works perfectly, but when I test
it on the server, the external file downloads but the progress bar doesn't move.
what am I doi... more >>
NumericStepper problem
Posted by bluesubs at 1/25/2005 5:37:34 PM
I am trying to set a value to a numericStepper. Something is just not right.
Never used NumericStepper before, so if someone can help please.
Just 3 steps:
1) Drage a NumericStepper from UI Components panel. name it "aaa".
Maximum = "999"
Value = "50"
2) Creat a Dynamic Text filed,... more >>
Focus loose in input text box
Posted by RusD at 1/25/2005 5:33:55 PM
Hi all, This is a question I can't solve for a long time. I have input text
box and some buttons/movies to change text properties. But as soon as one
pressed any button, text focus is lost and user must click on text area again
to continue typing. If I use Selection.setFocus , text appears s... more >>
Actionscript code in a linked .txt
Posted by captainbowling at 1/25/2005 5:27:06 PM
I have to create a menu with a long list of items. My idea was to create a
textarea and include the menu items as simple underlined text (such as a web
page, but in flash). I know I can include a text as a variable in a textarea,
and I also know I can place a href in that text if 'render text... more >>
Re: change mc registration point
Posted by abeall at 1/25/2005 5:21:07 PM
True. I really have to wonder why you can choose orientation of reg point when
converting to symbol, but you lose this functionality afterwards? At any rate,
I believe moving the contents(with Onion Skin if need be) or re-converting into
a new MC, qualifies as 'easy' - I do it all the time. N... more >>
Embeded fonts for dynamic text field
Posted by backpages at 1/25/2005 4:35:44 PM
I'm using CSS to format text in one field. The CSS uses two different font
faces. I have added the fonts as font symbols to the Library and checked the
'Export For ActionScript' box in Linkage. I know the fonts are being included
in the SWF because the file size is 4kb without them and 52kb wi... more >>
Preload external swf while another plays
Posted by g00seman at 1/25/2005 3:15:30 PM
What's the best way of having one external swf preloaded while another plays?
If I load clip_n+1 to a temporary holding instance (hidden at this point) how
to I copy this over to the main insttance? (assuming this is the best way of
doing this) Thanks!
... more >>
Help with load_images.fla
Posted by Sensual Manure at 1/25/2005 2:35:09 PM
Hi, I'm using the load_images.fla movie in the Flash MX samples library. It's
perfect for the simple slideshow that I'm doing. But is there a way to get the
images to start over at the beginning when you get to the end of the slide show?
Just using that exact movie in the samples library, ... more >>
LoadVars Problem - random problem possibly to do with user security settings
Posted by beeeej at 1/25/2005 2:29:26 PM
I have set up a website that uses flash and PHP to log user info. When I user
accesses the site they login (html page + php) once the login completes they
are directed to a html page to launch the flash movie. When the flash movie is
launched, flash uses LoadVars to call PHP script for user in... more >>
replaceSel("");
Posted by Mike7222 at 1/25/2005 2:28:43 PM
Hi,
Got a problem that I am having alot of trouble with.
I have a text field where the user has to input the text. They need to input
1 single character. Actionscript checks the inputted character. If it matches
the correct answer, it moves on to the next textfield in the movie. If the... more >>
inputting text that is not case sensitive
Posted by mark bower at 1/25/2005 2:17:32 PM
Hi, Using Flash 5, I have designed a 'hangman style' game where the user has
to work out the characters in a string by typing each letter in turn then
submitting it. The character they type is then matched with each string
character using .charAt(n) in a for-next loop. My problem is that I wa... more >>
Populating A Combo Box
Posted by sirtcarlos at 1/25/2005 2:04:18 PM
I have a combo box that is dependant on another combo box. when the user
selects a month from the first combo box, i need the second box to list
specific dates which the user will then select from. i wanted to load these
dates from seperate text files depending which month was selected, but ca... more >>
xml mp3 player with streaming
Posted by Lex Luthor at 1/25/2005 1:49:45 PM
i would like to do a xml playlist for mp3 and streaming with media
component.. where can i find example and tutorial? please help
... more >>
Function.apply & loadMovie
Posted by BadDude at 1/25/2005 1:37:27 PM
Hi. What's wrong with this? function myCommand(cmd_obj){
cmd_obj.command.apply(this, cmd_obj.param) } myCommand({command:trace,
param:new Array('my message')}) myCommand({command:loadMovie, param:new
Array('Untitled-2.swf', _root.target_mc)}) trace: my message Target not
found: Target=... more >>
best flash cms?
Posted by Lex Luthor at 1/25/2005 1:13:55 PM
what is the best cms in flash?
... more >>
Serious problems, plz help
Posted by JoeMok at 1/25/2005 1:04:08 PM
The setTextFormat not work, if i trace the FontList of the textfield, it tells
me "undefined"! And i see the look is not right also(size not ok)
why the script not wok??
stop();
var box_fmt=new TextFormat("Verdana",20);
box_fmt.indent=3;
for (i=0;i<size._x;i++) {
for (j=0;j<size._y;... more >>
best xml menu?
Posted by Lex Luthor at 1/25/2005 12:56:06 PM
best xml menu?
... more >>
animate text field letter by letter?
Posted by marzianeri at 1/25/2005 12:49:47 PM
Hi, need help with AS code someone passed me some time ago (see Flash general
Discussion Forum - Topic Title "animate text field letter by letter?" -
Created On 01/10/2005 11:08:17 AM )
Here's the code:
// copy paste to frame in flash and preview
function create(str) {
for (var i ... more >>
Right mouse button
Posted by james at 1/25/2005 12:41:37 PM
Hi, I've been searching through the archives in google to see if it's
possible to get flash to ackowledge a right mouse click properly. Found a
fair amount of info on it however none of it appears to completely work.
I can register a right click with flash, however I can't completely stop the... more >>
Buttons not working on second frame
Posted by bexlhoward1 at 1/25/2005 12:20:18 PM
Hi, I am controlling my buttons from frame 1 in the timeline. In the first
frame of my movie I have 5 buttons names 'showme0-4'. These buttons all work
fine but on the second frame I have five more buttons named showme5 - 9 which
do not work. They will only work if I place the action actually ... more >>
Key Press eg:K
Posted by Sebhughes at 1/25/2005 12:09:17 PM
how do i do it so if i press a key like "D" it goes to frame X... more >>
TextField.StyleSheet 'undefined'
Posted by dubya at 1/25/2005 11:35:37 AM
hey everybody! i've been looking at
http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/
wwhelp.htm?context=Flash_MX_2004&file=00001813.html and some other similar
examples on the forum. just really simple ways of styling text with external
css. duplicating ... more >>
Problem with the LoadMovie ()
Posted by ALL DESIGNS at 1/25/2005 9:57:39 AM
:confused;
i have a problem with loadmovie(), in my pc it's work but when i put my site
in the web don't work. my swf file in like this folder1/folder2/file.swf and
script is loadmovie("folder1/folder2/file.swf ","box") where "box" is the scene
where i want to load the swf file, i dont under... more >>
onClipEvent(load) Help (mac)
Posted by needin understandn at 1/25/2005 8:00:25 AM
I am trying to load a jpeg image into a target movie clip, and I am having no
results. I have tried to use the
onClipEvent(load)
onClipEvent(enterframe)
and even
_root.mymovieclip_mc.onEnterFrame()
I am not sure where to place the code either.
Do I place the code on the frame or... more >>
drag an object between another few objects
Posted by NutsyNalinda at 1/25/2005 7:52:44 AM
Hi,
Going to make a puzzle game (game like dragging 1,2,3,...15 pieces in a box)
I need to drag an object between another few objects
Think that their are a four object in a box (A_mc,B_mc,C_mc & D_mc)
I want drag A_mc between B_mc,C_mc & D_mc
and shouldn't go through them
And should... more >>
get depth
Posted by Dier02 at 1/25/2005 7:07:13 AM
I want to know what depth an empty MC occupies. The Mc instance is named s1. How would I do this and have it show up in the output window?
dier02@optusnet.com.au... more >>
preload problem
Posted by mourning2night at 1/25/2005 7:02:55 AM
I have a problem with my preloader. I have a preloader consisting of only a
border and a load bar but it still doesn't even show up until the movie is
almost 80% loaded. I didn't make the preload until my movie was almost
complete because I didn't know what kind of preloader I wanted, so is ... more >>
Movie Buttons
Posted by BPJuneau at 1/25/2005 6:13:07 AM
I made several of my buttons movies and I have them all lined up on one frame.
I am trying to get the movies to send you to another scene once they have been
clicked. Here is what I typed at
www.flashkit.comhttp://www.flashkit.com/board/showthread.php?s=94d7e6985b1cd2bd7
d1b87b3ca256f9d&posti... more >>
delay( ) function???
Posted by Amcasperforu at 1/25/2005 6:11:15 AM
Hi Flash Developers,
Do you have any idea on how I can create a delay in Flash? I want it to be a
function so that, I can call it anytime I want to implement a delay, like
delaying the movement of an object moving from left to right - for instance.
Hope you can also add functionality where... more >>
Weird load movie problem
Posted by asiabackpacker at 1/25/2005 6:08:33 AM
I am having a really weird problem with load movie, that has actually bugged me
for a while. If anyone can help me, I will be eternally grateful.
Basically, I create a script to generate a random number between 1 and 5. I
then use that number to send my clip to one of five frames that each c... more >>
Sliding Images
Posted by zvonfelten at 1/25/2005 5:56:46 AM
Hello,
I've turned to the forum gods to help me out. I really like this sliding image
technique. Example:
http://www.firstbornmultimedia.com/websites/052_ysl_coming_soon/launch01.htm
Does anyone know how to go about creating a navigation style like this or know
where I might be able to... more >>
I want to send info from a input text field to a email.
Posted by cdm23 at 1/25/2005 5:10:10 AM
how do I do it? I have everythig made i just don't know how to tell it where to go.
Chris
chris@crashfamily.com... more >>
v1 ComboBox Comonent help
Posted by Tofu23 at 1/25/2005 4:32:21 AM
I am unable to use the v2 components in my particular project, so I am stuck
with the old v1 comboBox. Unfortunatly, I can seem to find any help files or
documentation. I just need a simple callback to work. Something like this:
comboBox.clickHandler = function() {
trace(this.selectedItem... more >>
loop making me loopy
Posted by scottPadgett at 1/25/2005 4:01:50 AM
Can someone tell me why if this placed in frame 1 of root will dupe the clip:
i = 2; //for ( i=2; i < 10; i++) // {
_root.butt1_mc.duplicateMovieClip('butt'+i+'_mc',1);
_root['butt'+(i)+'_mc']._x = _root['butt'+(i-1)+'_mc']._x + 40; // } why
won't this work to dupe it 9 times?? :: fo... more >>
Finding the Stage Width
Posted by bknowlden01 at 1/25/2005 3:07:46 AM
Sorry for such a simple post, I did this just the other day but can't remember
for the life of me. What is the Actionscript reference for the stage? I'm
creating a script to center loaded content which are all different size, at the
bottom you will find a sample script. This is commonly used ... more >>
Finding the Stage Width
Posted by bknowlden01 at 1/25/2005 3:07:39 AM
Sorry for such a simple post, I did this just the other day but can't remember
for the life of me. What is the Actionscript reference for the stage? I'm
creating a script to center loaded content which are all different size, at the
bottom you will find a sample script. This is commonly used ... more >>
Re: bc UNIX calculator
Posted by NSurveyor at 1/25/2005 2:28:53 AM
String.prototype.trimL = function(){
for(var x=0;this.charAt(x)==' ';x++){};
var carray = this.split('')
carray.splice(0,x);
return carray.join('');
}
String.prototype.trimR = function(){
for(var x=this.length-1;this.charAt(x)==' ';x--){};
var y = this.length-1-x;
var carray = this... more >>
Re: change mc registration point
Posted by derobinson at 1/25/2005 2:24:14 AM
Open the Symbol for editing by double-clicking on it from the Library. The
registration point is the cross-hair on the stage. The cross-hair is the 0,0
point of the symbol space, but like the main Flash stage (where 0,0 is the
upper left corner), positive x/y space is down and to the right). ... more >>
Re: bc UNIX calculator
Posted by Amcasperforu at 1/25/2005 1:59:24 AM
Wow that's simple, neat and effective code. thanks Jeckyl.
My problem now is to evaluate the expression, what a headache.
Do you know any function or code for me to Trim all the spaces
(1). " printf("Hello"); "
- first and the last.
(2) "printf ("Jeckyl") ;"
- spaces in bet... more >>
Re: bc UNIX calculator
Posted by Amcasperforu at 1/25/2005 1:24:18 AM
Any idea on how can i trace and replace words in the statement below, width and
height and if found replaces it with 2 and 3 respectively.???
answer = width + 10 * (height - 2)
after the replace process
answer = 2 + 10 * (3 - 2)
Thanks again.
... more >>
back button for multi-level movies
Posted by kovrin at 1/25/2005 12:53:05 AM
Hi all. I have a flash site utilising the loadmovie feature fairly heavily. I
have come across a problem with developing a 'back' button within the
interface. Once the movie features anything above Level 1, the content of those
levels remains on screen whilst the level 1 data correctly returns... more >>
Re: bc UNIX calculator
Posted by NSurveyor at 1/25/2005 12:44:25 AM
Did you want to actually make a program that computes?... more >>
|