all groups > flash actionscript > january 2005 > threads for wednesday january 26
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
Duplicating complex symbols, instances, and objects containing Dynamic content
Posted by kbrandon at 1/26/2005 10:20:04 PM
My issue is with duplicating items that have been partially/completely
constructed through ActionScript code. I
have a instance of the scrollpane (my_scrollpane_A), which contains multiple
Dynamically created textboxes. The
content of these textboxes is also dynamically populated from a ... more >>
Can XML be written as well as read?
Posted by finalist at 1/26/2005 9:58:31 PM
I've been reading Moock's excellent ActionScript references and have come up
with a project idea, but I can't find an XML class method for saving an updated
xml file. I would like Flash to import the xml, add and/or change nodes, and
save the updates.
Is there any way to do this without a... more >>
php in flash
Posted by steveo89 at 1/26/2005 9:42:56 PM
I believe what I am trying to do is incredibly simple. I have a php page that
echos "ip=".$ip. the ip is set to the computers ip, and I know this part works.
It would be awesome if someone could simply tell me the actionscript code I
need, and also please say which frames things go in, and w... more >>
Fade In Fade Out Using AS2
Posted by Sebhughes at 1/26/2005 8:37:39 PM
Is It Possible to use action script for fade in and out effects ?... more >>
Different Alignments for Multiple SWF's
Posted by amdorsey at 1/26/2005 8:23:02 PM
I have a movie set to 100% in the browser window, I need different elements to
align differently. Basically, I want some of the flash content to be in
centered in the window (on resize of the window). I want other elements to
align top left, and top right. So when a user resizes there browser... more >>
JavaScript in Flash
Posted by kostas2005 at 1/26/2005 8:22:06 PM
How can I get JavaScript variable in flash?... more >>
Need some programming help
Posted by thoand at 1/26/2005 7:48:40 PM
Hi I need to walk throug my array and display 3 items at a time using
buttons. The trick is that I need to begin at array[1] again when I reach the
length. eg. 123 456 781 234 567 812 and so on. I have managed to go
forward, But I need to 'rewind' too, and I have noe quite figured it ... more >>
Help with Scrolling Text Box Actionscript
Posted by skaitz at 1/26/2005 7:39:57 PM
As a novice at Flash, I recently purchased a flash template from Monster.com (
Yea, by dissecting it I am hoping to learn flash) and so far it has been a
wealth of knolledge with some good examples. There is one script, however that
I cannot figure out. The following script is used to contr... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Script Works For Player 6 But Not 7
Posted by AwesomeDigital at 1/26/2005 7:23:34 PM
The attached code works fine when I Publish for Player 6, but not Player 7.
Might somebody who has a moment be able to tell me why? Thanks Mathias
fncShuffle = function () {
return Math.floor(Math.random()*3)-1;
};
var arrAlpha = new Array();
var arrTimeSub = new Array();
var arr... more >>
Saving/Loading current frame
Posted by Hoathy at 1/26/2005 6:23:40 PM
Yup - you guessed it, I am creating an RPG game! But I am having a minor
problem - I know how to set and retrieve Shared Objects, and how to display the
current frame. But how can I conbine the two to save the current main frame and
retrieve it when I reload? I have tryed to code this myself... more >>
Need some help with zooming.....
Posted by ErikinWest at 1/26/2005 5:59:57 PM
Ok I am doing a flash project. It is a basic game were you aim the aimer and
try to hit the moving ball. When you hit it it explodes. But to add a little
more flare I was wondering if it was possible for the aimer to zoom in while
the rest of the screen is zoomed out. So when the aimer moves i... more >>
smoothing box resizing
Posted by toddde at 1/26/2005 5:37:51 PM
I am working on a resizing effect similar to the one on
L=braingiants]http://www.braingiants.com. The transitions are very smooth.
Mine is still a little jerky. Is it simply a question of framerate? We
considering upgrading our T1 line to make it faster, but once the page is
loaded clien... more >>
actionscript exporting
Posted by damine at 1/26/2005 5:16:39 PM
:confused;
My client sells personalized books. The way the site works, someone buying a
book would type in their name and a proof of the personalized cover would
bounce back to them.
When they approve the proof, I would like to set up an actionscript which
exports and e-mails an adobe illu... more >>
Changing x,y position of a Button
Posted by Zhais at 1/26/2005 4:56:46 PM
Probably an easy question, but I can't seem to get this to work.
I am trying to change the position of a button while the movie is playing, but
it doesn't seem to work. I have the ActionScript assigned to the same layer the
button is in. My code is as follows:
x_pos = ((insert randomizin... more >>
Creating A Mask On A Dynamic Text Field
Posted by AwesomeDigital at 1/26/2005 4:17:47 PM
I have a movie clip called (zerosAndOnes_mc) in which I create a text field
with this code createTextField('txtDisplay', 0, -225, 0, 550, 24); That mc
sits on my main stage and I am trying to mask it using another movie clip that
has a small oval drawn on it (Called mask_mc) In the actionscr... more >>
Load image , width & height ? 0 ?
Posted by avalanched at 1/26/2005 4:16:39 PM
I want to try to load a image into a movie clip loaded from an xml file .. that
part works just fine but if i ask the height or width it says its 0 ?!? what
do i do wrong
//load XML (frame 1 > root)
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
aImage = ... more >>
Logic?
Posted by Amcasperforu at 1/26/2005 4:13:55 PM
Hi Flash Developers,
I'm creating an observation, experiment, survey and analysis on how people
(programmers), or Computer Scientist form logic.
Actually, I'm doing a study where from this, I can formulate so that students
who are learning how to program could adapt same formulation of ... more >>
Pass by reference in function
Posted by yaniplay at 1/26/2005 4:12:35 PM
Well, I try to make several math functions for my game. One thing that I'm
still not succeed is to make a function that'll return multiple values.
I was thinking that maybe I can make a function and pass by reference some
parameters to get the result but failed to do so..
is it possible ??
... more >>
Checking for Dup's in Array's
Posted by bpurcella at 1/26/2005 2:49:31 PM
Hi All, I need some help please. SETUP: I have created a card game so when the
page loades it will load 25 MC's in a random fasion and places them on the
screen. This works great kind of. The problem is as we all know that the random
function will pick the same number twice or more giving me 2... more >>
LoadVars not accepting more than 2048 chars
Posted by sjhodges at 1/26/2005 2:40:55 PM
I'm using loadvars.load() to import variables from a php script. It generally
works fine, except...
Users in Moz browsers (Firefox 1.x, Netscape various versions) are receiving
nasty error messages (or their browser just crashes, as is the case on Mac)
precisely when my loadvars.load(php_s... more >>
multiple choises QUIZ
Posted by yofof at 1/26/2005 2:33:09 PM
hi everybody,
i'd like to script a quiz with multiple choses. just 10 questions with 3
choises, 3 radio buttons and submit button that after click i would be moved
to next frame and remeber answer (0-wronf. 1-right)..at the end i'd like to see
evaluation like you had x/10 right ....y%.
... more >>
combo box bug
Posted by shellshock at 1/26/2005 2:23:05 PM
:brokenheart; When I use the combo box to clear and regenerate movie clips (on
change) using the listener object , it fouls the rollOut state of the movie
clip or any button contained within it . if you trace the button states the
over and out states work ok until you trigger an onRelease ... more >>
Returning to same level of Zoom after clicking link
Posted by MoltenPixel at 1/26/2005 2:20:36 PM
Hello,
We've been given some HTML files which contain a Flash file. So the user is
able to zoom in or out of the vector image in Flash by right clicking and
selecting zoom in or zoom out.
From there the user may select a number of things to click on which take the
user to a different ... more >>
drawing buttons w/o graphics in actionscript
Posted by logeye at 1/26/2005 1:58:10 PM
To keep file size down for out 56k customers I'm drawing working aircraft
panels in Actionscript without using any graphics.
The file size is now 1 k. Using graphics it's over 60k. Our server and fire
wall really slow things down a lot.
My problem:
I generate a new movie clip and draw ... more >>
varibles from url
Posted by stokedjorrit at 1/26/2005 1:25:51 PM
Hello,
I've put this action in a frame:
var thewebsite;
I've got a button with this action:
on(release) {
getURL("thewebsite")
what i want is when I typ this in my browser:
http://www.mysite.com/movie.swf?thewebsite=http://www.macromedia.com
and i pres the button on the flash... more >>
Dynamic Class VS _alpha
Posted by cainarachi at 1/26/2005 12:25:09 PM
Hello, I?me doing a menu, and i attach each button(in this case it is a
movieclip) from library and the alpha = 0, then i want to create a Class where
it increases the _alpha onEnter Frame. Anyway i show the code below, and
perhaps someone can help me, because this seems to me that it is quit... more >>
v2 components & focus/selection issue
Posted by dcs at 1/26/2005 12:06:06 PM
There has been mention of v2 components messing with focus and
selection. This can happen even if you aren't using any v2 components
-- simply having them in your library (and runtime linked) can cause
odd behavior.
As an example, try this rich text editor:
http://www.joshdura.com/archives/00... more >>
Pause by Time! need your help!
Posted by nimakashani at 1/26/2005 11:03:28 AM
I want to create a photo slide show that pause at each frame "5 sec" for
example. and go to next. my photo source is not external and i have my photos
in each frame of timeline. in fact i'm looking for a code that make a wait of 5
sec in each frame. thanks 4 any help.
... more >>
Loader Component freaks out when image spcified isn't there
Posted by waynecto at 1/26/2005 10:11:50 AM
http://tvdrate.findapix.com/rateapix.html That is my working version, however
there are users who either deleted their image or never uploaded one. When
this is encountered by flash loader component it freaks out and then will not
recover until it is reloaded. So what i need is a way to chec... more >>
Really no method to stop AS from eating CPU?
Posted by JoeMok at 1/26/2005 9:21:39 AM
Sometimes, heavy AS will eat much CPU using percentage.
Have we a method that let the AS gives some CPu using percentage to the movies
to run or other operations?
eg.
A;
P;
B;
I want flash to run other movieclips(a movieclip showing how many percentage
finished), ... more >>
simulating double-click
Posted by Dragos at 1/26/2005 9:20:43 AM
anyone have any ideas on how i can simulate a double click for my swf. what
i'm basically making is a app that looks like the desktop with icons acting
as the links to the various parts of my site. I'd like to require the user
to double click the icon to navigate. Dragos
... more >>
targeting loaded movies
Posted by Brian at 1/26/2005 9:15:16 AM
How do I target a loade movie. I want to trigger a function in a loaded
movie.
I am loading the movie like this:
loadContent.loadMovie("../flash/team/team_01.swf");
I then later want to trigger a funtion in team_01.swf. How do I trigger
that?
Thanks for any help!
B... more >>
Shared object variables
Posted by mickybhai at 1/26/2005 8:05:31 AM
I am using shared object variables for saving certain values on the users
machinein my projector application.....These values are retrieved on the next
application run.....i would like to know if there are chances that these
variables get deleted due to any reason....
... more >>
Can't get gotoAndPlay to work
Posted by XxLicherxX at 1/26/2005 7:27:50 AM
Hello everyone,
I am new to Flash and am picking up someone else's project where they
left off. For some reason, gotoAndPlay will now work. I have a scene
called EServices with three key frames and two layers. Layer1 has the
three keyframes in it.
I also have a button on this page, which ha... more >>
having problem with text size using TextFormat();
Posted by ElelphentTrunk at 1/26/2005 6:54:07 AM
I have a text field with a font size of 9.8 and a button over it. when the
button gets rolled over, the font size reduces to 9.0 and when the the user
rolls out the font size goes back to 9.8. The problem is that the 9.8 size on
roll out does not match the original 9.8 font size of the text f... more >>
stupid openHTML prob...need immediate help
Posted by sirtcarlos at 1/26/2005 5:17:03 AM
i am using the following code to open a pop-up html window that is playing a QT
file: on (release) { getURL
('javascript:openHTML('../media/audio/bb_choppil.html','audio',0)'); } for one
reason or another, nothing is happening on mouse click. can someone give me
some help IMMEDIATELY?!?! ... more >>
Best way to load array data from a file?
Posted by larsiusprime at 1/26/2005 4:57:34 AM
Hey guys! I've got a question for you - say I need to read data in the form of
an array, and I need to store that data in an external file. What would be the
best way to do that that flash could interpret correctly? Because the
loadVariables function requires a special type of formatting, I b... more >>
Hit Test within two objects
Posted by NutsyNalinda at 1/26/2005 4:42:38 AM
:D :D :D
There are different shaped two movie objects
I used hitTest to do something when they touched together
It's happened when only one objects registration point touched other movie
But i want it?s work exactly when they touch together
Is there any method to solve that
Sorry... more >>
Simple PHP Execution
Posted by commonstranger at 1/26/2005 3:10:29 AM
Hello,
I just need to write some variable values to a text file using a PHP script,
however I do not want a new window to launch upon doing so.
I can get my PHP script to execute using LoadVars.send(), but the method
launches a new window as documented. I have also tried LoadVars.sendAn... more >>
Problems with addListener to a danamic created textfield
Posted by JoeMok at 1/26/2005 12:59:21 AM
eg.
_root.createTextField("box"+String(i), _root.getNextHighestDepth(),
20,20,20,20);
eval("box"+String(i)).addListener(boxListener);
var boxListener = new Object();
boxListener.onSetFocus = function(txt) {
trace("here");
}
Error: no ouput of "here"),nothing happen;
... more >>
Please is really important, Load an image from Recordset :::::
Posted by Gvhdesign at 1/26/2005 12:15:09 AM
Hi everybody:
I have, an ASP page connected whit ODBC to a MDB file.
Some variables defined in the ASP page and one Query, a recordset with
information.
One Swf file that call the variables and show every data from each variable,
BUT I can "bring" the image.
Does anybody know where can I... more >>
|