all groups > flash actionscript > august 2005 > threads for tuesday august 9
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
3D Product Tour
Posted by joe meca at 8/9/2005 11:47:58 PM
I am looking to make a 3d product tour like this
http://www1.macys.com/catalog/product/index.ognc?ID=160609&EXTRA_PARAMETER=ZOOM&
LinkLoc=118&PseudoCat=118&CURRENT_PAGE=0
I need all of those features. Anyone recommend anything inparticular that is
equivalent to this?
Thanks in advan... more >>
Problem making many objects of the same type
Posted by SIMphilip at 8/9/2005 11:31:07 PM
Hello everyone,
I am a relatively new user of Flash, but I picked up most of it fairly quickly
(using a book), but now I am having problems with some ActionScript code I am
working with (I am using MX 2004, so it's AS 2.0). The basic problem is that I
have a character who needs to be able... more >>
String to Array
Posted by David Douglas at 8/9/2005 10:41:48 PM
Hello all,
I have a string separated with commas. What can I do to make this an Array?
Below is a simplified version of my Actionscript to demonstrate:
myitems = "one, two, three, four, five, six" ;
itemArray = new Array(myitems) ;
// I want to output "one" only here
trace( itemArray[0] ... more >>
Object Oriented Actionscript 2 Question -
Posted by jfred79 at 8/9/2005 9:08:49 PM
Hi, new to Actionscript and object oriented programming here. I'm wondering
what the benefit of using getters and setters is, why would you use them rather
than setting a property directly? Could someone maybe give me an example of a
situation where it would be of real benefit to use them? Tha... more >>
Play reverse by KGLAD
Posted by highlander_1 at 8/9/2005 8:54:54 PM
I think KGLAD is the "innovator" to this superb reverse script
But I have som problems, as usual
Forward and backward buttons is laying in Main timeline together with one mc.
Here is the "brilliant reverse script":
//attach the code to your _root timeline and then you can use:
//your... more >>
Loading Jpegs in to flash using load var
Posted by elFranco at 8/9/2005 8:43:58 PM
Hi i'm a bit of an action script beginner and I'd like to have the jpegs in my flash movie to load from my server to save on loading time.
... more >>
Preloader remains after loading main swf
Posted by Thinmedia at 8/9/2005 8:33:34 PM
I have a preloader.swf loading main.swf into level 1. Everything was fine but
now I see that the Preloader is remaining behind, where it used to be replaced
by the main.swf. When I load a minor.swf inot the main.swf, the Preloader is
still there, behind the main.swf. Its wierd this is happenin... more >>
Incremental Array Name and Postion.
Posted by Vekdeer at 8/9/2005 8:24:30 PM
Hello,
I am trying to dynamically create arrays based on a FOR loop. I would the like
the array postion to be the number of times the FOR loop has run, and the array
name to be based on a counter else where in the script.
for ( q = 0, q < 20; q++) {
for ( i = 0; i < 10; i++) {
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Optimizing use of XMLconnector component
Posted by McFry at 8/9/2005 8:15:06 PM
I have a site which uses the XMLconnector component in more than one external
movie. I'm wondering: is it possible to access the XMLconnector component
loaded in a parent movie? Or does anyone have other suggestions for
optimization of this type? I'd like to reduce library component redundancy... more >>
Load Variables issue with loading in external.swf
Posted by ActionScripter1 at 8/9/2005 8:11:13 PM
Hi you guys,
Having a bit of a problem here if anyone of you guys could help it would be
very much appreciated.
I have 2.swf's main.swf and nav.swf
On the 1st frame of main.swf I am loading in some variables from a php file
there are 8 variables being loaded in. this works great. b... more >>
HTTPS over HTTP, insecure? Why?
Posted by Ebert Waddleburg at 8/9/2005 8:08:29 PM
From macromedia:
"A secure server that allows access to movies hosted via a non-secure
protocol
It is not advisable to permit HTTP content to access HTTPS content. This
practice can compromise the security offered by HTTPS."
What is this all about? An SSL connection is an SSL connection, co... more >>
FLV Endtime or Duration?
Posted by Dacodo at 8/9/2005 7:59:33 PM
Here is what I'm attempting to do. I work for a media company that owns ~20 tv
stations. We are considering moving from Windows Media to Flash video so I'm
doing some experiments.
We need the ability to play a segment of a longer video file. We used to use
RealVideo and could do this with ... more >>
Loadvars and strings
Posted by mparmpedas at 8/9/2005 7:52:14 PM
I ve been using textBox = myLoadVar.noit12; to get a variable from a text file
(and it works fine).
But, i would like to use a string to define the variable i want to load, i.e:
myString = "noit12";
textBox = myLoadVar.myString;
is there any way to do this?
... more >>
Prototyping questions
Posted by MichaelBlum at 8/9/2005 7:25:34 PM
I would like to use prototyping ( I think ) or some other mechanism to enable
all TextInput objects in my application to store their text in an array when
they receive focus. I've been reading up on prototyping and all of the
examples I see are adding a new function to the class. Can anyone ... more >>
how to remove imported swf from the scene
Posted by DTS ES at 8/9/2005 6:21:33 PM
Greetings!
I'm importing a small movie on the scene of the main swf and by clicking the
relevant button i need to somehow remove completely this small swf...
glanced some topics with removing a MC, but nowhere couldn't find how to
remove the whole swf (where i have a few layers and frames)
... more >>
News Ticker
Posted by tech_varun at 8/9/2005 1:24:41 PM
I am trying to create a News Item, where the text scrolls and scrolls from top
to bottom. I have the news items being fed into a Dynamic Text Box from a
Database. (using Flash Remoting). Now how do i create the animation or use
action script to have it scroll from top to bottom without it chew... more >>
simple onPress function
Posted by mmullins at 8/9/2005 12:53:14 PM
When I embed my flash movie into an html page, I would like an html page
(macromedia.com in this case) to populate an iframe in my page when a button is
pressed. I have the javascript code in the head of the page and other links
work correctly to populate the iframe in the page.
How do I... more >>
[MX 2004] rounding different on differend machines/platforms
Posted by bit burger at 8/9/2005 12:48:38 PM
Hi,
I have build a navigation that sets the position of each navigation
point relative to the one before. On my intel 3.2/win2000 machine
everything works fine, but on an intel 2.8/winXP the space between the
last navigation point are not the same. I use a function where I
condition the _... more >>
Movie button won't work 1st time..
Posted by nsbrown at 8/9/2005 12:37:42 PM
When my menu loads on screen the menu buttons will only work when I roll over
it then come off the button then select it. Why won't work 1st time? Can
someone see if anything is out of order
mcLogo.gotoAndPlay(2);
};
_level0.mcLogo.btnEnterBtn.onRollOut = function() {
mcLogo.gotoAndPl... more >>
flash attachSound not working on level
Posted by forums.macromedia.com at 8/9/2005 12:30:14 PM
Hi
I have a movieClip for my navigation which has a sound on rollover. The
soundclip is pulled from the library. The code is below:
moviesound = new Sound();
moviesound.attachSound("clickfast")
moviesound.start();
This works fine on its own but is actually loaded into a level. No sound ... more >>
debugging code inside classes
Posted by mason phoenix at 8/9/2005 12:26:22 PM
Hello, my question is: can i debug code inside my classes, i have several
classes and i didn't manage so far to use debuger with them and i would really
like to. Is there any chance of success?
Thank you.
... more >>
Flash 8 Appeared
Posted by kunjanos at 8/9/2005 11:40:40 AM
I saw some presentation of the Flash 8 and the new Flash player. But nothing
about the bugs that are corrected(or maybe NOT). Flash MX 2004 Professional
edition is full with bugs. Especially the UI Components, that are quite hard to
use, and has a lot of bugs. When will we know about the bugs ... more >>
Scrollpane and attachmovie
Posted by tashwhan at 8/9/2005 11:37:15 AM
Hi,
I have posted this in the general flash discussion, but my time is really
running out so I have posted it here too in the hope that some nice person will
see it and help me. Don't worry I will not repost again.
I am having a problem with the scrollbar component which a lot of people... more >>
action acript check for root of movie clip
Posted by Eternal Student at 8/9/2005 11:15:27 AM
Dear All,
I was wondering whether someone could check this script for me..... I have a
scroll box, which works fine as its own fla/swf, but when I import it into
another fla and place it into a movie clip it stops working.
The working script consists of:
on (press) {
_root.righ... more >>
graphic content scrolling
Posted by tamagorci at 8/9/2005 10:51:16 AM
Hi!
I have a question. Id like to put logotypes on the bottom of my page, there
are too much of them for one screen, so the user sould be able to scroll,
left
or right and pick the one he wants. It would be nice that the scroll speed
would be faster as you go more to the corner and slower as y... more >>
PHP Upload script callable from Flash?
Posted by Dave Mennenoh at 8/9/2005 9:24:23 AM
I've been working on an uploader for a web project so the user is able to
upload a .jpg image to the server. So far, I can open a file selector, in a
new window, using java script from Flash, and get the selected file name
back into Flash. My problem now is what to do with the file name. The P... more >>
fade in and out dynamic text
Posted by krustafarian at 8/9/2005 9:03:21 AM
i'm loading some dynamic text into a textbox. i was wondering if theres any way
that i can fade the text in and out.
basically each subsequent duplicated button loads the next piece of text, via
the following script:
onRelease=function(){
_parent._parent.loadHelpText(this.selectText);
... more >>
whats wrong with my script?
Posted by krustafarian at 8/9/2005 8:25:11 AM
sorry, i've posted this problem a couple of times, but i really need it
resolved, i have a site built for player 7 and i need to add this part to it,
but it only works up to version 6 (with AS 1 or 2).
stop ();
begin();
function begin(){
gotoAndPlay("loadHelpText");
}
function lo... more >>
swapdepths doesn't work sometimes
Posted by Joeri Sebrechts at 8/9/2005 7:47:05 AM
I'm having problems with swapdepths, where sometimes it works, and sometimes it
doesn't, from the same code. I've double-checked that in all cases the
movieclips I'm trying to swap are valid and have the same parent. I've also
checked that it doesn't have odd depths (they fall in the 1 to 20 r... more >>
Macromedia Flash MX Professional 2004
Posted by PredatorMaster at 8/9/2005 6:47:33 AM
Hi! I would like to ask how can I make ''link'' ACTION to a browser/network -
URL: www.google.com for example
getURL();
and how can I made a time control to make a ''hyperlink'' to the next frame:
nextFrame();
gotoAndStop();
gotoAndPlay();
I home I asked in the right way. If ... more >>
compiler question, function declarations inside conditionals
Posted by ivanko_98 at 8/9/2005 12:53:15 AM
hello,
I?m aware that the compiler resolves function scopes at compile time. I just
wrote some code where a named function is declared inside a conditional
statement (itself inside a function) and the function was traced as
'undefined'.
When I moved the definition outside of that conditio... more >>
Stop sound.
Posted by jme_009 at 8/9/2005 12:16:42 AM
Hi there. I knowa fair bit of AS, but I've never delt with sound. I decided to
make a flash site iwth sound effects when you click on buttons and stuff. I'd
like to make an option for the user to turn off the sound effects if they wish
not to hear them. Im thinking off having music playing in ... more >>
Question bout' the mouse
Posted by addicted ta mx at 8/9/2005 12:00:00 AM
Hello again people,
this one is frustrating, i can't find anything on the net about this and i
have no idea how i would script this..........
i had an idea alittle while ago for a sniper game, where instead of using the
Mouse.hide and startDrag for the mouse(an aimer/crosshairs/scope kinda t... more >>
Actionscript and buttons
Posted by nightOwl234 at 8/9/2005 12:00:00 AM
Right now i am able to click on a button(movie clip) and have it change to and
stay a different color but i can not figure out how to get the button to
continue to scene 1 frame 61, i have tried gotoandplay and gotoandstop but it
just seems to ignore these commands.
... more >>
Help with nav bar
Posted by bwm_razel at 8/9/2005 12:00:00 AM
I have a nav.as file that makes the navbar work. When I include it in my .fla
file and run it as a .swf, the frame counter isn't working. In the .as file I
have something that simply says: _root.navBar_mc.page_txt.text = _currentframe
+ " of "+_totalframes;
However, I need to put:
#inc... more >>
Efficient use of onEnterFrame
Posted by alec mce at 8/9/2005 12:00:00 AM
Hello everyone,
Reading senocular's reply to a post in
http://www.actionscript.org/forums/archive/index.php3/t-68288.html, among
others, has got me wondering about how best to efficiently use onEnterFrame,
onMouseMove etc. in external class definitions. As I understand it, if you
define ... more >>
mac cannot read id3v2 tag (LENGTH)
Posted by rohan rehman at 8/9/2005 12:00:00 AM
ok it's an mp3 player
but I have noticed that on a mac (safari/ff/ie) you'll get "NAN" where the
song duration is supposed to be (next to the song name)
and as a result of mac not reading the length soundObject.id3.TLEN of the mp3
file the white bar will be maximised.
is ths a bug in t... more >>
bandwidth profiler
Posted by dawndawg at 8/9/2005 12:00:00 AM
If I've got a movie with 2 frames, and the first frame only has action script
to createEmptyMovie and attachMovie, why does my Bandwidth profiler say that
there is 738K in frame 1 and NOTHING in frame 2 (which has 12 different graphic
symols)??
... more >>
Urgent Help with conflict betwen tree class
Posted by Pluda at 8/9/2005 12:00:00 AM
Hello,
I need urgent help, I'm using the tree component and I'm having trouble with
removeMovieClip() and with assigning text to dynamic created textfield.
using this,
_root.mc_detalhes.removeMovieClip(); Flash doesn?t remove anything,
using
_root.mc_detalhes._visible = f... more >>
Pass dynamic text var name into a function
Posted by mjl4975 at 8/9/2005 12:00:00 AM
I am trying to pass a var name of a dynamic text field into a function but
can't seem to be able to.
I have a text field with an instance name of 'ans1_txt' and a variable name of
'ans1'. I want to use a function so I can minimise the code I have to use.
This code:
function quizSetu... more >>
changing fps of movie clip in flashlite 1.1
Posted by jsbug at 8/9/2005 12:00:00 AM
Is it possible to change or atleast make it look like the frame rate is changing of a movie clip in flash lite i can manage it in flash 6 but need a way to do it in flashlite.
thanx j... more >>
AS 2 Class Conflict
Posted by jstoneman2004 at 8/9/2005 12:00:00 AM
I just wanted to post an answer to some weird class conflicting errors that we
have experienced here at the office. We were getting an error message like
this when testing our movie: "**Error** The name of this class <your class
name here> conflicts with the name of another class that was lo... more >>
dynamic curved line between movie clips
Posted by lickteig at 8/9/2005 12:00:00 AM
Hi all,
I have created a movie with dynamic lines between movie clips but I would like
them to be more realistic by have a bit of a curve to them. Can someone help
on this. I am assuming that it is something I can add to what I already have.
I have attached my code.
function draw() ... more >>
Preload Video Issue, Please help
Posted by GoAlexFlo at 8/9/2005 12:00:00 AM
I preloaded 5 flash movies with video that range from 30 to 91 megs. The web
intro freezes for 30 seconds, I believe due to the bandwidth. The videos clips
run only after a user click a button on the home page. Is there a way to steam
a movie as you go along, rather then preloading everything... more >>
|