all groups > flash actionscript > august 2007 > threads for thursday august 16
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
Dynamic variable concatenation (eval vs array access operators)
Posted by gbowhall at 8/16/2007 11:13:31 PM
Hello:
Well it has been a long time since I've been emerged in Actionscript, and I'm
struggling getting up to speed with some of the changes. I wrote a bunch of
code that uses the "eval" function to dynamically reference variables and my
movie is running slow. This may or may not be relate... more >>
DataGrid - How to empty it
Posted by stephan.k at 8/16/2007 10:48:51 PM
Dear Forum
How do I most efficiently empty and reload a DataGrid. I have tried to
datagrid.removeAllColumns() function but then when I reload the dataGrid with
the new data everything is gone....
Any wise advice?
Thanks
SK
... more >>
help on as2
Posted by wise_man_ at 8/16/2007 10:29:58 PM
Hi,
I saw this code one day and I'd like to have explanation on it :
"class myClass extends Movieclip{
....
this.createEmptyMovieClip(String(y),
i+10).attachMovie(this.items[y].id,'_mc',1);
......
this[y]._x =
[b]this[y].x[/b]=left+i*(this.icon_min+this.icon_spacing)+this.icon_spa... more >>
getPixel
Posted by jabresner at 8/16/2007 10:21:11 PM
I'm trying to create a color picker that will let me mouse over an image a
determine what value the pixel color is. I found the following code in the
Flash help. But, when I use it, it creates a color block over my image. I
understand why it's done, but it's not what I'm trying to do. Instead,... more >>
ExternalInterface remove callback?
Posted by cayennecode at 8/16/2007 9:51:31 PM
image editing
Posted by LENGLAIN at 8/16/2007 9:03:26 PM
I am trying to make a little flipbook, but I havr the following problem
Each page I want to make has to be a more or less perfect rectangle.
Whenever I curve the pages or distort them, FLASH merely distorts the picture
inside a white box. The actual page stays rectangular. Is it even pos... more >>
Accessing non-local variable in event handler
Posted by at 8/16/2007 8:26:51 PM
Hello,
I'm trying to pass the 'clickTagURI' variable to the
'clickThrough_mc.onRelease' handler defined inside the
'response_lv.onLoad' handler. I'm currently stuck trying to access
"response_lv.clickTagURI" from inside the internal event handler. I
also cannot access it as a global variable ... more >>
Textfields input/output
Posted by var dating=porking at 8/16/2007 8:26:01 PM
Is it possible to have a textInput field update another textInput field (and
vise-versa)?
In other words, I want to be able to type a number (percent) in one field and
have the other field display the whole number value. As well, I want to also be
able to type in a whole number and have t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Action Script or Java Script Function
Posted by mgortarez at 8/16/2007 8:23:51 PM
I am trying to create a transparent video overlay for our site, I can get the
video posted and it works great but I wanted the video to stay in the bottom
corner even as you scroll. Here is an example site I found that is doing what
I want to do, the video may take a bit to load but if you no... more >>
loading external from text file
Posted by KG800 at 8/16/2007 8:22:33 PM
Hi,
I created a flash file that pulls text files and images. I have the text files
and images posted to the web and in my flash file I have absolute url's to the
location. When I test the movie on my computer it works fine, but once I upload
the flash file the images pull in but the text ... more >>
loadClip
Posted by cre8ive1974 at 8/16/2007 8:02:08 PM
I'm trying to build a photo gallery that uses the following code..
picButton.onPress=function(){
var MCL:MovieClipLoader = new MovieClipLoader();
MCL.loadClip ("otten.swf","holder");
}
That works swell, however when I click another button I have it load into the
same "holder" MC, s... more >>
Looping movie clip X number of times and then stop
Posted by strong_new at 8/16/2007 7:41:11 PM
For some reason I am having trouble making a movie clip loop X number of times
and then stop. The movie clip is on the main timeline and then inside the movie
clip (instance name "hotel_MC") I named the frame "start" and added my code to
the last keyframe. Attached is my code. Why is this not ... more >>
Dynamic textbox
Posted by vamc616 at 8/16/2007 7:37:42 PM
Hi,
I am working on flash editor using actionscript where user can drag the
textbox control from left side and place in the screen,
i am able to place that textbox and user is able to type the text in textbox.
Now my problem is once user type text into textbox and then select another
c... more >>
Dynamic Controls
Posted by vamc616 at 8/16/2007 7:33:43 PM
Hi,
I am doing a flash editor using flash actionscript where user can place
controls like textbox, background images, videos, images, oval, rectangle,
pencil drwaing etc. i have succed in building this . In that editor there is
option for Copy, cut as well as paste , now i need to do codi... more >>
Event.RESIZE unusual
Posted by LinkOracleHero at 8/16/2007 7:13:31 PM
package
{
import flash.display.*;
import flash.events.*;
public class scrollUnit extends MovieClip
{
function scrollUnit () {
this.stage.scaleMode = StageScaleMode.NO_SCALE;
this.stage.align = StageAlign.TOP_LEFT;
this.stage.addEventListener(Event.RESIZE, resize... more >>
dropTarget
Posted by padrepio at 8/16/2007 6:56:45 PM
I've been able to create a draggable movie clip in flash. I want to be able to
have the user drag the movie clip over another clip and then perform more
actions based on the dropTarget event. Is this available in CS3?
... more >>
How do I open a Named Anchor link to html in flash
Posted by ToffeeCrisp at 8/16/2007 6:11:12 PM
How do I open a Named Anchor link in flash to open to a specific part in an
html document?
i tried using the "index.htm[b]#info[/b]" in get URL function but it doesnt
find the anchor (<a name="info" id="info"></a>) on the webpage it opens.
I need it to open in _self also
thanks in ad... more >>
Flash _alpha or EnterFrame Bug?
Posted by gavinnosler at 8/16/2007 5:51:15 PM
I ran into a problem and isolated it into a small Flash movie. Just create a
new Flash movie, draw a shape, convert it to a MovieClip, and put the attached
code onto the MovieClip instance. Basically, I set the _alpha to 0 on Load,
then on EnterFrame I either add or subtract by increments of 1... more >>
button link
Posted by Nick_z at 8/16/2007 5:47:07 PM
I'm new at flash so I'm sure I'm just missing something, but I don't know how to link a button to a .jpg file that the user can download? Can anyone help me please I can't figure it out.... more >>
Getting FlashVars variable into a Form App
Posted by skyhead03 at 8/16/2007 5:42:39 PM
I've never had a problem setting a variable using a timeline based flash app. -
var1 = _root.var1 or _level0
But for the life of me, I can't figure out the syntax. None of the these work.... more >>
Movie Clip looping X times
Posted by strong_new at 8/16/2007 5:32:28 PM
For some reason I am having trouble making a movie clip loop X number of times
and then stop. Inside the movie clip (instance name "hotel_MC") I named the
frame "start" and added my code to the last keyframe. Attached is my code. Why
is this not working?
Thanks!
this.hotel_MC.count++... more >>
please help im a newbie
Posted by chnchecker at 8/16/2007 5:26:47 PM
Ive created a simple flash player that uses an xml playlist and i have
successfully connected it to my list component.My problem is that Ive created
a instance of a forward button and i want to make it go to the next video in
the playlist and highlight it in the list component.Im not sure exa... more >>
textInput , listeners
Posted by Slowski at 8/16/2007 5:18:08 PM
Trying to change an input textField's data (dollar increase) when I change the
data of another textField (percent increase).
I have three inputTextFields and one dynamic textField on my interface. One
inputField on top, two side-by-side below that and one below that (like a
baseball diamon... more >>
DataGrid : hide column : possible?
Posted by stephan.k at 8/16/2007 5:03:23 PM
Dear Forum
I'd like to hide a column in a datagrid? I'm getting ID's from the database
that the user doesn't need to see but that are necessary to communicate back
with the database. I'm using the dataGrid component to list the content.
Is it possible to hide the ID column in the data... more >>
animation with actionscript
Posted by baby_flash at 8/16/2007 4:48:58 PM
I have been looking at the nikeplus.com navigation bar at the bottom of the
page and was wondering if anyone had insight on how to begin creating something
like that. Specifically, the actionscript animated boxes rising on mouse over
and lowering on rollout. I have a been able to create some... more >>
hide/show a movie clip
Posted by fede7 at 8/16/2007 3:54:22 PM
Hi,
I have a running movie clip on top of other things. At a certain frame, it
should disappear. How can i use actionscript to achieve this? I don't want
to/can't use a simple new KF and delete it, because i want that when navigating
back, the movie plays on, wihtout starting from the begin... more >>
AS 3: event handeling
Posted by Vee at 8/16/2007 3:19:38 PM
I thought sending a var directly to the event handeler would work but i was
wrong. How can you adjust/conditional a function so that when one button is
clicked it does one thing and the other another?
function nextClick(event:MouseEvent, mess:String):void {
trace(mess);
}
getStarted... more >>
AS 3: problems calling multi MCs
Posted by Vee at 8/16/2007 2:57:17 PM
I would like to have a way to call all MCs with similar instance names without
having to know the entire name. I built the word "step" into the beginning of
each clip. I thought the new ReExp class would be good for this. Where do I go
from here. PS: they are all located on the main timeline.
... more >>
AS3 class diagram poster
Posted by wsarris at 8/16/2007 2:12:56 PM
On the Adobe site and in several other posted locations is a pdf document
showing the AS3 class hierarchy. If contains mistakes. e.g. under the
flash.filters package, there are two ConvolutionFilter classes. One should be
labeled DisplacementMapFilter.
This file is secured and cannot be re... more >>
how to link and autoplay this swf file?
Posted by mozartpena at 8/16/2007 1:46:13 PM
hello guys
well we've been given a Flash homework from school. i've basically done a step
preloader, and it preloads all other swf files well. the problem is we are
supposed to preload this file called kerplunk.swf downloadable from this site
http://3dclass.multiply.com/video/item/25
wh... more >>
Target a different size than ScrollPane content when invalidating or redrawing...
Posted by sberry at 8/16/2007 10:03:33 AM
See http://www.seanberry.com/scrollPaneInTheAss.html for reference
Have an interesting situation here. I am using a scrollpane to hold a
loaded movieclip (scrollContent_mc for reference) which contains several
mask/image combinations. The images within scrollContent_mc can be
resized by u... more >>
reference a movieclip by a variable containing its instance name?
Posted by lichtjiang at 8/16/2007 5:38:59 AM
There are some movie clip instances on the stage (not dynamically created at
run time). Now, I want to do this:
use a variable to hold a instance name at runtime. then use this variable to
reference the movie clip it points to.
Problem: suppose this variable is named "mc_ref". it fails t... more >>
AC_RunActiveContent.js error
Posted by Terminum at 8/16/2007 2:19:03 AM
Hi,
When I view my swf in a browser I get an error stating that
AC_RunActiveContent.js is required. This doesn't happen on my computer when
viewed locally, but it happens on others whether it's hosted locally or
remotely. The only thing embedded in the page is a swf that has action script ... more >>
Not recognizing variable as number
Posted by jjulie at 8/16/2007 1:22:45 AM
Hi
let's see if I can explain what I'm trying to do, and what the problem is.
Basically I'm telling a symbol to move from its current position to another.
But instead of putting a number behind symbol._x = I placed a variable. For
some reason, the symbol won't move to the x coordinate nu... more >>
resize movieclip inaccurate
Posted by Craig Grummitt at 8/16/2007 12:58:14 AM
how to replicate the problem:
draw a rectangle 350 pixels high and say 10 pixels wide with a stroke width of
1.
draw a rectangle beside it 30 pixels high and 10 pixels wide with a stroke
width of 1. convert this second rectangle to a movieClip called test.
draw a rectangle beside test 30 p... more >>
can place a swf with wmode transparent on top html without effect html link?
Posted by adreny at 8/16/2007 12:00:00 AM
i using DIV to put my swf (Param=wmode value=transparent) on top of the html,
after that i can see that the swf background is transparent. but one thing
happen , the html link has been overlap by the swf. i cannot click even
highlight the link of the html.
any expert understand my meaning... more >>
Close Button
Posted by JJboura at 8/16/2007 12:00:00 AM
Im trying to create a button to close the SWF im running... i havent been able to find any good code that might imply how to do this... any ideas?... more >>
Emergency: jump to scene
Posted by Firenzy at 8/16/2007 12:00:00 AM
I have a problem!
i want a certain frame to jump to a a different scene.
Ie when it play sto scene 169 to go to scene 2 - named - Reaction... more >>
Swap to another movieclip
Posted by lokat at 8/16/2007 12:00:00 AM
How can I swap from a movieclip "a" to movieclip "b" if "a" (instance name "a") is already on the stage whereas "b" is in the library.... more >>
cursor stops movie clip buttons
Posted by Opera Rat at 8/16/2007 12:00:00 AM
I have animated movie clips as buttons. When the animation reaches the point
where the cursor sits on the button it vanishes. Here is the script I have on
the main time line:
//news_mc is the instance name of my movie clip button
news_mc.addEventListener(MouseEvent.CLICK, newsPage);
... more >>
|