all groups > flash actionscript > january 2004 > threads for wednesday january 21
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
Odd _alpha disparities
Posted by Screenweasel at 1/21/2004 10:38:37 PM
I have a pair of buttons, essentially 'pause' and 'play', and they both feature in two separate movies embedded in another mc. I want them (pause and play) to swap differences in their alpha value when the other is clicked. It might be important to remember that these two movies operate on the same ... more >>
Two more AS questions for the experts
Posted by Knight Miniatures at 1/21/2004 9:36:24 PM
Granted I'm still learning AS so my vocabulary with the language isn't yet thorough, but searching through my books has not yielded an answer to these two questions.
1. I'm not seeing any pre-defined functions for checking whether an integer is even or odd. Must I really actually have to do if(p... more >>
Problem with dynamically generated and named functions
Posted by Razorwyre at 1/21/2004 9:15:43 PM
I'm trying to create a dynamically draw list of names that have rollovers and onmousedowns (like a datagrid list type thing), but done in my style (basically a bunch of movies with textfields inside of them that are both the size of the names to display). I'm trying to also on the fly create the on... more >>
fscommand("showmenu",false)
Posted by Vevmesteren at 1/21/2004 7:59:41 PM
When opening a SWF file from the browser, even though I invoke the fscommand above in the very first keyframe, the right-click menu still shows in it's full length. It works when opening it with the local Flash Player, but the browser player seems to by-pass that one somehow....Any way around that?
... more >>
including AS file throws an error...
Posted by OHSAH at 1/21/2004 7:50:20 PM
Hi All
I created an AS file in the same directory as my movie.
Inside my movie, I do this:
#include "MyClass"
When I check the sintax of MyClass, no problem; everything is ok.
but when I try to test my movie I get this error:
**Error** C:\Inetpub\wwwroot\flashremoting\samples\f... more >>
how do you get a button to function inside movie clip ?
Posted by RadWall at 1/21/2004 6:56:01 PM
Cant get my button to function inside of a movie clip.
The movieclip works fine, in that my tweens function how i want them to. The problem is that when the arrow rolls over the my button inside of my movie clip it doesnt act like a button.
the button does not have it's own rollover functions.... more >>
Flash to php
Posted by Walking_fishy at 1/21/2004 6:23:03 PM
I have made a flash logon, so that when the button is pressed the user name and password fields are sent to a php file which will validate them......but i dont know what the action code for the buton is
name for user field is userName
name for pass fiels is passwordField
the php code works if i... more >>
Shared object name??
Posted by - = v i p e r = - at 1/21/2004 5:40:24 PM
Is there a way to make flash name the shared object .sol file? I whant it to create a new file instead of overwright the existing one. Like: my_so = SharedObject.getLocal("+1");
i dont know but what I meen is if there is a file named 1 the next .sol file whould be named 2.sol.
I dont know if som... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
the swapDepth problem
Posted by abeall at 1/21/2004 5:17:33 PM
I don't know if this is purposely how Flash has been programmed, or if it's a profound bug, but it seems I'm not the first to encounter this ridiculous problem.
SwapDepth makes your MC instance a new instance.
So I've got 3 buttons, and 3 MCs. Each button tells the corresponding MC to play() E... more >>
rich text formatting from .txt file
Posted by abeall at 1/21/2004 4:22:31 PM
I know this is a total newb question, but I simply cannot get my project to load from a .txt and preserve rich text formatting.
I have my dynamic text box set to render HTML
I am loading the .txt file via loadVariablesNum("text.txt",0)
I have tried all these formats:
<b>hello</b><B>hello</... more >>
line spaces in imported text
Posted by DJAnim8 at 1/21/2004 3:58:00 PM
I'm trying to loadvars into my flash project, but the text I'm trying to load has spaces in it, which doesn't load in right..
for example:
&myText=This is line one
this is line two
this is line three
which doesn't work.
how can I get it to load into a text field with spaces? What is... more >>
Flash gets php vars but php doesn't get flash vars
Posted by neurotick at 1/21/2004 3:56:52 PM
looked everywhere, can't dfind answer. Flash gets the php variables, but php doesn't get flash variables, help.
... more >>
How to create preloader to load multiple movies?
Posted by Elda77 at 1/21/2004 3:42:02 PM
I have a self-running 4 minute presentation that is made up of 9 movies. I just have a script at the end of each movies timeline telling it to load the next one into the next highest level.
If I put a preloader at the beginning of each movie, it will not run seamlessly. Is there a way to create a... more >>
Problem with stopDrag for DuplicateMovieClip
Posted by Crystal Chadwick at 1/21/2004 3:36:48 PM
Hi. This is my first time posting. I will appreciate any help given.
I am currently working on a flash application to help train users for an army field training exercise. The idea is that the flash app can be used to virtually set up their site and later in their training they will set up the... more >>
CENTRE PROJECTOR ON SCREEN (MX)
Posted by ingeous at 1/21/2004 3:21:03 PM
I have looked everywhere for an answer to this one. I have created a projector that load various movies (swf's) on the screen and they work well. I have created and auto-run CD which also works well. But to put the final touches on this CD I would like to get the projector and it's associated sw... more >>
Trouble handling timelines, layers, controls, mc's
Posted by Screenweasel at 1/21/2004 3:17:44 PM
Hello all.
Let's say I have three tiers of movie clips; that is mc3a and mc3b are embedded in mc2 which is embedded in the original clip, mc1.
Now, mc3a and mc3b are on the same layer, each accessible by buttons that reside in mc2.
Let's say that mc3a runs for 300 frames and there is a goTo... more >>
What video formats
Posted by Hanibal at 1/21/2004 2:25:05 PM
What external sources can I load into a Flash movie.
by this I think I mean
I produce 100 clips and want to create a movie with a place holder and pass the variable to load movie x.mpg, x.avi, x.mov, x.wmv
Which of the above (or other I know that .flv is okay but still need processing)
... more >>
calling a flash function from Javascript
Posted by marcelogsouza at 1/21/2004 2:15:25 PM
Hello everybody
I want to call an ActionScript from the Website maybe using fscommand, but I don't know how to do it.
Can anybody help me to solve this?
thanks, best regards,
Marcelo
... more >>
format dynamic text box with html : color & link
Posted by chartrandi at 1/21/2004 2:03:12 PM
Hi!
I have a dynamic textbox with the instance name : q1feedback.
It is set up to accept html and I want to set a hyperlink AND a color in the html tags. I have been able to do both individually, but I need to put them in the same tag and I don't know how to do it.
q1feedback.myTextField.ht... more >>
Actionscript 2.0:Size Problem for Movie
Posted by F.dev at 1/21/2004 1:17:18 PM
Hi:
I think one of the major factor behind the success of MMF is the (good ballancing between rich media and small file sizes). but as I have seen with Actionscript 2.0
there is additional size loading ....so I start feeling that Actionscript 2.0 implementing is suitable for intranet more than ... more >>
Completely Disable Tabbing
Posted by yeye yaya at 1/21/2004 11:59:14 AM
Hello,
My animation is an .exe projector made with Flask Mx
How can I take control of the Tab key and completely disable the tabbing
functionality.
Thanx
... more >>
Looping in streaming
Posted by Alexandre Maldonado at 1/21/2004 11:50:31 AM
How can I use looping for streaming sounds?
My flash movie loads the sound using the action bellow:
music = new Sound();
music.loadSound("sound.mp3", true);
music.start(0,99);
But the sound plays just one time, and I need it play many times.
How can I make the looping?
Thanks for an... more >>
Webpage opening up behind the projector.
Posted by Kevin Carr at 1/21/2004 11:47:30 AM
I'm creating a projector that launches a webpage. It works fine on all
machines except for one, an Windows XP machine. The browser pops up behind
the projector.
This is the code I'm using.
getURL("http://www.COMPANY.COM", "_new");
Is there a way to set the focus of a Flash movie to the ... more >>
Load variables from text then loading image file with the filename...
Posted by Flashys at 1/21/2004 11:09:58 AM
Load variables from text file then loading image file with the filename given in text file
The problem is, that i need flash to load variable from text file, eg: info.txt, with image=gt.jpg in it.
Then I want flash movie to load a gt.jpg into a blank movie.
The point is that after i change file... more >>
user resize movie
Posted by boxhead at 1/21/2004 11:05:13 AM
I have a flash movie in an html page, which is sometimes viewed by people who need to see a larger version.
How can a place a graphic in the bottom corner of the movie that the user can drag and resize it? Do I have to make the whole movie bigger and allow the user to resize the image within thi... more >>
button wont work is native movie clip
Posted by kattie:) at 1/21/2004 11:02:20 AM
hi guys. im a newbie but thats no excuse for this problem. i have movie clip in my main movie that contains button. these button should navigate to frame with the movie clip... ie the button and target frame are in the same timeline.
on(release){
gotoandPlay("two");
}
does not work
neither do... more >>
HOw to jump from movie to scene
Posted by jag2004 at 1/21/2004 9:59:49 AM
Say we have created a movie and placed it in scene 2, when the movie ends I would like it goto Scene 1 and a respective frame in it and then play can anybody help me on this
... more >>
Movie navigation
Posted by Clifford Boobyer at 1/21/2004 9:59:06 AM
Hi,
I would like to use some key down actions to control my movie timing, like
jump forward, jump backward and pause. Is there a way to make a "global"
script that applies to all scenes in a movie that is based in the parent? If
there is a tutorial, please let me know!
Thanks,
Cliff
... more >>
attach 1 movie, then attach 3 movies to it, help?
Posted by kie at 1/21/2004 9:56:58 AM
hi there,
i'm trying to attach 1 movie, then attach 3 movies to it, my oroblem is i can only attach one child movie and not 3, here's the simplified code:
i = 1000;
a_comp_buttons = new Array("COMPANY1", "COMPANY2", "COMPANY3");
function pointMap(s_country, s_city, n_mapx, n_mapy) {
a_c... more >>
text vs xml
Posted by wilson at 1/21/2004 9:51:53 AM
which method is faster Loading text file or Xml file
... more >>
Finding the name of a frame
Posted by Nocky35 at 1/21/2004 9:25:43 AM
HI, I have got a movie clip that has many frames (all named).
I want to find out the code to find the name of that frame when the user clicks on a button.
I've been trying to use _currentFrame, but keep getting the numbers back and not the names.
Please help! Andy
... more >>
a "wait" script
Posted by Clifford Boobyer at 1/21/2004 9:15:25 AM
Hi,
I know its possible I just don't know it!
I'd like a wait script that pauses the playback head for a number of
seconds, then continues.
This saves me having to expand my instances in the timeline...
Thanks,
Cliff
... more >>
Deleting an Instance of an Object during Runtime
Posted by equinox007 at 1/21/2004 8:00:33 AM
Is there an easy way to remove an "Instance of an Object" during runtime? ie with the click of a button??
ie
You click on one button that generates an instance of a circle. You produce three circles in total. then you click on the second circle and click the 'delete' button which removes... no... more >>
Controling other films
Posted by Phlstudin at 1/21/2004 6:39:43 AM
Is it possible to controll other films? I mean by this that you start a first movie with labels and a second with a navbar par example. so that the navbar starts an other label in the first movie.
greetz
phlstudin
... more >>
How to load a movie in the next highest level??
Posted by printmasterstudio at 1/21/2004 6:01:38 AM
Does anyone know how to write an actionscript to have a movie loaded in the next highest level above those that are already in the stack (depending on how many movies a user clicks on) ?? So that each time a visitor clicks on a button (to load a movie) it will be loaded in the next highest level.
... more >>
using "IF" and "ELSE" and others like them.
Posted by phet NO[at]SPAM shaw.ca at 1/21/2004 4:53:16 AM
my site http://jmcivor.com has a flash navigation in the middle that Im working on, if you click on the text "JMCIVORDOTCOM" the flames in the bg begin to follow the mouse. thats all great, but what id like is for the flame to lock back into the center if the text is clicked again. please check the ... more >>
Closing Flash Movies
Posted by complexity at 1/21/2004 4:07:19 AM
Hey all,
Ive got a flash add that is on screen, but now I want to give the users the option of closing the movie.
I have the movie sitting in a layer on screen like:
<div id="Layer1" style="position:absolute; width:785px; height:115px; z-index:1; center: 6px; top: 214px;">
<object cla... more >>
scaling pop-up windows
Posted by scotty71 at 1/21/2004 3:41:22 AM
I'm using a getURL:javascript action on a button relase to open an image inside a seperate window. However, I have to set the size the window is to open within flash, thus having to customize it for every single thumbnail, and it becomes hit and miss to finally get it right. Is there a trick I can... more >>
time
Posted by myrinne at 1/21/2004 2:51:26 AM
sorry to bother you. i have stolen a function for a dynamic textfield to display the time. it goes a little something like this:
function howlong(arg) {
if (length(arg) == 1) {
arg = "0"+arg;
return arg;
} else {
arg = arg;
return arg;
}
}
my... more >>
How to find which level of the object on?
Posted by chaocai at 1/21/2004 12:53:33 AM
I do have my own constructor function for object. Say I have the constructor Ball();
I then: var Ball1 = new Ball();
Flash knows which level Ball1 is on, obviously is _root(_level0) now. But once I load my swf to different levels, Ball1 will be in different levels. And here is my question: Flash... more >>
saving xml object to xml document
Posted by chodge at 1/21/2004 12:36:57 AM
I have a Flash 2004 MX Professional document that reads in data from an xml file. I want to save the [changed] data back out to the xml document. I know I need an HTML page with JavaScript to save the xml to a document. Does anyone have any JavaScript code that will do this? I have not done a lot of... more >>
Loading External data into an array
Posted by Dinghus at 1/21/2004 12:34:52 AM
This is driving me crazy. I have done this in the past but now I can't get it to work and I can't remember how I did it.
I have the text file (myData.txt) with this theData = one,two,three,four
Then I do a loadvars routine but HOW do I get it into an array?
This is going to be so simple it... more >>
ComboBox / SetSelected by data value
Posted by Huntër at 1/21/2004 12:28:34 AM
Hello all,
Is it possible to select a combo box item based on its data value?
For instance if I had a list of 10 items. Each one has a different color value for its data. ("Blue", "Red", "Green", etc...)
So, instead of choosing the setSelected based on the index, I want to setSelected based o... more >>
|