Query About JavaScript API
Hi Guys,
I need your help please!
Can JavaScript API work for Flash standalone applications?
Will it work for both PC and Mac?
Looking forward for your comments.
Kannan
FlashKit > Flash Help > Flash MX
Posted on: 09-11-2003, 01:37 AM
View Complete Forum Thread with Replies
Sponsored Links:
Query
I am trying do this which is really making me mad.
I have a flash file inside which i have drawn a rectangle of 50 by 30.
Now i also have a notepad file in which i have stored a numeric variable containing value 10 & 20.
Now wht i want is tht as soon as i load mmy swf file the rectangle should be drawn of size 10*20 instead of (50 by 30).
This implies tht whenever any value is changed in the txt file it should affect my swf file.
Plz help me out.
View Replies !
View Related
If Else Query
Hi There
Can anyone help me with a problem I'm having?? I have a drag n drop menu (code below)
on (press) {
startDrag ("../01");
tellTarget ("../trigger") {
gotoAndPlay (2);
}
}
on (release) {
stopDrag ();
if (getProperty("../01", _droptarget) eq "../trigger") {
tellTarget ("../status") {
gotoAndStop (2);
tellTarget ("../trigger") {
gotoAndPlay (10);
}
}
gotoAndPlay (2);
} else {
setProperty ("../01", _x, "20");
setProperty ("../01", _y, "20");
}
}
I want the menu to play in a 3rd party Movie Clip, hence the ../. The problem I am having is that on (release), none of the actions are working.
I have tried every possible connetation, and nothing has worked. The on(press) actions are working. I am convinced it is something to do with the if statement.
Any help much appreciated.
View Replies !
View Related
Query..
hi all..
I have a Previous Version of Flash 5.0 Plug in/ WinNT/ IE 5.0
and now a New Version of Flash 6.0 Plug in/ XP/ IE 6.0.
The codes I have cannot work in new configuration.
I have attached a file with the java codes.
Help on it is needed,Any solution is appreciated.
Thank You.
View Replies !
View Related
MP3 Query
Im just learning about music and flash (4/Mac)
When I try to download an MP3 off FK a new window opens showing a QT downloading. But I can't find it anywhere on the computer so assume it hasn't downloaded.
How then do I download?
Also, I want to experiment with music track off a CD. How do I get the track off the cd and into flash?
thanks if u can help with these issues.
View Replies !
View Related
Query....
Is there some way you can view the code or somehow dowload a .swf flash movie when you find it on the net? I highly doubt it - but if anyone knows how you can - it would be really good to learn the dynamics of flash. U know like viewing the code of HTML pages. Thanx
View Replies !
View Related
Query
I have a swf movie which contains several thumbnails. What I would like to do is pass via a query string the name of a swf to display in a popup window depending on which thumbnail is clicked.
The popup window will displays a movie called 'viewer.swf' which contains a preloader and a loadMovie("display_mc", "tiger.swf"); function ...so "tiger.swf" for example is the bit I would like sent from the query string.
Any help would be appreciated.
Thanks
View Replies !
View Related
Query
I am working on a WBT presentation. The whole project is designed in flash and embeded in HTML file.
As per standards, all the slides are loaded behind the template and each operation is well defined by a shortkey (keypress),
SITUATION : The template is equipped with all navigation buttons and fully functionable shortkeys
PROBLEM : The shortkeys defined in the template ie; present inside the movieclip clip clashes with the slide loaded behind the template.
Can u pls guide me a way out,
View Replies !
View Related
Fps Query
Hi guys,
I have got a fla off a m8 that wants some work done on it. I noticed that he has set the frame rate a 90fps. I have never gone behound 27 myself. Is 90 fps an exceptable frame rate to play flash movies?
Paul
View Replies !
View Related
FTP Query
This is no big problem, just slightly irritating. I'm using Fetch for FTP to a band site I run. When I open the site Fetch used to automatically download the gigs.html file to my desktop. Now I've renamed the file to gigsf.html I get a message saying 'gigs.html cannot be found'. As I said, no problem, just intested to know how to stop it. Any ideas?
View Replies !
View Related
I Have A Query
I have a query for designig a flash web site...the entire site will be in the flash..i want to know if any specific size should be taken in case of browser speification....if i take a particular document size, will it cover both 800 *600 and 1024....
please give some suggestions. Thanks.
Kallol
View Replies !
View Related
Query
Query
I’m looking at having a file on my sever for download. On my old html site you would be able to click the file name right click it and save as to get the file. What is the alternative of doing this in Flash? Is there some sort of actionscript which could make this behave in the same way?
Cheers
Dan
View Replies !
View Related
Query......
i m new to the as2. i m not getting what is difference between as2 and as3.i mean if as3 is advance version of as2. so a file made in as2 should work properly in as3, but it is'nt.
so kindly help me to differentiate between as2 and as3, and i m a person going to learn as in flash. from where should i start(as2 or as3)?
hoping for answer................
naveed
View Replies !
View Related
Query
hay,
i am a software engineer and currently working in (.net) web programming.
i m new to flash action script. last month i started work on it but, i heard that in new web development trend, flash is not recommended. because its file size is greater, and many other things, which does not suits for web sites.
i also heard that flash is going to vanish near future. i know most of the web developers who do not recommend to use flash in web site development. if this is right than what is future of flash. i dont want to discourage any one. infect i also want to learn action script, because i got it really interesting, but i'm little bit confuse about the future of action script in flash.
if flash don't have bright future so what's gonna be with action script in near future.
so is there anybody who can guide me?
regards,
naveed saleem
sweetns_4u@yahoo.com
View Replies !
View Related
Fps Query
Hi guys,
I have got a fla off a m8 that wants some work done on it. I noticed that he has set the frame rate a 90fps. I have never gone behound 27 myself. Is 90 fps an exceptable frame rate to play flash movies?
Paul
View Replies !
View Related
MC Query
Please can someone help me. As those who have read my posts before im very new to flash and action script and once again i need help. Thanks to all that have posted replys previously.
I am doing a simple site for a friend (www.readyandwicked.co.uk/raw2.html) and under one of the sections (Events) the content i have is bigger than the screen size. I was wondering if there is a way of placing all the content into a MC and have that to be scrollable with only a section viewable at one time.
Ive tried it on a tester and all the content shows up from the movie clip not just a bit at a time.
Please help and i hope that made sense.
Gaz
View Replies !
View Related
SWF Pop-up Query
Hi,
I am constructing an on-line portfolio of my work... I would like some of my design work to pop-up into centrally placed windows...
Now, before you think
- not another pop-up window question, why doesnt he just take a look at one of the many tutorials floating about on the web... I have.
And I have downloaded three different Fla's. But the thing is they only seem to pop-up html pages... not SWF's. Seeing as my web site will be constructed with lots of SWf files, how do I link my buttons to centrally placed swf pop-up windows? Or cant I?
Whats the story?
Cheers
View Replies !
View Related
Query Regarding .flv's
Hi there, i was wondering if anyone could spare a minute to tell me how to stop .flv video clips from playing automatically when i test my flash movie. I have 3 of them in my file and wish to only play each when i click on their individual 'play' button.
Thanks
View Replies !
View Related
XML Query
I've been building a flash file that basically pulls in xml text and displays it in a dynamic field... my query is some of the text I want bold and some normal i.e. like titles to be bold... I was wondering if it was possible to but the html tags in the xml (so <b></b>) without it thinking that the tags were XML nodes? If that makes sense?
Any advice would be great thanks!
View Replies !
View Related
Xml Query?
i was told this might fit better in this forum...
what's the syntax to simply query an xml file?
i want to set up a form (in flash 8) that has 1 textbox input asking for your name. if your name is in the xml doc, then i want one action to occur... if not, another.
thoughts?
View Replies !
View Related
Query
Hi, i know that using HTML tags in a txt file, makes the information displayed in the appropriate format in a dynamic textbox in Flash by choosing Render as HTML.
Does the same hold true for displaying content from a xml file ? Is there any other way of reading html tas in xml file ?
View Replies !
View Related
FLV Query....
Hi
Don't get me wrong, I'm not looking for Google to buy me out, I'm interested in offering a facility for users of a site to view videos I want to upload.
In order to do this, I understand the best format is FLV?
If a user uploads another file format, how does it convert?
What are hosting implications, mounting a server?
Anyone who knows of a good tutorial or can help? Any advice greatly received.
Thanks
View Replies !
View Related
Get Url Query
i need to pass something through the address bar:
Code:
this.button3.onPress = function(){
a3 = "yes";
tracker = "page2.html?a1=" + a1 + "&a2=" + a2 + "&a3=" + a3;
getURL(tracker, "_blank" , "GET");
}
but because the beginning of the url doesnt start with http:// it wont pass the info after the ? it just goes to the page.
this will be runnin on a computer with no internet access so i cant use the http://
what can i do?
View Replies !
View Related
How Can I Get Query
Hi.
for example
there is a swf object code that is myswf.swf?lang=eng
so,
there is a button that is a link in myswf.swf
for example
link is http://www.mysite.com/about
how can i add lang=eng on it links ?
http://www.mysite.com/about/?lang=eng
getURL("http://www.mysite.com/about/", "_blank");
View Replies !
View Related
Query String
in the src parameter in my html file I've got
http://www.myDomain.com/myMovie.swf?var=val
What is the best way to extract the values in this query string...I do have a method, but it is longer than i think it needs to be...any ideas?
View Replies !
View Related
PHP Email Query?
Hey All,
Just wondering if anyone knows in PHP, that when you send an email, to check if the email exists or not..
I have a script here that works fine.
It detects if all the forms are not filled in, it will not send email.
But i would like if it could detect if the email exists all not... weather to send it or not.
------------------------------------------------------------
on (release) {
if (name ne "" and email ne "" and comments ne "") {
gotoAndPlay ("valid");
loadVariablesNum ("send.php", 1, "POST");
} else {
gotoAndPlay("invalid");
}
}
on (release) {
name = "";
email = "";
comments = "";
}
------------------------------------------------------------
Some advice would be great
cheers
mdesign
View Replies !
View Related
If Statement Query?
Ok heres the problem
my preloader contains a movie, in which a graphic moves to five different positions depending on which button is clicked.
the same movie is contained in the scene that follows but i want the graphic to appear in the same place as it was when the preloader ends.
should i give each of the five positions in the preloader a variable term? ie poistion = 1 for position 1, position = 2 for position 2 etc then when the next scene loads find out what that variable is then tell the movie to a position accordingly?
if so then how???? i tried so that in scene 1 it checks, if position = 2 then tell target movie to go to and stop at a certain place but it didnt work. am i on the right lines though?
cheers
View Replies !
View Related
Query Strings
I'm trying to use query strings in a get url action to navigate thruout my site. Flash is adding a / before the ? and consequently I can't make the link. The query strings seem to work with absolute references, but not relative. Any ideas?
View Replies !
View Related
Flash Query
Which is the most appropriate file format to be used to upload an animation on a free site where we don't know the server that is supporting the site (tripod)?
The file does not seem to appear big enough, it is a tiny thing that plays in the center and does not look striking as it looks in the flash environment.
View Replies !
View Related
Simple Query
This is a simple query I am sure - but I have just simply forgotten how to do this.
I have a movie clip on frame 50 of my movie. Frame 50 has a stop action on it so that it effectively loops on the movie clip . The movie clip contains some animation which is 500 frames long. At the end of the 500 frames within the movie clip I have used the following actionscript to get the movie to move on to frame 51 of the movie(which is labelled as MainMenu)
gotoAndPlay("Scene 1", "MainMenu");
but all that happens when I test it is that the animation plays again and again in a loop.
Can someone please tell me how I get the movie to jump to the part of the movie I want it to once the movie clip has reached the end of the animation.
Thnaks
Bala Shanmugam
View Replies !
View Related
Flash 5 OOP Query
Hello all, was wondering if there are any experience OOP ActionScript programmers whom can help me out.
Realised that methods of objects are objects themselves, I'm tring to write code that passes pointers to the methods of objects( are you still with me? ). E.g.
// Gamemanager Class
Gamemanager = function ()
{
}
Gamemanager.prototype.SequenceManager = null;
// Gamemanager method - initialises the Game Manager
Gamemanager.prototype.init = function()
{
// create SequenceManager
this.createSequenceManager();
// create LoadManager
this.SequenceManager.addProcess( this.createLoadManager );
}
// Gamemanager method - create LoadManager
Gamemanager.prototype.createLoadManager = function()
{
this.LoadManager = new LoadManager( this, this.createLoadManager );
}
// SequenceManager Class
SequenceManager = function ( parent, caller )
{
this.parent = parent;
this.caller = caller;
}
SequenceManager.prototype.addProcess = function( process )
{
process();
}
....this is probably a bit much to take in one go, but I basically want the SequenceManager, addProcess method to accept a pointer to another objects method - and to run that method within the scope of it's object.
???
Help.
Chopsticks
View Replies !
View Related
Simple Query About MC
Greetings
As you can see, I'm an absolute beginner, and new to this forum.
Anyway, how do you make movie clips close when you open new ones?
I know how to run a movie clip, but now I would like to close it when I click the button which starts another movie clip (in the same position on the stage).
Thanks
View Replies !
View Related
Maxscroll Query
Anyone know about maxscroll? Someone suggested a do while loop to grow a textfield while maxscroll is greater than 1 to get all the text displayed without scrolling.
Seems straightforward enough, but my maxscroll is a bit erratic and keeps on dumping me into endless loops no matter how big I make the field.
View Replies !
View Related
Imported PNG Query
Would anyone know if i can 'cut-out' a png image in flash mx without tracing it.
I want to have the quality of a lossless png but not an angular image. If this is not possible then is it possible to specify a particular colour to be transparent?
Thanks.
View Replies !
View Related
General Cd Rom Query
i have just demo'd a cdrom project for a client and on taking home the demo he informs me that the sound is all jumpy on his boolsheet machine and images are a bit jumpy too.
I used a pretty high mp3 compression rate (112kbps) and full 100 jpeg rate. is this unadvisable and do people generally put advisory notices for machine spec on cdrom cases?
I'm an artist and animator not really a techy type (no offence) so i've never really crossed this hurdle before.
any advice?
cheers guys (and gals.)
View Replies !
View Related
Grab Url Query
(using MX)
I have a flash movie .swf on a web page called page.asp
How can I make it so that when the web page is loaded up with a query string eg:
page.asp?show=all
The variable 'show' and its value are now in the flash file?
I.e I want to have a dynamic text box in my flash move with variable 'show' so if the URL page.asp?show=all then 'all' is displayed in the flash movie and if page.asp?show=none is loaded then the word 'none' is displayed in the falsh file.
Thanks
View Replies !
View Related
Netscape Query
I'm currently updating our web site www.pcrecyclers.net with Flash 6 graphics.
And I've had a few customers contacting me who are having problems veiwing the SWF's in this site . These users are using Mosilla or Netscape.
I've edited these WEB pages in FrontPage and not Dreamweaver, could this be the problem? Or is it because I've rendered the SWF's as version 6?
Excuse my ignorence - as firstly I'm a Graphic Designer and only occasionally delve into WEB design.
Thanks in advance..
View Replies !
View Related
Print Query
Does anybody know if there is any way of printing 2 frames in 2 seperate MC's ( 1 in each) by clicking 1 button. I have tried using actions on 1 button, but get 2 print options window.
Thanks
View Replies !
View Related
Text Box Query
Hi
I was wondering if anyone can help me
i have a button on a timeline and when i press this button i would like it to enter the number 80 into a dynamic textbox somewhere else on the same timeline
how do i go about this, i have tried with tell target then finding the target instance but i am lost as to the commands after that, i would appreciate any help you could give
thanks
james
View Replies !
View Related
Text Box Query
Hi
I was wondering if anyone can help me
i have a button on a timeline and when i press this button i would like it to enter the number 80 into a dynamic textbox somewhere else on the same timeline
how do i go about this, i have tried with tell target then finding the target instance but i am lost as to the commands after that, i would appreciate any help you could give
thanks
james
View Replies !
View Related
SWF Format Query
Hi there,
Can a Flash presentation be configured to play on different operating systems - ie currently it plays on CD/DVD but not
VCD or another system which the company that supplies the plasma screen uses?
Any ideas appreciated.
Cheers,
micmac
View Replies !
View Related
HTML Query
hello everybody,
I am not a frequent user of this forum. Actually I am not a very Flash person.
Anyway, let me to the problem.
To embed a .swf in in html we use "<embed src=....>"
Whenever I embed a .swf in html using dreamweaver 4/MX it add some other tags. The code ends up like:
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="509" height="276">
<param name="movie" value="intro.swf">
<param name="quality" value="high">
<embed src="intro.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="509" height="276"></embed></object>
Can anyone explain the code? I need to know the benefit of this part of the code.
Hope to hear form you soon.
View Replies !
View Related
OnLoad Query
i'm new to mx actionscripting, and the event handler particularly, so excuse me asking a very basic question, but:
putting this code on the first frame of a movie clip executes the trace action every frame
this.onEnterFrame = function () {
trace ("test");
}
so, what event handler do i use to execute only when the clip loads (ie replicating the flash 5 'onClipEvent (load)')? this doesn't work:
this.onLoad = function () {
trace ("test");
}
View Replies !
View Related
|