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




Looping A Section Until Input In Received



This seems very basic, but I havent been able to work it out or find any help to get it working. I have a flash movie (CS3, but currently coding using AS 2.0) that includes a build in of a logo, a loop of the logo animating, and a build out. I need it to build in, then just loop the animation until input it received to cue the build out. The flash movie is currently the build in over the first 80 frames, the the loop ended with a gotoAndPlay() command to repeat the animation without replaying the build. At the point where the animation loops I have inserted AS code using 'while...' loops, 'do..while' loops, and 'onClipEvent(keyDown)' but none of these things work. It either locks up the movie, or just ignores the code. So can someone direct me to the commands I need to be using? It this an event listener?

Thanks in advance for help.



FlashKit > Flash Help > Flash Newbies
Posted on: 10-22-2007, 03:05 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Looping Section Of Movie
im making an intro for a site, and I have the video at the begining, then the video fades out to a "Click Here" with text rotaing around "Click Here".....but I want the click here w/roating text to loop over and over instead of having the video play over again. Can somone help me out cause I can't remember how to do, been 4ever since I messed with it

Looping A Section Of Video
Hi there folks

I'm building a flash video player and I want the viewer to be able to select start and end points along the timeline of a video, then have the video player loop playback on that section.

Unfortunately, I can't even find an example of this on the internet, much less a tutorial. Can anyone suggest a resource that could help me figure this out, or maybe there's something in the API that could assist me? I'm completely stumped, so any suggestions are greatly appreciated.

Looping A Section Of Frames
i'm trying to create a button (which i thought would be a simple task) that grows and then subsequently spins an object on roll over, and shrinks the object on roll out, and I am having endless amounts of trouble finding the code that will let me loop a portion of my timeline only. eg frame 5 - 15

Looping 1 Section Of Your Movie
I have a movie where I want just a small section to loop while the rest of the movie plays.

I have that layer set to loop using gotoAndPlay, but when the movie reaches the end of that layer, it starts the whole thing over.

Thanks!!

Pop Up Window Going From Flash Section To Html Section
hi,

I having trouble opening a pop up window which includeds a html doc from flash? Does anyone know how to acomplish this it work going from the flash page to flash but when i use the same code but i point to a html page a blank window appears the link is :
http://www.design8ed.com/digitalspir.../designcs.html

It is publish on the site but it doesn't locate it through flash - is there a problem linking to a html doc from aflash movie??

Any help would be greatly appreciated!

Input Text And Looping Em..
howdy folks...

just wonderin..

i got like 100 input text (dont ask :P), each named b1,b2,b3,....b100

i went and scripted this loop to find the value for each input text


ActionScript Code:
for (i=1; i<=100 i++) {
 
    trace(this["b"+i].text);
   
    }


this DOES NOT work.. it returned 'undefinned'...
How can i loop all the input text to return their value??


i know this can be done using array,
but typing all 100 input text's name can be inefficient..
especially if i plan to have 200 input text box..

can anyone shed some light??

Using A Looping Movie Clip To Sum User Input Fields
I have a loop script that looks like this

for(r=1;r<=7;r++){
_root.total += _root["field"+r]
}

what it does is there are 7 input fields named field1..7
where a person can enter numbers and then I have a field called total that totals them up.

the problem is that if your entering numbers it works fine but if you delete a number then it stops totaling for some reason?

I don't know what it is but for some reason you can't add a field that has been deleted in?

Also what is the meaning of a null field value.

Thanks for any and all help
Jason

Comparing Received Value
I got following code:

Quote:




stop();
button2.visible = false;
lvOut = new LoadVars();
lvIn = new LoadVars();

lvIn.onLoad = function (success) {
if(success)
{
if (lvIn.returnVal=="yes")
{
message.text = "Unable to create profile with provided data.";
}
if (lvIn.returnVal=="no")
{
button.visible = false;
button2.visible = true;
message.text = "You can create profile with this data!";
}
}
else
{
message.text = "Interaction failed!";
}
}

button.onRelease = function()
{
lvOut.user = user.text;
lvOut.pass = pass.text;
lvOut.sendAndLoad("creation/step1.php", lvIn, "POST");
};




The question is:
Why I can't check like that, what's been returned?
PHP returns only string values yes or no, but it seems that flash check it in different way.

So, how ?

TV Effect When No Signal Received
Hello Everybody,

When a TV receives no signal, it displays a series of black and white dots. Plz give me ideas to simulate this effect in Flash.

Kiran Makam

Custom Event Not Received
I'm new to Flash and AS3 and I've been struggling with this one for the whole day. I'm trying to implement custom events in AS but somehow after dispatching the event it doesn't seem to get handled.

Here's my custom event class:


Code:
package
{
import flash.events.Event;

public class UpdateMsgEvent extends Event
{
public static const UPDATEMSG:String = 'updatemsg';
public var msg:String;

public function UpdateMsgEvent(msg:String, bubbles:Boolean = false, cancelable:Boolean = false)
{
super(UPDATEMSG, bubbles, cancelable);
this.msg = msg;
}

public override function clone():Event
{
return new UpdateMsgEvent(this.msg, this.bubbles, this.cancelable);
}
}
}
And here's my main script:


Code:
package
{
import UpdateMsgEvent;
import flash.display.MovieClip;

public class CustomEventTest extends MovieClip
{
public function CustomEventTest()
{
var dis:MyDispatcher = new MyDispatcher();
this.addEventListener(UpdateMsgEvent.UPDATEMSG, handle);
dis.dispatch();
}

public function handle(e:UpdateMsgEvent):void
{
trace("Event detected");
}
}
}

import flash.events.EventDispatcher;
import UpdateMsgEvent;

class MyDispatcher extends EventDispatcher
{
public function dispatch():void
{
trace('Dispatching...');
this.dispatchEvent(new UpdateMsgEvent('Message'));
}
}
The only output from the program is "Dispatching..." which seems to indicate that handle() is never called. I would really like to get over this problem, so any help is appreciated

How To Record Stream, Which Is Just Received?
Hi,

I have a chat/video conference application, which works fine, but I want to implement special record function.

There is a 5 video slots for 5 people, which can take part in conference. Under each slot I have two buttons - Record and Play.

What I want is, that anybody can record anybody, even if somebody does not have a camera only see someone.
So, how to record (publish) a new stream from just receiving stream?

I tried to assing to a new stream just received stream, but does not work.
Also I tried to attach video and audio to a new stream from receiving stream, but I was not successfull.

Hope, it's understandable.
Any ideas? Is it possible at all?

Many thanks,
Luwi

Breaking A Received String From PHP
I have written a php code to echo a string of all the fields' contents of a table (select * from x) now I want flash to display the table in a flash move.
can you guide me to a website where I can find a tutorial on how to receive and parse such string?

NetStream MetaData Not Received
I'm loading flv files into a NetStream object from local files. The flvs are very small so I'm preloading the whole file before I play it.

About 1 in 3 times I run the project the metaData listener does not fire. The other 2 times it fires fine and i can get the duration of the flv.

I've never had this problem before....anyone have any knowledge about what I'm missing?

Thanks

Create Link From XML Received Into Datagrid
Help!

I have a datagrid that displays XML content received via webserviceconnector. One of the cells displays a url. I want to create a movieclip that is not part of the datagrid that onRelease will link to that url? Do I need to use a cell renderer? How do I create an array from the information displayed in the datagrid? Does anybody have a sample similar to this that I can reference?

Thanks!

Form Problem - Sends Ok But Not Received
I am desperately trying to get a Flash MX form to work using PERL formmail. After many hours of troubleshooting, I have achieved partial success in that the "function onSend()" seems to be processed as it gets to the end and the success message is passed - but the email produced by the server never arrives. I am not a programmer at all, though I have got HTML forms to work using formmail in the past.

My original script came partially from a tutorial online that is only one of two I found - the original example did not work either, though mine does now work a little better. There is so little documentation on forms, and most online examples are very simple forms with text boxes only that don't go through CGI. I have no knowledge of PHP, ASP and don't have Cold Fusion, so those, perhaps easier, options are out

I really hope someone out there can help me. I have attached a zipped folder with the .fla, swf, html and .cgi files (using formmail.cgi) but there are 3 other versions I have also tried. All the code of interest is in the functions layer of the .fla file.

Thanks in advance.
Carollyne

XMLConnector No.Data.Received Only When On Server
I've been making a simple RSS reader flash widget for my web page. It works perfectly when I test it locally, but when I publish it, I always get the No.Data.Received error. I've played with all the parameters on the XMLConnector and all the publish settings, but no dice.

The only thing that I can think of is that I'm loading RSS from a different site, but it isn't restricted in any way.
Too see it not working: http://www.kevingoldsmith.com/testing/rssreader5.html

I also posted the fla: http://www.kevingoldsmith.com/testing/rssreader5.fla

this has been driving me insane, so anything that anyone can help with would be awesome. I've searched the web, but I haven't found anything...

Print Automatically When New Data Received
Hi all,
I am developing a Flash application that will run as a full screen projector.

Does anybody know if it's possible to make flash listen for data being received and then automatically print out the data received to a printer attached to the computer? Nothing should have to be done by the user, the computer just prints automatically when new data is received.

Possible?

Thanks!

Checking If Server Received Data
ok ... I got the following ...


PHP Code:



this._parent.sendenbutton.onRelease = function(){    if (_root.firstname != "") {    this._parent.fanrede.textColor = "0xCC0000";    feld1 = "ok";    }    if (feld1 == "ok") {        var result_lv:LoadVars = new LoadVars();        result_lv.onLoad = function(success:Boolean) {        if (success) {        _root.gotoAndStop(15);        }    };    var send_lv:LoadVars = new LoadVars();         send_lv.sender_firstname = _root.firstname;         send_lv.sender_lastname = _root.lastname;         send_lv.sender_street = _root.street + " " + _root.streetnr;         send_lv.sender_zip  = _root.zip;         send_lv.sender_city = _root.city;         send_lv.sender_email = _root.email;         send_lv.ecard_nr = _root.ecard_nr;         send_lv.ecard_text = _root.ecard_text;         send_lv.rec_nickname = _root.rec_nickname;         send_lv.rec_email = _root.rec_email;         trace(send_lv);         send_lv.sendAndLoad("http://xxx.xxx.xxx.xxx./test/db/",result_lv,"POST");    };        } 




Works fine so far ...

But the Server gives me back this XML File ...


PHP Code:



<?xml version="1.0"encoding="UTF-8"?><answer><status>false</status><</answer>or <?xml version="1.0"encoding="UTF-8"?><answer><status>true</status><</answer>



how can i modify my script that i can check the status out of this XML File ???
to get to next frame or whatsoever if status = true/false ...

any help much appreciated

FLASH And Php-sorting Vars In Received Mail
Hi there,
im quite new to php - I think I`ve problems with the syntax.
I programmed a online shop in flash and I pass the variables via php.
The php files creates two mails, one to the shop owner and one to the client.
Everything works just fine - now i want to set "for x=1, x<=99, x++" loop in the php file to sort the incoming vars and if it`s possible to have all the vars arranged in a HTML Table. No SQL on the server.
*****************
<?php
# Mail to shop owner
$MailTo="xyz@domain.de";
// Gets the date and time from your server
$datum = date("m.d.Y - H:i:s");


mail($MailTo, "Bestellung von $vname $nname am $datum", "
Vorname:$vname
Nachname:$nname
EMAIL: $email


Artikelnummer/Artikel/Farbe/Größe/Kosten

$anummer1$artikelz1$color1$size1$price1


Gesamtbetrag:$gesamtEuro

");

# MAIL to client - attach txt file
$filename = "answer.txt";
$fd = fopen( $filename, "r" );
$contents = fread( $fd, filesize( $filename ) );
fclose( $fd );
mail( "$email", "Ihre Bestellung bei xyz am $datum " , "$contents

",

"From:xyz@domain.com
" ) or print("Transmission Failure!!");

?>
*******************
Is it possible to have a Html table displayed within the mail("") command and sort the vars like dis?:
$anummer1$artikelz1$color1$size1$price1

$anummer2$artikelz2$color2$size2 $price2

$anummer3$artikelz3$color3$.............
Any hints would be nice!
Cheers
mt

Dispatch An Event From Root Which Should Received By Childs.
Hi,

I have a class, which extends flash.display.Sprite.


Code:
package {
import flash.display.Sprite;
import flash.events.Event;

public class Circ extends Sprite {

public function Circ() {
init();
this.addEventListener("MainEvent", onMainEvent);
}
public function init():void {

var tmpCol:uint = Math.random()*16000000;
var tmpX:uint = Math.random()*400+50;
var tmpY:uint = Math.random()*200+50;

this.graphics.lineStyle(1);
this.graphics.beginFill(tmpCol);
this.graphics.drawCircle(tmpX, tmpY, 50);
this.graphics.endFill();
}
public function onMainEvent(e:Event):void {
trace("MainEvent occurs!");
}
}
}
These elements (Circ) will be added to the main timeline and should be listen
to the Event "MainEvent".
I will dispatch an event (flash.events.Event) from root which should be
received by every Circ instance (children of root) on the stage.


Code:
/**
* first frame timeline
*/
import flash.events.Event;

for (var i:uint = 0; i < 5; i++) {
this.addChild(new Circ());
}
this.dispatchEvent(new Event("MainEvent"));

I will that every Circ instance make the output "MainEvent occurs!".

But this doesn't work.
Could anyone help?

Dispatching A Custom Event Just Received By A Dispatcher
Hello there.
I would like to know why this piece of code doesn't work.
When I try to dispatch a custom event "MyEvent" after receiving it from another dispatcher I get this error (at run-time):

TypeError: Error #1034: Type Coercion failed: cannot convert flash.events::Event@a5c2101 in MyEvent.
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio n()
at flash.events::EventDispatcher/dispatchEvent()
at MyListener/::handleMyEvent()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio n()
at flash.events::EventDispatcher/dispatchEvent()
at MyDispatcher/fire()
at MyListener/fire()
at testEvents$iinit()

I found a workaround as you can see below.
However I still do not understand why Flash cannot convert the event just received in MyEvent seen that the event just received is MyEvent!
Here it is the code.


// file: testEvents.as (the document class)
ActionScript Code:
package{  import flash.display.MovieClip;  public class testEvents extends MovieClip{    public function testEvents():void{      // Creates MyListener that creates MyDispatcher      var mylistener:MyListener = new MyListener();      // Sets a listener for MyEvent      mylistener.addEventListener(MyEvent.MY_EVENT_1,handleMyEvent);      // Starts MyListener that starts MyDispatcher that sends MyEvent      mylistener.fire();    }    private function handleMyEvent(event:MyEvent):void{      trace(event);    }  }}


// file: MyEvent.as
ActionScript Code:
package{  import flash.events.Event;  public class MyEvent extends Event{    public static const MY_EVENT_1:String = "event1";    public function MyEvent(type):void{      super(type);    }  }}


// file: MyListener.as
ActionScript Code:
package{  import flash.display.Sprite;  public class MyListener extends Sprite{    var mydispatcher:MyDispatcher = null;    public function MyListener():void{      // Creates MyDispatcher      mydispatcher = new MyDispatcher();      // Sets a listener for MyEvent      mydispatcher.addEventListener(MyEvent.MY_EVENT_1,handleMyEvent)    }    public function fire():void{      // Starts MyDuspatcher that sends MyEvent      mydispatcher.fire();    }    private function handleMyEvent(event:MyEvent):void{      trace(event is MyEvent); // sure it is, in fact it returns true      // ERROR at Run-time: TypeError: Error #1034: Type Coercion failed: cannot convert flash.events::Event@a5c2101 in MyEvent      dispatchEvent(event);      // To fix the Error I need to create another istance of MyEvent and dispatch it      // dispatchEvent(new MyEvent(MyEvent.MY_EVENT_1));    }  }}


// file: MyDispatcher.as
ActionScript Code:
package{  import flash.display.Sprite;  public class MyDispatcher extends Sprite{    public function MyDispatcher():void{      // Does nothing    }    public function fire():void{      // Dispatch MyEvent      dispatchEvent(new MyEvent(MyEvent.MY_EVENT_1));    }  }}


In attach you can find a zip that contains the files, just dezip it in a dir and open the FLA and launch it.

What am I missing?
Sorry is this is a lame question but although I think I'm quite skilled in AS1-prototype, I'm learning AS3 in these days so I feel like a newbie again

Pop Up Window Only Works Once - This Is For A Charity Project So Help Is Gratefully Received.
I'm working on the site http://www.rhythmsdelmundo.com
The proceeds of this project go to support climate change awareness and natural disaster relief.

These are the elements relevant to this problem

The 'buy album' button opens up a pop up window.

The 'take a little voyage through the project' window calls up a video from an external site which then plays in windows media player. This is the actionscript on the 'voyage' button.

on (release) {getURL("

Not Receiving OnStatus Event After "NetStream.Play.Stop" Event Is Received
Hi,

I am trying to play flv file in swf, using NetStream. I have registered for onStatus event. I receive all the events till I receive "NetStream.Buffer.Flush" & "NetStream.Play.Stop" in same order at the end of the video... After that when I drag the video using seek and play the video again, I don't receive any events in registered call back onStatus function...

I need to make status text updates on video, even after video has fully downloaded and stopped & if replayed... Any idea what is going on and what I need to do different here so that I continue to receive onStatus event notifications?

Thanks In Advance...

Not Receiving OnStatus Event After "NetStream.Play.Stop" Event Is Received
Hi,

I am trying to play flv file in swf, using NetStream. I have registered for onStatus event. I receive all the events till I receive "NetStream.Buffer.Flush" & "NetStream.Play.Stop" in same order at the end of the video... After that when I drag the video using seek and play the video again, I don't receive any events in registered call back onStatus function...

I need to make status text updates on video, even after video has fully downloaded and stopped & if replayed... Any idea what is going on and what I need to do different here so that I continue to receive onStatus event notifications?

Thanks In Advance...

Flash.log Reports Regular "Request Received Was Not Flash-based"
Hiya,

Every night the CF server gets hit by something that is not Flash-based yet is aimed at a Flash function or CF function(?)... is this a bot/hacker?

any ideas?

"Error","jrpp-869","07/23/04","00:00:02",,"[Flash Remoting MX]->Request received was not Flash-based (not of the binary AMF protocol)."
"Error","jrpp-869","07/23/04","00:00:15",,"[Flash Remoting MX]->Request received was not Flash-based (not of the binary AMF protocol)."
"Error","jrpp-869","07/23/04","00:00:38",,"[Flash Remoting MX]->Request received was not Flash-based (not of the binary AMF protocol)."

it's always at these times.

many thanx in advance
VV

Looping Sound And Looping Animation Sync
I'm working on a navagation interface for a new site, and I'm running into a few issues.

1) when you click on a button, it activiates an MC. within that MC, the first frame is the initial "off" state, and clicking on a button triggers the rest of the clip to play, from frame 2. I have a sound that starts in frame 2, and I set up an animation of a VU meter that is supposed to be synced very closely to the music. In the last frame of the MC is an action, gotoandplay, that sends it back to frame 2. The idea here is that once the button is pressed, the music loops and the animation loops with it.

When I test the movie, do a publish preview, or view the swf file in the flash player, the animation seems to be synced to the music for the first few times it loops, but then the animation drifts ahead of the music, getting progressively further out of sync with each loop. The other real problem here, is that when viewing the swf in any web browser, the animation is immediately behind the music, and seems to be running much slower than it should.

you can see the swf here:

http://www.lsrdigital.com/flash/index.html

Does anyone have any ideas about how to get this to work the way I am trying to get it to?

the .fla file is here if you want to look at it as well:

http://www.lsrdigital.com/flash/LSR.fla

2) The other problem I'm having is that the stage is set to be 680 pixels wide, and the graphic that fills the background is 680 pixels wide, BUT Flash MX publishes the movie at only 679 pixels wide! You can see the line of white pixels on the right side of the movie here:

http://www.lsrdigital.com/flash/index.html

I've double checked the html file and the table cell holding the movie element is 680 pixels wide. You can also tell that Flash is cutting off the last column of pixels because the background image is visibly just missing the edge to the right of the screws.

Any ideas on that one?

Hopefully This Is The Right Section
Ok, i'm not exactly a newb to flash but I'm pretty new to what I'm trying to do in flash. I've made movies, buttons etc.. but I'm using a new version now (mx 2004) and i'm having lots of trouble gettnig a horizontal scroller working.

I know there's a built in scroller but, I'd like to use my own arrow images and not have a box. This is going to be a photo album when i'm done. What I want is to be able to have a horizontal scroller that has 2 thumbnails viewable at a time. when I hit the right or left arrow, it scrolls to the next 2.

Can anyone point me in the right direction or help me out with this? I hope I posted this in the right place.

Thanks in advance

[as2] Tag <a> Goes To Section
I'd like to load some external html text with <a> tags, upon clicking instead of loading some html pages, it goes to some subsection of my flash website.
Something like
<a href="goToSection1">Click here</a>.
Is it possible? Is there any workaround?

thank you in advance
m.

This Has To Be The Right Section For RANDOM?
Hello Fk forum and thank you in advance,

I'm sure you all have seen the vertical lines that move side to side on page(ie, 10 lines moving left to right all at different speeds)...... I tried to duplicate this effect using motion tweens but it never looks at good. I posted this in another forum and they said its better to do it using actionscripting but they didn't know how to do it either. Can someone help me ... I don't know AS at all!!


thanks

Section Transition
Hi,
Im trying to figure out how to make a section transition (i.e. going from Client section to Portfolio section) to look similar to these guys: http://www.in2media.com/enter.cfm Any help with the code or explanations with shape tweens?? Also, links to any tutorials would be appreciated! Thanks!
[Edited by h2kduck on 02-11-2002 at 10:09 PM]

Section Preloader
Hi all,
how would I be able to do a
preloader for every menu section
in my timeline??

Thanks a lot

My Music Section
goodevening gentle men....

ok unt little problemo............... im doing my friends band web site ive set up a nice little music section which streems four songs in swf format into the main swf...... when u click on a song a little flashing mc appears (by going to frame 2) next to the song name saying streeming and stop..... the stop button simply unloads the swf....

the trouble comes... when i want to select another song getting the little flashing MC (stream/stop) to go back to frame 1 (i.e blank)............

so basically when u click on any song i want it to make sure that all the other indicating MC's (for the other songs) go to frame one...

i tried just doing a big string of telltargets and what not but they all started messing up when u junped between other sections of the site... any ideas folks.....

thanks PHENIA

Movie Section Help
Ok i go to the movie section of this site and i d/l some of the movies ppl have made. But when i go to view them with flash it say "Unexpected File Format". I would love to d/l the movies to view them in flash so i can possible learn from them can someone please help me out and tell me why i can't view them. plz. thx.

Section Preloaders
Hi,

I've been struggling with this for a while. So I'll post the question again to see if there are new suggestions this w-end.

I'm trying to set up the whole structure of my webpage as follows:

As you press a button, it would call another swf file. This new incoming file would have a preloader at the beginning. My first question is: What's the best way to set up the preloader so that it will show at all when the new movie is loaded?

If I have a small transition (animation) before the movie reaches the actionscript for the getsbytesloaded, would it show at all?

And lastly, how can I set up my preloaders so that when the page is viewed once, the second time the user calls the movie, it doesn't need to re-load again?

I would greatly appreciate some suggestions to these questions.

thanks

iam2001

Section Preloaders
Hi,

I've been struggling with this for a while. So I'll post the question again to see if there are new suggestions this w-end.

I'm trying to set up the whole structure of my webpage as follows:

As you press a button, it would call another swf file. This new incoming file would have a preloader at the beginning. My first question is: What's the best way to set up the preloader so that it will show at all when the new movie is loaded?

If I have a small transition (animation) before the movie reaches the actionscript for the getsbytesloaded, would it show at all?

And lastly, how can I set up my preloaders so that when the page is viewed once, the second time the user calls the movie, it doesn't need to re-load again?

I would greatly appreciate some suggestions to these questions.

thanks

iam2001

Exporting A Section Of A SWF As A Jpg?
Someone asked me the other day if it would be possible to export a portion of a SWF as a jpeg. Is this possible? If so, how? Thanks a bunch.

Section Preloader?
Hej Everyone

I'm stuck here. Please help.

I have no trouble creating a preloader, that loads the whole movie, using getBytesTotal & GetBytesLoaded. But what if I want to make a movie, that only preloads my first scene, and then, if i click a button to another scene, it first then preload that scene.

thank you - Rune

Section Labels
Hi all,

I have made a map using flash and swift 3d. When a user rolls over a certain hotspot it makes the movieclip underneath play its sequence to make it look like a 3 shape rises from the map so they know where they are. What I want to do is when the user rolls his mouse over the hotspot they get a line from the mouse and at the other end of the line they get a word telling what the section actually is.

Could anyone gove me any indication as to how I could achieve this and how the actionscript could look.

Thanks Pixelmagik

How To Use 'if' And 'section =' Functions ?
Hi,

Basically i want to apply a code to my buttons that will operate a different function, depending on what point a frame is at in a movie clip,

For example, i have 10 stop frames and on each frame there is an image.

Heres the trick, i have a controller with , next back and enlarge, i want it coded so that when you click enlarge, it will check what frame the clip is at , and then load the corresponfing larger image?

Hope someone knows how to do this or its back to the books!

Thanks

Section Preloader? IT IS POSSIBLE
Hey everyone

Everytime I ask this question in here, evryon says that it is not possible!! But now I've been on several pages, that has section preloaders (or it seems).

I want to have a preloader for every section (E.G. a guy presses "profile" on the flash-menu, and a preloader then appears to load the scene). My problem is, that my picture archieves (and other archieves) are too large to have one big preloader...

Check out these pages, that has them:

www.tuborg.dk
www.funkstardeluxe.com
www.lennykravitz.com


Can anyone help me????
thanks - Rune

Section Preloader
I want to build a flash-site, where I have 4 menu-buttons. Instead of making one big preloader, I want a section-preloader to appear when you click a menu-button... E.G. I click the menu-button "pictures" and a preloader will then come up to preload the picture site....

Section 508 And Readers
Is there any way to test your MX 2004 swf files for section 508 compliance without purchasing a screen reader such as JAWS? I work in a relatively small outfit, and the price of JAWS is a little high.

Are there sites or places where you can submit your .swfs to see if they will pass? Thanks for any suggestions.

rickyd

Section 508 And Actionscript
Hello Everyone,
I've been posting and wondered if anyone has any answers with regards to 508.

Right now I have dynamic Flash MX 2004 presentation where the user able to jump to various points in a non-linear fashion. It has lots of layers and lot of Actionscript running around.

Since I work for a government organization it is required that I make this Section 508 compliant and allow the presentation to be readable by Screen readers such as Window-Eyes and JAWS.

I have used the Hi-Caption Viewer Component distributed by HiSoftware (http://www.hisoftware.com/hmccflash/vindex.html), to no avail. I have followed the tutorial presented by Macromedia on accessibility (http://www.macromedia.com/software/f...sibility_flash), but that didn't work. I tried using various screen readers such as JAWS, Window-Eyes, and the built in Narrator that comes with Windows, but those don't seem to work either.

I was just wondering if any Flash developers have been able to get Screen Readers to acknowledge and read elements in a Flash presentation.

Thanks in Advance,
Patrick.

Tutorial Section
sorry as you can see i'm new here and i can't seem to find the tutorial section... can someone give me a link to the tutorials?

[F8] Preload With Each Section
I have a site that loads on top of itself (level 0) with every click of the navigation. Instead of the person seeing a black page until this loads in, I want a preloader...so how does this change my code, etc? I have quiet a few pages that would need a preloader on it.

Thanks!

Feedback Section
As part of my current work id like the potential users to be able to give feedback and also discuss other issues to do with the subject amongst themselves. So in a way im kinda askin for a forum/feedback/discussion section.

Im kinda new to this so does anyone have any ideas what would be my best option or could maybe guide me in the right way to a tutorial.

Im really strugging on this one.

Thanks in advance.

How To Key Out A Section Of Video?
Hello

I wonder if I can import a 5 sec video into Flash Prof 8, which is a time lapse of crystals growing from all sides with a pure black background. And then I want that video to be on the top layer in flash, with the other layer revealed underneath only in the black section of the crystal video, which would then cover up the bottom layer as the crystal form and fill the stage area.

How can I "key" out that black area in the video to show the bottom layer, or can I?

Thanks
KB

Print Section Of MC
Is there a way to print just a section of a MC?

I have a print button with print a MC in the same swf.

Can I add x,y or height and width coordinates to sent to the printer action?



CODE on PRINT BUTTON
----------------------------------

Code:
on (release) {
printAsBitmap("Page_1_mc", "bmax");
tip("");

}
on (rollOver) {
tip("Print");
}
on (rollOut) {
tip("");
}

If Mouse Over A Section
I need to create a menu...this menu is closed by defoult (I create a MC of the menu animation and place the instance in my movie).
Thats the eeeeeasy part, my problem is: I can't use a transparent buton to triger the open animation of the menu... since a boton over my menu will override the menu butons.
(sorry for my english...)

I think is has something to do with the mouse position..."if the mouse Yposition is > than X# then triger the movie" but I'm not sure if that's the right path or if there is other more easy or what is the name of that process to search in the forum...

thank you...

Copyright © 2005-08 www.BigResource.com, All rights reserved