Last change
on this file since 3368 was
3368,
checked in by g.georgovassilis@mpi.nl, 11 years ago
|
#269 BaseRemoteService? abstracts HTTP communication away for XML services, added facility for mocking services in unit tests, moved tests into src/test
|
File size:
668 bytes
|
Line | |
---|
1 | package clarin.cmdi.componentregistry.importer { |
---|
2 | |
---|
3 | import flash.events.Event; |
---|
4 | import flash.net.FileReference; |
---|
5 | |
---|
6 | public class FileLoadedEvent extends Event { |
---|
7 | public static const FILE_LOADED:String = "fileLoaded"; |
---|
8 | private var _fileReference:FileReference; |
---|
9 | |
---|
10 | public function FileLoadedEvent(fileReference:FileReference, bubbles:Boolean = false, cancelable:Boolean = false) { |
---|
11 | super(FILE_LOADED, bubbles, cancelable); |
---|
12 | _fileReference = fileReference; |
---|
13 | } |
---|
14 | |
---|
15 | public function get fileReference():FileReference { |
---|
16 | return _fileReference; |
---|
17 | } |
---|
18 | |
---|
19 | override public function clone():Event { |
---|
20 | return new FileLoadedEvent(_fileReference, bubbles, cancelable); |
---|
21 | } |
---|
22 | |
---|
23 | } |
---|
24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.