Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Check For Update?


I don't think there's anyway to do this in Flash (or at least not Flash alone), but I thought I would ask.

Is there any way for a Flash movie to tell if a certain webpage or file has been updated? Obviously the server knows when it's last been updated, but I'm wondering if there's any way for Flash to find that out.




FlashKit > Flash Help > Flash MX
Posted on: 07-10-2002, 02:47 PM


View Complete Forum Thread with Replies

Sponsored Links:

Update Check
hey. ok, it's very simple i'm sure, but i've never gotten a straight answer when i've asked people.

i want my flash player to call to either an xml file or a .txt file located on my website. all i want to be in that text file are two things. the word, either true or false, and if true a url. this is because if there is an update available i'll put the url of the update there so the person can get the update, if not it will send that back to the flash player and tell it to display no new update available. anybody know how to do this? i want the code for the player and the xml code!

View Replies !    View Related
Check For Update For Flash App
Hey everyone,

I have made a flash app (.exe) and now i was wondering. Every time someone starts it on his PC i want to check that he has the latest version.

Example:
The right version code is placed in a file on the webserver. So if the flash app is started it checks the content of the file. If the version code isn't correct you get the question if you want to download the latest version

Can anyone help me with this

Greetz Mindgamesbk

View Replies !    View Related
Challenge UPDATE (AKIRA CHECK IT OUT)
ok i got part of your challenge done. I have one track that you can play stop pause fast foreward and rewind.

It is not really graphicly easy on the eyes, but it shows you where the song is by the frame number.

Be warned it is 480kb and i didn't fell like making a preloader.

This is it

View Replies !    View Related
Flash Applicatopn/exe - Check For Update
I need to build an executable in flash to delivery via a CD/memory stick. I'd like the exe to check to see whether there are any updates available to the content and if there are to enable users to download the content. I know that this can be done seemlessly with AIR but I think I really need to deliver this as an .exe rather than in the AIR framework. So, is there an easy way to do this?
I'm thinking, a script to check for an internet connection, then a check to see if a variable is set (ie the version number) then, if it's not offer the users the chance to download a zip of the new files they need which they can unpack and add to the application. That doesn't seem a very neat way of doing it, so my question is, has anyone ever done something like this and could it work? Is there a better way/more efficient way?
Appreciate your advice. Thanks.

View Replies !    View Related
Update Browser Check Files For Old Dreamweaver Version?
I'm still using Dreamweaver MX 2004, because my school hasn't upgraded its free (VPN-tied) options, and I can't afford to buy an updated version myself.

Unfortunately, the "Target Browser Check" only goes up through IE6, and has "Mozilla 1.0" but no Firefox.

Does anybody know if there is a way to update the files that Dreamweaver uses for its CSS/HTML browser check, without buying a new version?

View Replies !    View Related
Dynamic Text Field Won't Show Update Until NEXT Update Happens
Hi,

In a very simple Flash file with bascially just a dynamic text field and a button I attached some very simple code to the button that updates the text fields .text parameter, like this:

on(click) {
some_textfield.text = some_value;
}

With trace(...) I have verified that "some_value" is what I want it to be. However, the txt field doe NOT get updated! It gets that (b ythen old) value the NEXT time I press the button!

So when I start the flash movie and click the button nothing happens, the next time I see the value I should have seen the first time, etc. - always one event late. Since the trace() I put inside the on(click) handler shows the correct value I'm really at a loss to explain why the text field is not updated.

Any explanations?

PS: By the way, I'm using font "_sans" so there's no font to embed, but trying Arial with "embed numbers" (I want to display an integer number) doesn't work either. I only mention that because I think to have observed something like the above strange behavior caused by embedding (or not) the characters.





























Edited: 09/04/2007 at 09:23:57 AM by Hasenstein

View Replies !    View Related
Player 9 Update-Firefox Update And Bandwidth
Hi,

I have a site of mine online which I created some 2.5 years ago probably with Flash MX--Recently, my hosting company informed me that I had allotted my bandwidth allowance--I had recently installed the latest version of the Flash Player as well as the latest version of Mozilla Firefox--It seems that through viewing my site in the updated Firefox browser with the updated player there was some code in my swf which apparently kept trying to download the mp3 file --Some 271769 hits in a few hours resulting in using 1341.07 GB of bandwidth, all originating from IP address, btw--The hosting company is threatening to charge me at the rate of $10 per 5GB over my allotted bandwidth-I get 20GB free per month--That means they are planning to charge me over $2,600 --
Anyway, here is the code:

Code:
jimi = new Sound();
jimi.loadSound("jimi.mp3", true);
jimi.onSoundComplete = function() {
jimi.loadSound("jimi.mp3", true);
};
Which has not caused any problems in over 2 years and countless viewings until the recent installations of the most current security updates to the Flash 9 Player and Firefox-

Does anyone know if the code is now incompatible with the new player and/or firefox and if there is a way to fix this without redoing the entire site in AS3?

Thanks
---Yvette

View Replies !    View Related
Reality Check: Flash CS3/AS3 Check Syntax
I need a quick reality check. I've finally started playing around in CS3/AS3 on my Mac. Whenever I click "check syntax" I get a very limited error response: specifically, I get actual syntactical errors (e.g., a missing brace or paren), but I get NO COMPILER ERRORS (e.g., use of an undefined method or property). These compiler errors trigger at runtime, but not having them during authoring makes coding and debugging unnecessarily difficult.

Is this really how it's supposed to work?

In Flash8/AS2, we had compile-checking right in the AS file. If I attempted to access an undefined method or property, the error-checker would catch that right away. No time-consuming compile was necessary to catch these obvious errors (see example below). But AS3 doesn't seem to be as clever.

Am I missing something?

Thanks much!

-------------EXAMPLE---------------







Attach Code

import flash.display.BitmapData;

class myClass{

var _bmp:BitmapData;

function myClass(){
_bmp = new BitmapData(500,300);
_bmp.methodNotDefined();//unknown method of BitmapData triggers an error
myVar = 5;//unknown property of myClass triggers an error
}
}

View Replies !    View Related
HELP Check Box W/ DYNAMIC Check Value?
I was wondering if you can make the Check Box component have a dynamically-loaded check value.

I would like to have it read the "&price1" variable from a text file.

If you know how to do this, please help.

thanx!

View Replies !    View Related
Should I Update?
I use flash 3 and am wondering if it is worth getting a newer version? I've also seen many other macromedia products like Director and Dreamweaver etc. Are these the top of the range in their category iereamweaver (site making etc)
Thanks for your help

View Replies !    View Related
UPDATE X & Y
I'm trying to track the cusor and display the x and y coords in dynamic text fields.
Heres what I have:
/*I created 2 dynamic text fields and gave them var names of
xpos and ypos inside a new mc. I placed the new mc on the main stage*/

onClipEvent (enterFrame) {
xpos = _root.blank._x;
ypos = _root.blank._y;
}

/*Then made another new mc named cross hairs placed on the main stage*/

onClipEvent (load) {
Mouse.hide();
}
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
updateAfterEvent();
}

Everything works great execpt the x and y only show the first 3 digits, no decimals. BUT WAIT!!! In Flash 5, the movie works great in test mode, but when exported to .swf format it only shows 3 digits. (Ocassionaly I'll see a .95 pop up on the xpos field.) BUT THERES MORE!!! In a Flash 5 exported movie, that isnt working, it will work if I manually resize the window, or full screen it. Crazy! In Flash MX, it does exactly the same thing but will not work in test mode or a manually resized window like in Flash 5.
Any thought would be appreciated!!!!

View Replies !    View Related
Update On The Fly?
Forgive me if this is an idiotic question. If it is, you can give me an idiotic answer. =)

But can flash update itself on the fly? Lets say i have a dynamic text field that gets variables from a .txt file.
Lets say the output on the screen is just, "Hello World!"

Is it possible to loop the movie over and over so that if i changed the .txt file to, "Hello Back!" then suddenly the flash movie will say, Hello Back. ???

Without user intervention?

Thanks..

Indy

View Replies !    View Related
---update---
I am having trouble updating movieClips after code is completed. Here's my problem:

I have created the basis for a scrolling Thumbnail gallery for my website where a line of thumbnails can be scrolled past a masked view window. I also want a status bar to appear at the bottom of the screen with a small movie clip that marks which part of the thumbnail bar is currently being displayed in the view window. I have worked ou the maths to calculate this and have put in the actionscript that I thought would make it fully operational. The script works to a certain degree. When i test the movie, the status movie clip does in fact sit at the point on the line that corresponds to the visible part of the thumbnail strip. However, it does not move along the bar as the thumbnail strip is scrolled. How do I get the status movieClip to constantly update it's position according to the co-ordinates sent to it by the script?

Attached is the .fla file, I hope it helps to clarify my problem!

View Replies !    View Related
Will There Be Another Update Soon?
I've been developing with flash since v3 and I've had more trouble with bugs in MX2004 than any previous release. One that really burns me is that the keyboard shortcuts for copy and paste frames does not work. I'm running Flash MX Professional 2004 7.0.1 on a G5 mac OS 10.3.2. Anyone else experienced this?

View Replies !    View Related
Can We Update A .swf?
hi guys.....plz help me out!

i'm loading a buttons.swf with few buttons, into a flash projecter. Now if i have to add few more buttons to that buttons.swf which is on users computer, and i want to add them to it through a downloaded file(update) from internet, without overwriting the previous file.....then is it possible????

thanx in advance!

View Replies !    View Related
.exe Update
OK, I'm making a .exe file in Flash (that is, I'm making it in Flash to publish as .exe), and there's a button which hopefully will be for updating.

The button needs to check an internal value (version number) against a value in a web page, and, if they're the same, display an error message saying No updated availabale, and if they're different, goto the page.

So, if there is no update available:
User clicks button.
Button checks values against each other.
Without loading webpage, displays message saying No Updates.

And if there are updates,
User clicks button.
Button checks values and finds they're different.
Goes to update webpage.

So, put in a generalish form,

Code:
if (currentversion == latestversion) {
//show error
}
else {
getURL("http://www.update.me/now");
}
The only problem with that is latestversion can't be inside Flash.

If you don't understand, I'll try and explain it better

Any ideas?

View Replies !    View Related
Update Flv
So I'm trying to learn Flash, and right now I'm playing with video. Here is my problem. (if this post is in the wrong section I do apologize)

I have a page that has a video on it (flv), but I would like to update this video from time to time without having to change the file name in the swf. The problem is that since the flv is being cached on browsers the updated video never appears (unless I dump temp files first). I tried to append the url with random(#) but that doesn't seem to work as it does with xml and txt files, all that happens is I get a movie.flv?r=# file not found error. The browser doesn't seem to drop the r= part.

Is there a way that I can force a browser to reload the flv when the page is loaded?

I'm using instance.contentPath = "movie.flv"; to get the file. (FLVPlayback - Player 8 component)

Any help would be appreciated!

View Replies !    View Related
Doing An Update
I have a flash calculator that calls some variables from a text file in the same directory as the calculator.

The calculator will be used on a number of different laptops and i need an update button so that when the update button is clicked it automatically updates the text file with some values on a server.

What would be the best way to do this?

View Replies !    View Related
Web Won't Update
I keep updating my site and people aren't seeing the updates. I think it's because their browsers keep loading the swf from the cache. I know I have to clear my temporary files often when I'm developing.

Is there any way I can say, clear the cache, or tell the browser to ignore cache for this site. Javascript? Any help is appreciated.

View Replies !    View Related
Does Not Update
I am doing something wrong here, I am fetching information from an xml and is putting them into dynamicaly created textfields, that works. And I want it to update with setinterval, it does not work, I have traced it and the function is updating, but not the fields...

Code:
var my_xml = new XML();
my_xml.ignoreWhite = true;
my_xml.onLoad = function(success){
if (success){

varde = this;

korfil()

}
}

my_xml.load("info.xml");


i = 5;

function korfil()
{

grunden = my_xml.firstChild.firstChild;


for(k=1;k<7;k++)
{

this["arr" + k ] = grunden.childNodes[i].childNodes[4].childNodes[0] + ', ';
this["place" + k ] = grunden.childNodes[i].childNodes[5].childNodes[0];

if (this["arr" + k ]=='undefined, ')
{
this["arr" + k ] = '';
}

if (this["place" + k ]==undefined)
{
this["place" + k ] = '';
}

this["platsArrangor" + k ] = this["arr" + k ] + this["place" + k ];

this["bild" + k ] = grunden.childNodes[i].childNodes[1].childNodes[0];

this["titel" + k ] = grunden.childNodes[i].childNodes[2].childNodes[0];

this["body" + k ] = grunden.childNodes[i].childNodes[3].childNodes[0];

this["lank" + k ] = grunden.childNodes[i].childNodes[6].childNodes[0];

this["bilden" + k ].loadMovie(this["bild" + k ]);
this["brodtext" + k ].htmlText = '<a href ="' + this["lank" + k ] + '">' + this["body" + k ] + '</a>';
this["rubrik" + k ].htmlText = '<a href ="' + this["lank" + k ] + '">' + this["titel" + k ] + '</a>';
this["brodtext" + k ].setTextFormat(stilBrodtext);
this["rubrik" + k ].setTextFormat(stilRubrik);
this["platsen" + k ].htmlText = this["platsArrangor" + k ];
this["platsen" + k ].setTextFormat(stilPlats);
i++;

}

}

run = setInterval(korfil, 5000, this)

View Replies !    View Related
Getting Update MX (7.2)
I had to reinstall MX but can't find the update from 7.0 to 7.2 anymore. Anyone who knows where it is (cannot find it on Adobe's site).

thx.

View Replies !    View Related
Update XML
How do you update a XML file through flash. Without the use of PHP. ASP. or any other markup language other than actionscript... if it is not capable and I need to use PHP, time constraints will cause me to rethink my strategy.

View Replies !    View Related
Update
I have a problem how to make my flash site easy to update. I have no idea how to do this. Can I do this in a easy way? I made my site completly in Flash MX.

If anybody can help me please do.

Maarten

View Replies !    View Related
Can We Update A .swf
hi guys.....plz help me out!

i'm loading a buttons.swf with few buttons, into a flash projecter. Now if i have to add few more buttons to that buttons.swf which is on users computer, and i want to add them to it through a downloaded file(update) from internet, without overwriting the previous file.....then is it possible????

thanx in advance!

View Replies !    View Related
Update Var's
The first frame has the following code:

Code:
var date = new Date();
var getdate = datum.getDate();
var dateplus = (getdate + 1);
The getdate var will be shown in a textbox, and after I pushed a button the dat var should be set to


Code:
var date = new Date(1987, 06, 01);
And the getdate textbox and all the vars in the output should be updated.

How do I do this?

View Replies !    View Related
UPDATE
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft DHTML Editing Control">
<TITLE></TITLE>
</HEAD>
<BODY>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><B
style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt">SFNN- - - POWERFUL HIDDEN BOTTOM
PLAY!!!<o:p></O:P></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><B><SPAN
style="FONT-SIZE: 14pt; COLOR: black">CURRENT PRICE=
.003<o:p></O:P></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><B><SPAN
style="FONT-SIZE: 14pt; COLOR: black">TARGET PRICE = 15 CENTS<SPAN
style="mso-spacerun: yes">&nbsp; </SPAN><o:p></O:P></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><B><SPAN
style="FONT-SIZE: 14pt; COLOR: black">TARGET HOLD TIME = 9
MONTHS<o:p></O:P></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><B
style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt">ESTIMATED
ROI= 4500%<o:p></O:P></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><B
style

View Replies !    View Related
Update To AS2 ?
Hi All,

I've been using a nice effect in AS1 to slide things around - this won't work with player 8 which I want to use
for the filters etc.,

Can anyone teach me how to write this in AS2 ?

onClipEvent (load) {
POZ = new Array("0", "-750", "-1500", "-2250", "-3000", "-3750", "-4250");
}
onClipEvent (enterFrame) {
r += (rot-r)/5;
rectan._x = r;
}

View Replies !    View Related
Update To AS3
I have Flash Professional 8 and it came with AS2. Is there a way to update to AS3?

View Replies !    View Related
Update Xml
Hi,

Can i update XML file through flash iteractive media server 3 ?how can i add a new node to an existing XML?
or i need to use an external code like PHP?

thanks ... (help the new people)

View Replies !    View Related
Where Do Get Mx Update
Where can u upgrade ur mx to 2004?

View Replies !    View Related
How Do I Update?
hi, i made an animation with around 100 jpgs when i first started using flash and didn't realise i should have really lowered the quality and size of the jpgs i used. i've been told i can update all the jpgs, to much smaller versions i have batch processed.

so, how do i update all of the old (very large) jpgs to the new (small in scale) jpgs??? - ive tried using the 'right click > update' function but nothing happens, i cant seem to browse for the new smaller images.

thanks!!!!

View Replies !    View Related
How Do You Update...?
If you are making a flash website for someone who does not know how to use flash. How do they get the site updated?

You know, when they want to add a news file. It always says the name of the person who added it if the site is for, like, a band or something.

Is there a program for doing this easily or do they just tell you what they want done and you upload the site again.

Just very interested as I may start making websites for other people soon.

View Replies !    View Related
Where Do Get Mx Update
Where can u upgrade ur mx to 2004?

View Replies !    View Related
Get Around New Ie Update
woke up this morning, computer updated itself suddenly bits of my site dont work properly anymore! sumthin todo with them changing how activex runs? cos now i have to click on all my flash files to make them run properly

is there anyway around it?

my code affected is mostly just flash files, i have added using frontpage

e.g.

<object classid="clsid27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="530" height="25">
<param name="movie" value="../flash/ip4gamebar4.swf">
<param name="quality" value="High">
<embed src="../flash/ip4gamebar4.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="160" height="160"></object>

View Replies !    View Related
IE Update + FDK
I need a fix for the IE Update that also implements the Flash detection Kit.

I know there's a way to do it, but I've been unable to successfully implement it using the FlashObject Express Install thus far. My site requires Flash Player 8 & I had it working with one or the other but not both. ;(

A little help please.

View Replies !    View Related
Any Way To Have Fps Update Thru Actionscript?
If i have a button, is there any way to set the actions for that button to up/down (change) the number of fps for the movie? (basically speed up/slow down the movie...

Thanks..
Post up

View Replies !    View Related
Ops Update On PreLoader
Im a New-B 2 FLASH 5 and in the tutorial im am reading up on about how 2 make the preloader it`s asking me 2 (( add a new scene at the beginning of your movie using the Scene Inspector and name it 'preloader')) i can find the ((" Scene Inspector" )) anywere on the Interface. Thanx 4 ur help =)

View Replies !    View Related
Update Form
Anyone know the code needed for making an email update form in flash?

View Replies !    View Related
MUSICMAN Here's The Update...
Hello Again,

Firstly can I say thanks for helping me out so much!!!!!!!!!!!!!!

I did as you suggested and so far it doesn't seem too happy and isn't writing to the text file.
It is however reading from noticeboard.txt, so perhaps this means that either the write priveleges on the txt file are incorrect ( I don't how to alter that - I've checked the file properties and it is not locked (?) ), or I've got something incorrect in the script.

The actionscript to load the content of noticeboard.txt is on a frameaction the frame before the
noticeboard. The action to update noticeboard.txt is on release of the "add" button on the userinput page. I don't know if this is a particularly efficient set up.

I'm now about 24 hours from leaving for thailand and as I'm sure you can imagine this is so tantalisingly close to working! I'd love to hear anything further that may provide the solution. Once again, thanks a lot!

Yours,

Scott

View Replies !    View Related
Update _x Causes Error
Hi everyone,

I wrote a simple movie where there is a right-arrow and a square (it's a modification of a small code sended to me by a mate of Flashmove). Well, when I click onto the arrow the square move itself to the right with a deacelleration, and it's pretty cool because gives a smooth movement feeling. Let's see:




Code:

onClipEvent (load) {
moveit = false;
originalPos = _root.move._x;
movement = 50;
goal = originalpos+movement;
speed = 5/10;
}

onClipEvent (enterFrame) {
if (moveit) {
_root.move._x = _root.move._x + (speed*((originalpos+movement)-_x));
}
// * see below the code I tried to include here
}
But the square moves and stop, and even I click again onto de arrow nothing happens. "Well", I thought, "It's happening because I need to update the originalpos var, loading inside it the new _x value". Then I tried to include the next code:



Code:
if (_x = goal) {
originalpos = _root.move._x;
goal = originalpos+movement;
moveit = false;
}
Well, it works... almost!
Now, everytime I click the arrow, the square moves to its new goal, but lost its smooth movement...

Anyone knows to tell me where is the mistake?

PS: I am a programmer for a long time, but I am having some difficult to understand the particularities of Flash behavior...

Thanks a lot for your attention!

View Replies !    View Related
When The F*** Will There Be An Update For F***inf Flash Mx Mac ?
I'm so angry right now !

Beside the usual bugs that I can get accustomed to,
I can't get over the fact that MX takes 25 minutes (!!!)
to open an action script window with 150 lines.
It's an old script that I did with flash 5 and that I want to modify now.
There is no way that you can work professionally with this, when you have a deadline !

Arggghhh !

View Replies !    View Related
Multiple Update
Hi,

I've got 5 movies that each use the same block of text at some point. Each movie is published as an .exe and cannot reference external files. Can anyone tell me what's the best way to allow me to update the text once and for each movie to be updated? I've got no problem with re publishing each movie at the point of change, I just want to cut down the whole process.

Thanks

DG

View Replies !    View Related
Is There A Chromless Fix For The Xp Sp1 Update?
For those who may not know, xp sp 1 has killed the current microbians chromless script and is forcing it to go fullscreen. If anyone sees a fix lurking around please let me know!!

Thx in advance

View Replies !    View Related
Function Update?
Hey guys,
i have a question about this function that I made. It simulates movement. The way I have it set up is as follows:
function move(movie, location) {

movie._x=movie._x+(location._x-movie._x)/10;
movie._y=movie._y+(location._y-movie._y)/10;


}


is it possible, to get those two commands within the function to run over and over again until the movie reaches the location. I tried messing with some while statements but to no avail. Any help would be very much appreciate.d Thanks everyone
Don

View Replies !    View Related
News Update..how?
I'm trying to create a flash site which contains a news section (would love to have something like on Madonna.com - News). Can someone tell me how I achieve that I can update and ad news without modifying the timeline every time I update/ad?
Should I use dynamic text? Can I use dynamic text for a text that will be scrolled?
Thanx so much!

View Replies !    View Related
Update Tell Target In MX
How would I write this in MX:

if (_level0/:fsstatready eq "yes") {
tellTarget ("_level60001/click") {
fsbutton = "This House";
}
}


Thanks

Robert

View Replies !    View Related
Update Counter
Hi,

currently I have 9 movie clip called q1 until q9

when we click on the question btn, it will pop-up 2 choices called c1btn and c2 btn, it applies the same to all the others 8 questions.

i need to check whether the user have selected all 9 choices or not ?

I have below code to check the counter:

selected = 0;
MAX_ITEMS = 3;
counter = 0;
previous = null;

checkcounter = function() {

counter += (statuscheck == 0) ? -1 : 1;
if (statuscheck = 1) {
//trace (counter);
//counter ++;
trace (counter);
if (counter > MAX_ITEMS) {
previous.gotoAndStop(1);
previous.currentstatus = false;
counter --;
}
}
check_no_selected= function(){
return (counter == MAX_ITEMS);

}
}


stop();

for the c1 and c2 btn , i have below code everytime they clicked on the btn, it will increase the counter to 1:

on (release) {
_parent.text = _parent["choice" + this.num];
_parent.selected = this.num;

if (this.currentStatus != true){
//_parent.gotoAndStop(2);
this.currentStatus = true;
_parent.checkcounter(this,1);

} else {
//this.gotoAndStop(1);
this.currentStatus = false;
_parent.checkcounter(this,0);
}
_parent.gotoAndStop(1);
}

my questions:

1) currently i try to trace the counter, everytime i clcik diff questions's choice, the output equal to 1

May i know how can i modify my code so that everytime the user select one of the choice, the counter will bcome 2 and so on till 9

then i will know they have answered all the questions

i ahve attached the fla file, hope u able to help

thanks

hoay fern

View Replies !    View Related
Update Counter
Hi,

I have a movie clip which is called q1 and i duplicate it 8 times and name it q1,q2 ....q9.

for q1, I have :

on (release)
{
// disbale all movies
for (var i in _parent)
_parent[i].gotoAndStop(1);

this.gotoAndStop(2);

// set current status
this.clicked = true;

}

after we clicked on it, it will changed to true, by default, it is false

in done button, i have

for(i=1;i<=9;i++)
{

if(eval("_root.historybar.q"+ i + ".clicked") ==false)
{
_root.feedback.gotoAndStop(2);

}


if(eval("_root.historybar.q"+ i + ".clicked") == true)
{
_root.result._visible=true;

}

actually the result mc should appear after all questions been answered.

but now even 2 questions been answered, the result mc will appear.

my question, how can i modify it so that it will check after all questions been answered then the result mc appear?

here i have attach the fal file

hope any1 able to help

thanks

hoay fern

View Replies !    View Related
MX + XP Update = Trouble
I just installed a stack of windows updates including service pack 1 as a company requirement.
Since this installation, Flash MX has failed to open or save files, popping up errors all over the damn place and eventually hanging.

A roll back is out of the question as the option to was ignored during update download.

Any suggestions of a work around? I'd rather not reinstall XP...

View Replies !    View Related
Update Value Continuously
Hi,

I'm creating a page where I use a kind of joystick navigation..
When the user pulls a slider(a movieclip) to right og left I would like to send the x-value of the slider (movieclip) to a variable..

Right now I use this script:

on (press) {
variablen = int((this._x-500)/8);
// getURL("javascript:funktionDu("+variablen+")");
}

This script only sends the x-value on press, as you can see, so I only get one single value for every time I grab the slider - the variable should be updated continuously while I drag the slider.

How do I do that..?

View Replies !    View Related
What Is The Best Way To Update Variables?
I am looking for the fastest way to load variables from a local file into flash mx. The thing is the variables in the file are constantly updating. I'm not sure if I should use loadVariables, XML.load, or SharedObject.

Any help would be appreciated!

Thanks

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved