all groups > flash actionscript > january 2007 > threads for friday january 19
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
Loading External SWF and setting variables
Posted by dotcomguy at 1/19/2007 10:32:24 PM
Hello Everyone.
I'm sure you are all a where of the FlashVars attribute for Flash embeds which
holds variables for SWF's when they are
rendered. I'm attempting to load an External SWF dynamically from within my
own SWF and need to provide it with the values
normally stored in the Flas... more >>
PhoneFormatter doesn't work
Posted by DangerAhead at 1/19/2007 9:23:32 PM
The phone formatter doesn't work.
Run this simple test to see:
1. created a TextInput field with the id of "day_phone_input"
2. enter this a number formatted like this: [b](415) 555-1212[/b]
and format it with the AS below and it throws an error.
I looked in the PhoneFormatter class an... more >>
array access notation with strings?
Posted by DZ-015 at 1/19/2007 9:15:57 PM
I may be confused, but I thought you could use array access notation with
strings. Can someone tell me why this code doesn't work (or suggest new code):
the code is meant to rewrite the block of text in tText at a rate of one
character per frame... (when the function is called once per fra... more >>
Positioning Movieclip
Posted by Roger NO[at]SPAM Fence Check at 1/19/2007 8:14:28 PM
Hello,
I'm a complete n00b, so please bare with me.
I am doing this:
loadMovieNum("splash.swf", 1);
Now, I'd like to have that movie played on a different position than the
default. I'd like it to move 200pixels up (_y = -200 ?).
Any idea how I might be able to do this? I do no... more >>
Calling a function from a movieClip
Posted by rc3rdmd at 1/19/2007 8:08:02 PM
I have a function in my main timeline but I want to call it from a movieClip -
I've tried _parent.myFunction() and _root.myFunction() but they don't work
while _parent.gotoAndPlay does work.
Thanks.
Rob Childress
... more >>
Where can I get the AS 3.0 libraries?
Posted by Brenton07 at 1/19/2007 7:52:53 PM
Does anyone know where you can download the actionscript 3.0 libraries? They aren't on Adobe Labs anymore.... links anybody?... more >>
Please help xml and actionscript
Posted by indianANGEL at 1/19/2007 6:39:02 PM
Hi there,
I am newbie with xml and actionscript stuff. I am building a slideshow with
the help of an online tutorial. The image path is stored in an xml file. My .as
code does grab the image path, but only displays the last image. I figured this
out because I did Debug Movie and it show o... more >>
Pausing code?
Posted by BryanThomas at 1/19/2007 5:46:58 PM
Is there any way to pause the code for a certain amount of time before it moves on to the next line? Thanks.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Active X
Posted by Rx0r at 1/19/2007 5:46:51 PM
Hello,
Does anyone know how to stop the active x control in IE from interfering with
my flash website? I know it is a security feature of ie, and I could turn it
off in the browser, but I want other people with the default security settings
to be able to enter my site easily. Firefox and Ne... more >>
auto numbering a slide presentation
Posted by egibson.mail NO[at]SPAM gmail.com at 1/19/2007 5:46:23 PM
I have a slide presentation created and I am trying to figure out how to auto
number the slides and display on the presentation.
I am new to actionscript and have hit a roadblock, i.e., can't find any
tutorials etc.
Does anyone have any suggestions on how to accomplish this?
thanks
... more >>
Can you populate an MX v1 Combo Box with a data array?
Posted by letterboxmail NO[at]SPAM gmail.com at 1/19/2007 3:30:28 PM
I have to use a MX v1 Combo Box for a project and I want to populate
the combo box with a data array but I can't seem to figure it out. I
have gotten it to work with a v2 Combo box but not a v1 Combo box.
Any help would be greatly apprciated.
This how I populated the v2 Combo Box:
var sta... more >>
dynamic text boxes, font size issues
Posted by helpLaura at 1/19/2007 3:00:30 PM
I have created a dynamic text box and an input text box.
I have produced code that replicates whatever is typed in the input box to
display in the dynamic box along with a date and time stamp once a button is
clicked.
This all works fine, except for the sizes of the fonts. for both box... more >>
360 turnaround help
Posted by jbw! at 1/19/2007 3:00:28 PM
I'm trying my hardest to learn actionscript and OOP but I'm finding my maths
and programming fundamentals is seriously letting me down with this. I
understand [b]how[/b] these 360 turnarounds are created I just can't work out
how to code the mouse movement to make the movie clip jump frames in... more >>
function calls did something change in Flash 8
Posted by ooba at 1/19/2007 2:33:23 PM
Hi everyone,
My question is what has changed from flash mx pro to flash 8 pro when calling
functions.
On frame 1 I have several functions that use to work. Such as
function getRaterRatingData(result)...
and I could call them from that frame or nested movie clips. But, now I have
had t... more >>
Sending a variable and a file together
Posted by Swirlsky at 1/19/2007 2:15:14 PM
Hello,
Can I send a variable and a file together? So I would like to use the
FileReference upload() method and the LoadVars send() method together to
sending a file and a variable to a PHP file during one reloading.
... more >>
how to fix asynchronous communication between fscommand and javascript
Posted by -Darius- at 1/19/2007 1:10:27 PM
Hi all, I'm using fscommand to get a Value into Flash and modify it.
Everytime Flash doesn't recognize the value because
Flash doesn't wait and the value isn't filled at the modification process.
So i found a solution with Buttons, but i want to let this litlle demo-code
(attached) run ... more >>
encoding strings into flash
Posted by dave at 1/19/2007 12:19:53 PM
I have an asp page which sends values into flash using &var=value
if the value has an & symbol in it then it fails, so i use server.urlencode
in the asp page to change the & symbol in the string. This usually works
well, but i now have problems if the string contains any unicode characters,
... more >>
Calling a variable from a external txt file that is equal button name
Posted by oaj flash 777 at 1/19/2007 11:29:54 AM
Hello
I have a variable in an external txt file that is = the name of my button. I
have loaded the file in to flash in an object called my_lv.
How do I make line three in the code valid ?
_root.map.name1900.onRollOver=function() {
this._alpha=20;
txName=my_lv.+(this._name); // this lin... more >>
flv loaded from another domain
Posted by lus29 at 1/19/2007 9:51:43 AM
i have a banner reading a flv file from an absolute path/another domain.
unfortunately, it doesn't load.
is there any security restriction i can set for reading external content from
a different domain?
thanks.
... more >>
Event listner not owrking in external as file.
Posted by dave.fet at 1/19/2007 9:08:33 AM
Hi,
I'm stuck please help.
I'm converting a web site to flash, and because we need to use the same
template for all pages and because it most be easy to change the images, I'm
loading images and menu items in an external *.as file and import this file in
every page.
The problem arise... more >>
Dynamic Text Boxes / Resizing text boxes
Posted by Jonibean at 1/19/2007 9:01:24 AM
I have a site with a dynamic text box that I have initialized (I'm not sure
that that is the correct term) at the beginning with:
myText = new LoadVars();
myText.onLoad = function()
{ textBox_txt.htmlText = this.content;
};
myText.load("text/bio.txt");
stop();
Then I have jus... more >>
LoadVars.onLoad returning failure..
Posted by Marek FlashUser at 1/19/2007 7:37:32 AM
Hello,
I made a small app in flash that sends an e-mail by calling a simple mailing
script in php. I used LoadVars to store the separate variables and then a call
to sendAndLoad() to call the mailing script. It works. I get the e-mails just
like i expected to, but for some reason, after... more >>
buttons with links added in actions frame
Posted by Jonibean at 1/19/2007 6:57:37 AM
I am trying to set up my site using buttons with instance names instead of
adding the code to the buttons themselves, as the newer actionscript is
supposed to be done.
However, I am finding that it only works if I put the code on the same frame
as the buttons themselves (in the actions lay... more >>
Alert.show() not working!
Posted by spysum at 1/19/2007 5:50:57 AM
i m creating an alert box but it seems not working as i have the alert
component in my library. But when i call for it Alert.show(), it wont appear!
why?
function checking(){
if (_root.mc.hitTest(_root.bar) && _root.mc.hitTest(_root.bar2) ){
mx.controls.Alert.show("Hello, world!"... more >>
is there a script that can prevent videos to work?
Posted by karimbalaa at 1/19/2007 5:12:16 AM
I have a template from template monster , and for some reason videos wont play
in it , its like it totally ignores the video, so i was wondering if template
monster put a script somewhere that disables video.
Thanks
... more >>
SWF loading issue
Posted by sujay123 at 1/19/2007 5:07:22 AM
Dear All,
Stuck with a peculiar problem..
We have developed a course and content file size in that course is 1 MB.
New files get loaded on click of navigation buttons.
Network constraints are such that after we click any navigation button, maxium
size of the packet can be 100 K.
So we ... more >>
onClipEvent Issue
Posted by firewall72 at 1/19/2007 5:01:03 AM
Hi,
I have a form that is used to submit an email (PHP script). The form and
email work well, but I'm unable to proceed to the next frame using the
"onClipEvent(data) action script. Bascially, I would like a Thank you or Email
confirmation page to follow the submit. Currently, the email... more >>
Quick question
Posted by GRaPHicRtIS at 1/19/2007 4:02:39 AM
I want to have a MC move down the y then when it reaches a set value for y it
jumps back to the top to drop down the y again. This is what i got but it just
stops. what i'm i doing... why does it not work? thanks
this.onEnterFrame = function (){
if (this.T_A._y < 143) {
this.T... more >>
Actionscript assistance needed to complete site
Posted by wynterain at 1/19/2007 2:51:53 AM
I forgot the site that allows you to load the swf file so that anyone in the
forum can view it to expedite the assistance process. If someone can be so
kind as to tell me, I can post the swf file.
OK there are two problems that I am experiencing. One is when I click on cat
or elephants ... more >>
How do I stop streaming audio from loading in Flash?
Posted by dsvsadvas at 1/19/2007 2:14:42 AM
Hi,
I did a Flash slide show that plays streaming audio on each slide. I use the
sound.stop() action to stop the sound from the previous slide. This works ok.
However, I've discovered that if I click "Next" to quickly, eventhough there
are no overlapping sounds, Flash still streams multip... more >>
Reload whole movie as projector
Posted by NewMediaRoc at 1/19/2007 1:49:37 AM
This is similar to a question I had asked before
(http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=288&threadid
=1215121). I was wondering if there is a way to reload a projector,
specifically an .exe. Will I have to keep the .swf with the .exe and have it
load in the .swf e... more >>
actionscript with ball rotate (help) urgen
Posted by rita_ruan at 1/19/2007 1:13:55 AM
can someone help me in flash actionscript?
how to make a ball rotate in flash actionscrip and it can stop rotating by
press mouse. the ball will stay on same position, it just rotates follow the
mouse direction.
if you cant get the concept, there is an example which is using javascript to
... more >>
|