all groups > flash actionscript > april 2006 > threads for tuesday april 18
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
weird f9 results
Posted by brendafos at 4/18/2006 11:17:45 PM
In the main scene timeline, I've made a top layer called actions. Then I put
all the script in a frame on that layer. Works well..... But now something
seems to have changed. When in a movie clip, I select a frame where I want to
put script just for that movie clip and then hit f9 it takes ... more >>
send data to asp w/out opening new page
Posted by Ex Malterra at 4/18/2006 11:08:55 PM
I'm a Director developer learning Flash. So much is the same, so much is
different! Anyway, I have a SWF in a web page that uses an XMLConnection
component to get XML from ASP. I use the XMLConnection as the dataProvider for
a two Trees. I have a button that lets users associate elements from ... more >>
Flash 8 video controls + other madness
Posted by Grinshtein at 4/18/2006 11:00:22 PM
I'm really having a hard time with this :
I have a _level0 swf. it loads somemovie.swf into level 1. somemovie.swf
imports a class i've written.
The class I've written works great with flash 7 video, but when flash 8 video
it acts up like this:
In my class, I have a few functions th... more >>
Shuddering Text Crawl
Posted by Point Happy at 4/18/2006 10:53:41 PM
We are trying to include a news-feed text crawl in an application we are doing.
Getting it to run is no problem, getting it to run smoothly, without
hesitations is a big problem. Even when all the text is visible on screen, and
it's just moving across the screen without letters coming onto t... more >>
Can't load text in my movie
Posted by Please enter a nickn at 4/18/2006 10:48:31 PM
Hi,
I'm having a hard time modifying a template I just bought.
There's a Movie Clip I called foo_mc, and a dynamic text field in the MC that
I called foo_txt
Here's the Action Script I use, how come nothing's happening?
the vars.txt file is in the same directory as the .FLA file and I sa... more >>
math font for flash
Posted by beckbeck at 4/18/2006 10:06:33 PM
Hi,
I have a need to build many Algebra and Geometry equations in Flash. I am
looking for some kind of flash plugin that will typeset these equations so that
I don't have to build them by hand. For instance, if I had a fraction 1/2 or
134/489 and I was stacking the numerator over the denom... more >>
XML and Flash Data Retrieval
Posted by stacyp at 4/18/2006 9:33:13 PM
I am new to flash's dynamic data uses - I have a 100 responses to 23 question
form which I wish to display using flash in a presentation - I wish to sort the
info only by either individuals forms or question/answers. Once created i do
not need to amend the data - i will be delivering this on a... more >>
need actionscript onLoad help
Posted by Mcginess13 at 4/18/2006 9:26:15 PM
Hello,
I'm hoping someone can help me. I'm working on a project that someone else
started. I have a main movie called "interface" with navigation off to the
bottom right. When one of the nav items is clicked on (for example, "contact"),
the contact.swf movie is then loaded on the left side... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Sending Mail Errors
Posted by kelly NO[at]SPAM herco at 4/18/2006 8:54:59 PM
Ok. Here is my script:
on (release) }
getURL("mailto:thewizardofwindows@sbcglobal.net");
{
And here are the error messages:
**Error** Symbol=E-mail: info@companyname.com, layer=Layer 3, frame=1:Line 1:
'{' expected
on (release) }
**Error** Symbol=E-mail: info@companynam... more >>
Play a movie clip bacwards
Posted by DJ Sick Nick at 4/18/2006 8:51:19 PM
Is it possable to reverse the movieclip's animation WITH actionscript? thanks in advanced!... more >>
An aurora Effect?
Posted by forumnotifier at 4/18/2006 8:46:33 PM
I have a movie with dimensions w198.0 by h737.0 And what i would like to do is
insert a layer or clip in to a layer that has a nice Aurora effect such as :
http://www.damnnationx.com/aurora.swf
to the back ground of my main menu....
This file ya see there is realy nice looking but what id... more >>
Trouble adding commas to string
Posted by jd7474 at 4/18/2006 8:36:27 PM
I'm using a pretty standard function to add commas to a large number (so that a
number like 1000000 appears as 1,000,000). Below is the actionscript I'm
using.
When I define the variable debt as any number, the script works perfectly.
But if I define debt as a variable passed to the mo... more >>
Understanding onLoad (XML)
Posted by Guy Verville at 4/18/2006 8:21:38 PM
I have the code below.
When I watch the process in the Debug window, I realize that the "traiterXML"
function is done after all the code is processed. I think i don't grasp the
way codes are treated. Is there an event i should call, or watch, making it
sure the code after the ".load" call i... more >>
Stuck on the switch statement
Posted by livingcontrast at 4/18/2006 7:42:27 PM
Anyone know how I might go about the following code correctly? I need to avoid
loops, so it's a little tricky for me. Need control over playing one movie,
then the next, then the next. Eventually, I each case may have a video to play,
text to display, or another swf to load.
Thank you!
... more >>
watch() problem
Posted by asidfree at 4/18/2006 7:07:50 PM
Hello,
I have a global value (shown below as buildingClicked) and I am just
having problems getting a watch to work in the parent .swf.
I have a .swf being loaded in, and I have that .swf change the global
value in the parent .swf. When I call something like,
"_global.building... more >>
refresh a frame
Posted by jonnybennett at 4/18/2006 5:19:19 PM
I am on a frame called 'myframe';
If a button on this frame is pressed, I want to remove all attached movieClips
and reload 'myframe';
I can remove all the attached movieClips, however when I use the...
gotoAndStop('myframe');
in an attempt to reload the original data on this frame, ... more >>
Object set function
Posted by Migs Davis at 4/18/2006 4:29:06 PM
For some reason the set methods never run, although other test ones I've
written do.
Fla file:
var oTest:Test = new Test();
oTest.sVar("Success!");
Test.as
class Test{
private var _sVar:String;
public function set sVar(counter:String):Void {
trace (counter);
_sVar... more >>
image moving on mouse
Posted by Jadsabeh at 4/18/2006 3:54:06 PM
hey!
I need to move the background image when the mouse its like say >= 100 and ma
it move +=2 so i tried the following code
where M is a really tiny square which i am considering to set it _visble = 0
and victim is the image the is supposed 2 move
onClipEvent(load) {
_root.M.sta... more >>
Problem with onRollOut
Posted by jkevinm at 4/18/2006 3:46:00 PM
I have a number of buttons. By adding trace lines to events, I have found that
the onRollOut is being called after the onRelease function even though the
mouse did not move off the button. If the mouse is not moved, the next time
the mouse is clicked, the button press is not called, instead,... more >>
Character spacing in a dynamic text box
Posted by muhl at 4/18/2006 3:31:42 PM
I'm pulling text from an input text field to a dynamic text field. Is there any way to add spacing between the letters within the dymnamic field?
Thanks,
Mike... more >>
Loader Problem
Posted by binary_manee at 4/18/2006 3:10:16 PM
HI all
i have make a design tool in which any user can design art work. It is 1.2 MB
file and including fonts,graphics and other shapes. Now
i have put a simple loader but problem it that during loading initially
nothing come but after 90% loader show and then flash movie shown, means we
... more >>
Movieclip _x position help
Posted by FirstNforthFinger at 4/18/2006 2:40:34 PM
Hello i have been stuck with this one piece of actionscript for weeks. The
movie is a header for my website and the code i need help with makes a small
Movieclip called "slider" move from left to right across the x axis when you
hover over the navigation buttons. At the moment the "slider" MC ... more >>
User controlled 3D box - width, length, height?
Posted by headonBackwards at 4/18/2006 2:21:06 PM
I would greatly appreciate anyone?s ides or comments on this...
It is way over my head, but we have been given the unwieldy task of creating a
dynamic 3D cube for a client so that the faces of the cube can be controlled to
alter its shape.
With some help we got a basic model working here... more >>
Button not working since it's been placed inside another MC
Posted by mac monkey at 4/18/2006 1:57:46 PM
Hi,
I have a button directly on the main timeline with the instancename
kings_cross. I then have some methods in the main timeline, which work as they
are supposed to when the button is pressed. However, I have now placed the
button inside a MC which is contained within a scrollpane. I'm usi... more >>
how to control the movieclip embeded into another movieclip to play or stop
Posted by dozing_runner at 4/18/2006 1:54:02 PM
http://bbs.flash8.net/forums/1131b4b2-c99f-4c3a-ab97-24b5103ca77a/PostAttachment
..aspx
I created a movieclip MCA. there are 4 embedded movieclips within MCA. I hope
the button " Next" to control the movieclip "slide2" within MCA to play. but I
failed. it doesn't play. what's wrong ?
b... more >>
Access class' properties (in _root) from movieclip timeline?
Posted by anticone at 4/18/2006 1:40:29 PM
I'm trying to follow the advice "class properties are better then _global
variables", but how could I access a class' properties (imported in the main
timeline) from a movie Clip timeline?
this code in the main timeline works (and trace the value of lang):
import scripts.StartupSettings
... more >>
problems with some actionscript. please help!
Posted by simply-celestial at 4/18/2006 1:20:26 PM
hello
im trying to build a site in Flash, using actionscript. but ive already run
into some problems.
ive created my master.swf file, to load in stuff and all that. and that works
fine, but there is a problem.
i have a shared libary for my fonts and repeated symbols throughout the page... more >>
No images in Test Movie
Posted by Dottydog at 4/18/2006 1:15:22 PM
:confused; ?I am following the Studio 8 Cafe Townsend Tutorial. I have copy and
pasted the ActionScript code that makes the slideshow animate. In the Test
Movie, the title and descriptions are working but no images - which I have
checked are in the cafe_townsend/images folder. I am stuck!
... more >>
Need help
Posted by Ackebacke at 4/18/2006 12:40:58 PM
Hi everyone. I have just started learning flash, and with the help of my
teacher and some internet tutorials, I have started creating a cargame that is
seen from above.
I want my car to bounce off a wall (vagg), and go slower on grass (gras).
I have succeeded in this, but as soon as I do t... more >>
movie load loop
Posted by Greg Wilker at 4/18/2006 12:35:23 PM
is there a simple actionscript that can load movie #1 for 30 seconds then
unload #1 and load #2 movie... then 30 seconds pass and unload #2 load #1
repeat forever?
TIA,
Greg
... more >>
dropShadow on Alert box
Posted by flashblind at 4/18/2006 12:32:04 PM
Hi
Anyone know the correct method/syntax to use to apply a dropShadow filter to
an Alert box created with ActionScrript?
I've tried applying it to Alert as follows:
import flash.filters.DropShadowFilter;
var dropShadow : DropShadowFilter = new DropShadowFilter(5, 90, 0x000000, 0.7,
10,... more >>
Input Text Box Auto Selected - Flash 8
Posted by NS5 at 4/18/2006 12:25:38 PM
Hello,
I have a form and I need the first Input Text Box to be automatically selected when the user goes to the page. I cant figure out how to do this. Any help would be great!
Thanks!!!... more >>
Using Tween and easing classes.
Posted by AKIRA_x at 4/18/2006 12:16:16 PM
I am using this code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
var arrow_1_tween: Object = new Tween(arrow_1, "_x", Elastic.easeOut, 7, 4, 1,
true);
arrow_1_tween.onMotionFinished = function() {
arrow_1_tween.yoyo();
};
var arrow_2_tween: Object = ne... more >>
Loading a Movie in Particular frame...
Posted by amithjnt at 4/18/2006 12:10:26 PM
Hi this is Alok
Basically I have to load any swf file in my existing swf file but not from
start frame . I want it from frame 10.
Like i m having a file "xyz.fla" and having a button in it and on press of
that button i want that the 10th frame of file abc.swf should load. I tried but
its n... more >>
problem targeting a loaded MC (easy answer?)
Posted by kevmedia.com at 4/18/2006 3:53:52 AM
Hi, thanks in advance. I'm lame and can't figure out how to target an external
swf that I've loaded via AS. I have one main swf, and in that swf I'm creating
an empty movie clip (called 'countryClip') and loading an external swf
('usa.swf'). So far, so good, the swf loads and it looks great. B... more >>
Slow Audio with LoadSound Mp3
Posted by rring at 4/18/2006 3:33:12 AM
PLease help. Im loading MP3s into my SWF using LoadSound. Nothing fancy. But
the pitch of the audio is a couple of keys lower than it is on the actual MP3.
I tried this with other MP3s, and the pitch shift happens
Any ideas what is causing this?
Thanks!
RR
... more >>
Button To Start Flash!! HELPPPPP PLZ
Posted by MusicBabe at 4/18/2006 3:31:04 AM
I really need help, i cant make the button start the flash, i dont no if im
putting wrong code in or what, i put a code in to start flash then when i
tested it, it all was flashing and repeating, im so lost and im really new to
this, plz help!!
... more >>
XML node attributes
Posted by Dinghus at 4/18/2006 2:32:00 AM
I'm working on a project and I have to parse some XML, it would be much easier
if either the attributes were named the same or I could read what the name of
the attribute was. Unfortunately I can't change the attributes' names so I
have to figure out how to read the name.
But I can't find... more >>
Loading Text w/ Formatting
Posted by beevyarr at 4/18/2006 1:45:20 AM
Trying to load text depending on state that people choose. However, to keep my
formatting I input html code into a text file then used the following code:
on (release) {
var txt_xml = new XML();
txt_xml.load("txt/new2.txt");
_root.text_mc.rep_txt.html = true;
txt_xml.onLoad = function... more >>
loading question for two separate .swfs
Posted by Pete456 at 4/18/2006 12:21:18 AM
Hi. I have an html page that I'm publishing that has two entirely separate
..swf files.
The flash movies are basic and simply show rotating photos. One is 10k and
the other is @ 50k in size. The photo rotation for both is linked visually and
both have the same timeline.
My question ... more >>
jumping to a scene in an external swf
Posted by ucanwinu at 4/18/2006 12:00:00 AM
hi
i have two fla files that i want to link together. say part_1.swf and part_
2.swf
from part_2.swf i want to have a button that take me to a particular scene of
part_1.swf
i use loadmovie on level 0 so that when it jumps to part 1 it completely
replace the part2.swf. but my prob... more >>
if else statment in mailform
Posted by marceldeboer at 4/18/2006 12:00:00 AM
I have been creating a mail form with different field options like "Input
Fields", "Combo Boxes and "Checkboxes". Some of the fields are required. When
the person is pressing the next button the required fields will be checked with
a if statement, this is working fine until I have added the e... more >>
Need a "stop scroll" on my ferris wheel?
Posted by beyondthebrand at 4/18/2006 12:00:00 AM
Hi there!
Can any one suggest how to stop the ferris wheel when the users mouse is off
the area of flash content in the browser?
Here is teh FLA file and the link to the page
http://www.totalamber.com/test.html
http://www.totalamber.com/flash/homepage.fla
Also when pc users in ... more >>
Controlling SWF loaded through MovieClipLoader
Posted by ropeGun at 4/18/2006 12:00:00 AM
Hello AS gurus,
I have a two-level site for a portfolio where users can view still images and
videos for different projects. The top level SWF file can be considered as the
"parent SWF" and within this file, the user navigates by choosing which project
he/she wants to explore. After choosi... more >>
MCL and PreLoader Debacle
Posted by Kevin Favro at 4/18/2006 12:00:00 AM
Hello...thanks in advance, especially those (kglad) who have been responding to
previous posts of mine regarding this same problem. I'm going out of my mind
though with this...basically I have an extremeley tempermental flash movie
which plays differently in almost every browser (I'm on a mac... more >>
Problem passing variable from PHP to Flash
Posted by jd7474 at 4/18/2006 12:00:00 AM
I'm trying to pass a single variable from PHP to Flash. However, I can't quite
get it to work.
In a PHP file named data.php, I'm using:
$query = SELECT SUM(Debt) As Total FROM debtclock";
$result = mysql_query($query);
$debt = mysql_result($result, "Total");
print "debttotal=$debt";
... more >>
|