all groups > flash actionscript > december 2005 > threads for monday december 5
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
Preloader doesn't "pre-load"!
Posted by pubcrawl69 at 12/5/2005 11:21:29 PM
I've created a rather large site.
I added a preloader to the first frame.
Site takes a long time to load.
When viewing online, screen displays only the background (solid purple) while
the movie loads.
Then, VERY briefly, the preloader is visible.
Before you can even read the preloader, t... more >>
thought I solved this problem, but didnt
Posted by purpleape at 12/5/2005 11:09:56 PM
I
had a couple of posts earlier regarding this problem. I am a novice scripter
and am editing someone else's code.
So this is the set-up. There is a main swf that consists of a nav bar
primarily. When a button is clicked, a content .swf is loaded into an empty
movie clip called screen.
... more >>
Pacman related question.
Posted by Barnak at 12/5/2005 11:07:23 PM
I asked a question 2 days ago, about the pills, but I have another problem.
To make pacman and the ghosts move, I used the line tool to draw the possible
paths. The problem is, if I zoom in/out/resize the screen while playing, pacman
and the ghosts sometimes walk through the walls, and they ... more >>
2nd easy ? from novice
Posted by purpleape at 12/5/2005 9:38:32 PM
Hi,
I am trying to get a .swf to go to its parent and within th eparent, a
particular movie clip within a movie clip and then a specific frame. I used
this code on button in the child swf.
on (release) {
_parent.nav.T.("down");
}
Im sure this code is laughable. but you get the ... more >>
simple ? from a novice
Posted by purpleape at 12/5/2005 9:00:45 PM
Hi,
Is it possible for a child movie to refer to a parent's timeline? I am not
exactly confident of my terminologies so I'll explain what I need to do.
I have a main .swf movie (consisting mostly of a nav bar) that launches one of
several other .swf's into an empty movie clip as contents... more >>
xpath -> nodeValue is null - why?
Posted by wdolek___da_real_one at 12/5/2005 8:52:13 PM
hi, i was trying to find answer in macromedia flash help, but there is sayd
just when type 1 then its XML element and when it is 3 then it is string
value..
xn.nodeValue is just null.. but toString() show whole xml element.. dunno
whats wrong, can anybody tell me?
<!-- my xml fi... more >>
Help
Posted by Spidey25 at 12/5/2005 8:38:38 PM
Hi , I have a circle shape in my library as a Movie Clip, this have a export name = mc_1, how can I put it inside the scene but using only code.
Thanks.... more >>
ComboBox focus rectangle problem
Posted by Nixy at 12/5/2005 8:04:51 PM
I try to hide the component. It works great, but the focus rectangle is still there. I use the ComboBox component
Any idea.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
XML won't load from PHP script correctly - a strange dot appears
Posted by mraak at 12/5/2005 8:04:46 PM
Hi,
I have this PHP code which generates XML:
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
echo "<msg id=\"".$row["id"]."\" actor=\"".$row["actor"]."\"
text=\"".$row["text"]."\">haha</msg>";
output:
<?xml version="1.0" encoding="UTF-8"?>
<msg id="30" actor="slobo" text="jej... more >>
Problem accessing propeties from external .as file
Posted by SBAR_weenie at 12/5/2005 7:42:58 PM
I'm obviously doing something wrong here cause I can't change my _visible
property in the targetClip.
example here: http://home.earthlink.net/~blakemeister/test
EXTERNAL testClass.as FILE
import mx.events.EventDispatcher
class testClass{
function dispatchEvent() {};
function addE... more >>
FileReference upload prob - onComplete returned but no file on server
Posted by OOPete at 12/5/2005 7:30:59 PM
Hi people, can anyone suggest why:
when using FileReference and upload, I'm getting no errors back (am listening
for all of them). I'm successfully tracking the progressive upload and
receiving 'onComplete'. Except no files are appearing on the server. I have
even changed the permission... more >>
On change not recognised
Posted by Wildfire London at 12/5/2005 7:26:45 PM
I am attempting to use a combobox to provide a playlist for MediaPlayer. I have
the following Actionscript in place
on (change) {
this._parent.myMediaPlayer.setMedia(this.value, "mp3");
}
However when I test the script I get 3 errors as follows.
**Error** Symbol=p1, layer=gui, fra... more >>
writing counting var in middle of string
Posted by Vee at 12/5/2005 7:02:34 PM
I need something like this but not this:
function disableSideNav() {
for (var ivar = 1; ivar<=4; ivar++) {
_root["side_menu_ + ivar + "menuName"].enabled = false;
}
}
that couting variable needs to be between two instance names
... more >>
security issue with loadVars
Posted by stephan.k at 12/5/2005 6:18:40 PM
Hi list
I am loading xml created with php loading data from a Database with the
loadVars command. The .swf file lies on a seperate server than the php file
and the database. When I export and test the html and the swf file on my
machine it gets the data fine. As soon as I upload it to t... more >>
Dynamic display on Mouse over
Posted by nicolez at 12/5/2005 6:18:36 PM
I have a project I'm working on for a public transit system and I need to be
able to not only create the map, showing all the transit routes and stops, but
upon mouse-over I need to display the name of the stop and a link to click for
more info. like at http://www.ci.davis.ca.us/gis/unitrans/i... more >>
how to have a PDF downloadable
Posted by gohansol at 12/5/2005 6:18:23 PM
Hello all, my question might be a simple one.
I would like to have a pdf downloadable on my website built with Flash.
Example, how can others download my resume pdf from my website? ie. after
clicking a 'download resume' button?
I heard somewhere that the pdf needs to be in zip form... more >>
button code needed to replace child with another child
Posted by purpleape at 12/5/2005 6:10:07 PM
Hi all,
I have a flash movie that consists of a main frame (parent) that has a main
nav bar which spawns one of 6 children into the main viewing area.
Each child has its own set of 'slides' which have a nav bar of their own at
the bottom. Problem is that now I need the last slide on the... more >>
Printing external swfs
Posted by KimB at 12/5/2005 5:46:01 PM
I want to load and print some external swfs all in one go.
Can anyone tell me why this function doesn't work....
function DoPrint(){
var printArray:Array = new Array(1,2,3,4);
var pj = new PrintJob();
var mc_name = "";
if (pj.start()){
for (var index in printArray) {
mc_name = "mc"... more >>
Image modulator help!
Posted by philzzz at 12/5/2005 5:23:54 PM
Hi!
I have created this up till now:
I would also like to know if I could tweak the code a bit so that the user can
put a new picture in any folder without having to add "7.jpg" in the flash.
Would it be easier to create a .txt file so the user can add the numbers there
and have the ... more >>
Fotoalbum looks different on Macs then on PC's
Posted by Andra Veraart at 12/5/2005 5:22:24 PM
Hi there!
I'm building a fotoalbum using XML. So everything is loaded dynamicly. Now
that I've got everything working, I decided to check things out on different
computers. PC's are all fine, but Macs aren't.
First of all: is it true that there is no Flash Player 8 for OS9. And will
t... more >>
color code
Posted by gse at 12/5/2005 4:39:49 PM
i am trying to create this simple code, i say simple but i am not getting it.
when i click on a button, i want my button to change color and stay that
color, so i am using action script to do it.
button1.onPress = function(){
var colorful = new Color
colorful.setRGB(0X003366);
}
... more >>
Getting a name
Posted by Cristiano Venturella at 12/5/2005 3:45:34 PM
How can I assigned the name of a movie clip or an instance to a variable?
thanks
... more >>
Flash Class and import path
Posted by Nixy at 12/5/2005 2:35:44 PM
I need to import new Class in my document. I know I can do -> Import MyClass,
but the path to reach my class is different. Here is the real path:
"../classFolder/MyClass.as". My problem is the "../". How to reach a Class the
reside outside the actual folder.
Any idea ?
... more >>
Upgrade Flash MX to Flash MX 2004 code
Posted by TerrySimkin at 12/5/2005 1:45:14 PM
The following code does not work if I select a Flash MX project. The code does
not work even after I upgrade in the save to a
Flash MX 2004 project.
Currently upgrading some older Flash MX examples for classroom use, but
Actionscript 2.0 object creation not working.
Is there some tec... more >>
String conversion problem
Posted by Barryon at 12/5/2005 1:36:08 PM
Hello everyone,
I'm just trying to generate a random choice of movie clip and then effect that
clip by turning its visibility off
Here's what I've got:
x = Math.floor(Math.random()*2);
y = Math.floor(Math.random()*9);
trace(x);
trace(y);
//got two xy values
var m... more >>
Things are loading in Flash
Posted by jcavardfromneta at 12/5/2005 1:33:12 PM
Hi! I am having some serious problem with the MovieClipLoader class... Can
someone tell me why the movie are loading in Flash MX 2004, but the published
file wont load anything ....
here is the code, tell me and I'll put the fla file online. Thank you so much
for ANY help
/*Array... more >>
random movie clip
Posted by Caurj at 12/5/2005 12:52:41 PM
I want to load 2 random movie clip on mouse event,
its already working...
but i want to clear (hide) the movie clip that was opened first.
on (release) {
_root["name"+Math.floor(Math.random()*2)].gotoAndPlay(2);
}
thanks
... more >>
press in correct order
Posted by krustafarian at 12/5/2005 12:05:48 PM
hi, i'm making an uber simple game, basically i have 12 buttons (instance names
1 - 12)
the user has to press the buttons in the correct order (3,4,8,12,6, 6, 2) to
proceed to the next frame.
i'm really unsure of how to script this.
can anyone help???
... more >>
List component transparant background
Posted by rudgr at 12/5/2005 11:35:32 AM
Is it possible to set the background of a list component transparent, like for instance ._alpha = 25?... more >>
Keypad Entry
Posted by Chris Molland at 12/5/2005 10:59:35 AM
Hi, I am sure this should be simple. But I am struggling to make it work.
I am developing a small Flash application to run on a stand alone computer
which has a USB number keypad attached. I want the user to be able to enter a
number using the keypad and then press "Enter" to complete the pr... more >>
Opening an html file
Posted by makate at 12/5/2005 9:49:07 AM
:confused;
I have created an swf with a link that should open an html file. how do i make the link work?... more >>
resize viewable area
Posted by The bloke from stoke at 12/5/2005 9:39:24 AM
Hi There
I want to create a flash file that has a fixed width but can change its height
to match the height of the users browser window so users running higher
resolutions can see more of the file and avoids users running lower resolutions
having scroll bars in the browser.
Also I woul... more >>
controling volume of all sound with one controller
Posted by sanjuu at 12/5/2005 7:45:30 AM
hi,
i have some sound on timeline some are loaded with diffrnt swf ,but i want to make one sound volume controller.... more >>
Keys listeners and memory?
Posted by erezcarmel at 12/5/2005 7:38:12 AM
I'm writing a a Flash application, and I'm using Key (keyboard keys) listeners.
I would like to know if those listeners are "heavy duty" for my computer's
memory?
If they are, is there a "lighter" way to "listen" to keyboard actions?
... more >>
easy way to collect money by internet
Posted by liza--18 at 12/5/2005 7:04:29 AM
http://putdata.com... more >>
Need to Repeat a Function Every Few Seconds
Posted by pinion247 at 12/5/2005 6:46:58 AM
I currently have a function called loadImages, which takes 3 parameters (pic1,
pic2, pic3). All the pictures that I'll pass into this function are held in an
array called "images", so I'd call the function like so:
loadImages(images[0],images[1],images[2]) .
How can I get ActionScript to s... more >>
Re: change fonts
Posted by FlashySandy at 12/5/2005 6:12:07 AM
you want to change the fonts dynamically using flash or its something else !
can you explain ur problem ?... more >>
Corresponding a Preloader
Posted by ClaytonZ at 12/5/2005 5:02:40 AM
New To Forums,
How can I create a pre-loader that will actually correspond with the
percentage of the site that has actually loaded?
I can make a preloader imitator to just show like it's loading but then if the
site isn't done loading and it says
100% complete people will just be waiti... more >>
time delay on unloadMovie
Posted by duskofdawns at 12/5/2005 3:21:11 AM
hello,
i was trying to design a menu setup that works like macromedia.coms and i
think i have it working, except for the delay on the unload movie when you roll
off the menu.
so far i have it setup where when you roll over one of the main buttons a swf
file containing the next level o... more >>
Simple scroll button question
Posted by instant eggrolls at 12/5/2005 12:57:24 AM
i'm using the following code to scroll a dynamic text box, however, I'd like it
to scroll as long as the buttons are being pressed. I know pretty much anyone
here could answer this question. Pre-emptive thank you.
onClipEvent (mouseDown) {
if (scroll_dwn.hitTest(_root._xmouse, _root._ymou... more >>
Loading jpegs in a class definition
Posted by bderber at 12/5/2005 12:22:42 AM
Need a little help from the veterans familiar with Falsh 6.0 which did not have
the MovieClipLoader class. My target player has to be 6.0 (darn).
I am attempting to load a jpg into a mc as part of my Class Constructor code.
Other functions need to run but only after the jpeg is loaded. ... more >>
how to check if jpgs have loaded inside an empty MC using loadMovie
Posted by noah NO[at]SPAM nucleus-studios.com at 12/5/2005 12:10:28 AM
Im using loadMovie command to simply load in jpg's from a directory into these
empty movie clip containers and of course it works fine. But i need a way to
check to see if the images are loaded, and if they are then it goes to frame 3
and play. If it there isnt an image loaded in the MC (or in... more >>
|