Actionscript 3.0 :: Class Diagram And Concrete Sample?
Jun 26, 2009
we use all the time loader class with its loader.contentLoaderInfo and all listeners.Two question :1/ Is there a soft to make as3 class diagrams for soft design.2/ I would like to encapsulate loader class, the things which are not constant are urlmessages when load is complete objects to update when load is in progress (loadbar or textfield
View 3 Replies
Similar Posts:
Dec 11, 2009
Is there a tool that can automatically generate class diagrams from Action Script code?
View 2 Replies
Mar 12, 2011
I'm working on an Adobe Air application written in Flex 4 that plays .mp3 audio files on the user's computer. Note: these are are not audio files shipped with the application -- they are .mp3's on the user's computer that they select for playback through the application. The application works fine for .mp3s encoded at 44.1 kHz, but can give unpredictable results if other sample rates are used. I've done plenty of research to know the limitations of the Sound class and how .mp3 will basically be my only option in Flex.
My question is: Is there a way to detect the sample rate of the .mp3 audio in Flex 4 ActionScript? Rather than worry about making the application work well with non-standard sample rates, at this point I'd like to just catch those cases and prevent files with non-44.1 kHz sample rates from loading. To be specific: if a user selects an .mp3 for playback that has been encoded at 48 kHz, for example, I'd like to be able to detect that case and take action preventing the file from loading and then announce to the user that this is not a supported audio file.
View 1 Replies
Dec 18, 2009
I wonder how can i check that concrete object is on the scene for example:
var sprite1:Sprite = new SPrite();
stage.addChild(sprite1);
...
if(?????)
[Code].....
View 2 Replies
Jun 7, 2011
The ValidationManager has a public Dictionary for storing UI components that implement the IValidatable interface.I am testing a command class that needs an instance of ValidationManager and I want it to fail the validations. So I override the ValidationManager's "validateItem()" method like so:[code]My problem is in the execute method of the command. It checks to see if the validationItem is both a DisplayObject (isVisble) and IValidatable. Any slick way to stub a typed object AND an interface? Or do I just need to create an instance of some existing object that already satisfies both?[code]
View 2 Replies
Jul 29, 2009
How do I listen to an event dispatched from non-display-list concrete objects which are created by a singleton factory class?
An example would be where I want to create tweens for objects using a TweenFactoryClass. In my Main.as class I have this:
ActionScript Code:
TweenFactoryClass.instance.tweenMe( myClip, 200, 200 );
then, in my TweenFactoryClass.as, I have:
ActionScript Code:
public function tweenMe( clip:DisplayObject, xLocation, yLocation ):MyTween
{
var tween:MyTween = new MyTween();
[Code].....
I don't know where I should add the listener to be able to hear that event that was dispatched from the MyTween class.
View 9 Replies
Jun 15, 2011
I defined list which needs to show list of employees. In my custom list, i want to provide selectedId property in order to select(highlight) employee with concrete id. List is created according to [URL]. This is code for my custom list...
[Code]...
In my code i bind some value on selectedId property of custom list(list is placed inside popup - TitleWindow). Now, only on the first show up of my custom list, employee, who have id identical as selectedId, is not visually selected(colored) in list. When i said visually, i mean that i get correct object and index when i take selectedItem or selectedIndex property of my custom list. Even more, on that critical first show up, when i roll mouse over item which should be selected, it stays selected(as she should be) after i roll out.
View 1 Replies
Mar 18, 2009
I want to make a circle/pie (2d) chart and use it like a timer, at first the circle shall be all black then every second it shall get more red(the pie pieces shall turn from black into red then) and after 60 seconds the whole circle shall be red, I have a few other things I want to do too
View 1 Replies
Nov 6, 2009
I am working on some dress pattern design tutorials. I would like to show patterns and fabric pieces flip over with a page turn type animation. I am looking for a simple method as it involves doing it to a lot of diagrams. I have been looking at After Effects as I know I can 'page turn' objects. This pretty well produces the effect I am looking for but I feel it should be easier in Flash (Shape tweening morphs the diagram and motion tweening doesn't help) or perhaps video in Photoshop. I don't mind what I use.
My patterns are drawn in Illustrator so importing them would be really convenient. Ideally I would like to fill the shapes with a textile pattern and have the reverse showing with a different texture but this is not essential - just getting the diagrams to turn over smoothly would be really nice.
I have even thought of screen recording the process of dragging the corner of the diagram and flipping it over in some way.
I am happy to experiment but if anyone can point me to the best way forward I would be very grateful. There is nothing worse than spending hours/days working on a way to do things only to find there is a preset somewhere that does it for you.
View 1 Replies
Dec 30, 2010
i have a bunch of diagrams that are exploded to show parts that we sell of athletic equipment. our company now has an online digital catalog that we want to put some flash into so when the user clicks on a part it will direct their browser to the webpage that they can order it from (hopefully in another window). i know there are plenty of ways to do this but i havent used flash in about a year and it was just one class and honestly i am a little fuzzy on what to do. i guess i would import the .ai files and make each part a button right? should i do these on different layers? some of the files are jpgs, so would i have to make an invisible button or something over the image?
View 6 Replies
Jan 4, 2011
My requirement goes like this.I need to create a venn diagram in flex or action script. I need to create 2 circles. Let's say two circles,circle A and circle B. Both circles should have different color and intersected(A^B). So, finally it should have three colors.circle A, circle B and the intersection part respectively. After that, when I click circle A, only circle A part (excluding intersection part) should be highlighted and remaining should be the same. When I click intersection part, only that intersection part(A^B) should be highlighted and circle A should get the initial color as it was. Similar case with tha circle B. I have done all trail n errors using sprite,bit map and degrafa swc also. But I am not able to meet the exact requirement.
View 2 Replies
May 26, 2009
My boss wants to draw the local network and then, if you click on one of the computers or roll the mouse over one, he wants to see stuff like RAM, CPU, OS, etc. This has to be done in a browser, more specifically, the intranet's wiki.One of my coworkers suggested using flash (I am a complete noob but I assume ActionScript is what would be used?) and I think it could also be done in javascript but I dunno.He wants it to be extensible if possible, so adding another computer later or editing values shouldn't be too hard, though the topology shouldn't change very often.
View 3 Replies
May 19, 2009
I am working on creating a network diagram. I used the "Creating Connected Lines" tutorial to start off. I need to place the object equal distance from each other around a center object so they don't overlap. Is there a way to set the distance or maybe the line length so they don't end up on top of each other?
View 2 Replies
Nov 3, 2010
Is there anywhere available a software which allows to build UML diagram from AS3 code ?I found that someone started to implement that in ArgoUML, but with any results yet.Does anyone now if there is any software which can do that ?
View 4 Replies
Dec 9, 2009
I am currently creating a interactive flow chart in flash CS3 using action script 2.0, I have run into a few problems along the way though. My first problem is this:
They are four buttons to begin with, when you click on one of the four buttons the other shrink and the option you have selected displays its own options, but you can still click on the first three buttons that are first shown, so you can flick through the choices faster. This all works fine until certain selections are made and then the animation breaks and shows you two further options at the same time.
My second problem is:
Once you select your choice from the first four you can then click the same option again and it will replay the animation again. I don't want it to replay this but is they a way of using the "if" statement rather than creating another frame on every option.
View 1 Replies
Aug 10, 2010
I would like to create an interactive diagram and somebody said I should use Flash to do it.
The idea is to create an organisational chart (like the ones you can produce in MS Word 2010). Each position will have its own box or button. When a user clicks on that box or button, a Word document or internet link will be activated and take the user to this other resource.
The reason why I am choosing Flash is because I would like to make alot of these diagrams and they have to go into Moodle. Apparently Flash is the only program I should use to import the diagram into Moodle.
View 3 Replies
Nov 8, 2011
a couple of month ago i saw a picture showing the responsibility of the different actors in the as3 robotlegs frameworks. The picture was great for beginners who didn't know which actor is responsible for what task. It was like: "Do you want to bind a button to an event -> use the mediator"[URL]...
View 1 Replies
Aug 6, 2011
Does anyone know of an automatic UML generator for AS3, that runs through the code automatically creating a UML diagram for the project?
View 1 Replies
Nov 24, 2011
im making a drag and drop diagram.when the user drags and drops the wrong amount of objects on the diagram i want it to say incorrect.
View 4 Replies
Sep 3, 2009
I've got a huge movieclip (2500px X 2500px) sat on a stage (950px X 600px). The movieclip is like a tree diagram and I'd like to be able to click on buttons within the movieclip which will reposition it and have the effect of panning to the next item in the tree.
View 2 Replies
May 31, 2010
I want to make a diagram with either flash CS4 or flex builder 3, don't know with one would be the best for the job.More about the task:I want to send in values external to the swf file.The swf-file takes the vaules and makes a diagram of it using x and y values.
View 1 Replies
Dec 4, 2009
im developing a web based project management web site using phpi need charts for tasksabout the gant chart it is ok i found a javascript library which functions can take the tasks names , dates and durations then draw a gant chart.but my problem is about network diagram for the tasks , i need javascripts libraries or flash action script can make thi
View 3 Replies
Aug 30, 2011
I was wondering is it possible to create a simple flash file that allows users to make their own spider diagram and then print it.
Is it just a matter of letting them create their own boxes and labeling them?
View 3 Replies
Dec 26, 2009
My sample templates are missing, all that shows now are Cateregory: Advertising and different size banners. I searched my harddrive and found the rood folder where they are stored but only the folder for Advertising exist. I haven't deleted anything, so could it have been a glitch at installation, I had startup problems with Flash constantly crashing at the splash screen and finally had to uninstall and reinstall.
Running WinXP SP3.
[Code]....
View 2 Replies
Jul 23, 2010
I'm designing a drawing board with flash (as3). I want to add the posibility to take a sample of color from the canvas.
View 1 Replies
Jan 4, 2011
I am new to flash and was working with the Kirupa tutorial that showed the letters of Kirupa being moved and fading, all done within 30 frames. The example that was posted is so smooth and slow in its transition. I followed the directions but mine is quick and jerky.
View 1 Replies
Jan 19, 2004
i was playing with the fscommand for a few times now but i havent made the exec command execute a file(in a subfolder)... a directory with a movie and a folder with sample exec file
View 1 Replies
Mar 27, 2010
I have movieclip in my php page. I have button in that clip. What code should I use for change all page to an other one because when I use
on (release){getURL("[URL]");}
It opens that page at swf file's spot but I don't want it. I tried
on (release){ getURL("[URL]", "_blank");}
But it opens in new tab. I want to open new page in same tab. Is there any way to do that?
View 3 Replies
Nov 9, 2010
where is the source code for the multicastplayer sample that is located in <installed directory>AdobeFlash Media Server 4 oolsmulticastmulticastplayer directory? The StrobeMediaPlayer does not use the same html code and does not playback a rtmfp multicast stream.This is the code used in the multicast sample player to pass the manifest.f4m file into the player to playback a Multicast Stream which is not used in the StrobeMedia player sample.
var flashvars = {}; <!-- Add manifest file location e.g. flashvars.manifest = "manifest.f4m"; --> flashvars.manifest = "manifest.f4m"; <!-- Enable debugging --> <!-- flashvars.debug = "true"; --> <!-- Adjust buffer time  - default is 4 seconds --> <!-- flashvars.bufferTime = "10.0";
View 4 Replies
Jan 29, 2011
I am trying to download some graphics swf file for applying skinning to my FLex components .But i cant find any free graphics swf files .Could anyboody please tell me where could i find sample graphics swf files ??
View 5 Replies