In an effort to learn the technology and languages I'd like to try to develop my own Flash Video player (for the web).The main goal would be to brand the interface and be able to stream/play flv video files over the web on websites.I have no idea where to even start looking for information or what to look for on this topic
I am developing a lite mp3 player and the track bar has a circular shape. How to interact on mouse click so I can jump to any position of the track (I know how to draw a progressive circle or to interact with a horizontal track bar).
I've seen something like 3rd party software that works along with the Flash Player and extends its functionality. For example: video decoding, opening external files, etc. How such things can be built? Any useful info and maybe links...
The intent is to implement a zoom effect for my photo gallery where photos are displayed at a default size when looking through them but if clicked they will zoom/scale up to a larger size for a more detailed view of them.I've attempted to do this by loading the jpg at it's full size when zoomed, having a Bitmap draw it, then immediately scale down the Sprite container that holds it. I call this scaled down version the default size. When the user clicks on the Sprite shown at it's default size, it is scaled back up to it's original size using a tween to give it that growing larger zoom effect. I call this larger unscaled version the zoom size.
The problem is with the default size (scaled to .66). It is not very sharp and has a noticeable lack of detail. I've compared the quality of it to a smaller jpg (equal display size) of the same image and the smaller unscaled version looked way sharper. I have set smoothing = true; so the tween responsible for the scaling will appear smoother. The tween looks perfect and so does the zoom version. The default version of the image when it is not being tweened is what looks bad
I am not very code oriented, but I found this code that I altered for my needs, and it works, as you move your cursor towards the bottom of the screen the movie clip fades in. However, in addition I need one that does the inverse where another mc fades in as you approach the top. Does anyone know how I would acomplish this task?
I come from game programing using c++ and glut (which is an external library to display sprites and stuff). in glut you do everything in the code there is no drag and drop, this is nice since all the control is at the code itself, this is also annoying because when you want to display something you need to guess the right coordinations, this requires a few tests until you get the right coordinations.
Now in flash you do have the drag and drop feature which is great but it doesn't go well with the OOP concepts, at least for me.my dilemma is: do you create your frames (symbol creation and placement) by code only (but miss the drag and drop freature of flash) or do you create pre-made frames by drag and dropping symbols from the library?
What is your approach to writing documentation explaining the options and use of XML files for a project ?Do you write commented instructions directly in the XML file ?Do you create a different text file in which you write instructions ?Do you explain the use of blocks of XML or do you detail each element and it's function ?I am looking for some guidelines on how to write the documentation for large XML files that control the settings and content of projects.
Our game is a bird-eye view game, with a dark atmosphere. The player carries a flashlight which can be used to brighten up the environment.So far, we've tried using masks, and although it works, it's not very effective. Every object needs a seperate mask, it tends to use a lot of CPU and is generally a mess to work with.I've considered using a system of black tiles at 90% alpha all over the room, which change their transparancy when the player moves near - but I was unsure.
But I do not want to Drag and Drop the original movieclip (A). But a copy of the clicked movieclip (A1).To do this I make a copy of the clicked movieclip and put in on the same place as the original one. And set function A1.startDrag();The problems which i have now is the handling of the mouse events. Because Flash was bussy with movieclip A, and is now interrupted by movieclip
.onPress { make moviclip 1 set location A1 under the mouse cursor
i have found a website before with a good parsing of swish's math.approach to flash but i cant find it now.does anyone know how to emulate swish's math.approach in flash, or any website with an explanation?
I've got a question about the efficiency of two functions I wrote that do the same thing. I'm trying to figure out which one to use. The functions draw lines between a series of points, and continually redraw them as the points move. The first function uses the drawing functions in flash.The second function creates an empty movieclip and draws a short line in it, then uses trig to scale / rotate the movieClip to make it fit between the dots.Both work, but as my program gets larger I'm wondering which function would calculate faster.
it looks like with the createEmptyMovieClip, u need to pass to it an instance name of an already existing movie which has been created manually and put in the library.I dont want to create an instance of a movie clip in the library. i want to create a movie clip in actionscript that does not already exist in the library.
I will redesign a product page that contains products like Vase, Ceramic Plates and more, Customers can customize the colors of the product. Now I need some advice what approach would best fit, I am planning to use Flash/Flex/Actionscript in implementing this; That way I can minimize loading to many jpegs for the product and at the same time making the page more interactive.
I am having trouble figuring out how to build a console for my application so i can send msgs to it from any class in the package.
i tried to send a generic Event, but I cannot find a way send a msg together with the event, or at least a reference to the object which is dispatching the event.
For my application I need a component (or combination of components) that shows a number of different types of events along a timeline, displays them in different ways as specified and allows you to click/hover along the timeline to add/modify/get details on events.
Basically I want a timeline across the top, always showing a 24hour period, but starting at variable points. I need to have different rows of variable height to display different types of data in different ways. for instance: row 1 will display the 'value' attribute as a circle whose diameter reflects value amount and change color based on a 'typecode' attribute. row 2 will display a line graph and plot chart based on different numbers (like one chart but with the datapoints as larger dots), and will also chart out trend of following or previous data if it exists. behind row 2 will display the same thing but for 5 previous days progressively more transparent
I wish to create a multiplayer game facebook app. A game will have 1 to 4 people in it playing from their own systems. I wish to target, lets say, 10K simultaneous online users. I am planning to write the client side game in Flash. I wanted to know how these clients communicate with each other. Can these clients communicate directly with each other or I should go with "server as middleman" approach? I want the game to work even in "restricted" networks. If server, how do I have things working from google app engine cloud service? I came across channel API, should I use that? Would it work with a flash client?
I'm looking for the javascript way to an associative map/array/hash that's using objects as keys. A replacement to what you can do in ActionScript 3 with the flash.utils.Dictionary. I'm sure java and C# have something like it too.It'd work same as a normal generic Object based assoc[key] but instead of string-based properties you use whole objects as keys (it will match not on toString() like Object does but on unique instance). Very handy to decorate objects you don't own (by using the object as keys and your decorations as value).[code]Main point of issue is I need to match on object only (it's being used by some other process you're not to interfere with but we still need association). So no magic .__hash props or toString() overloading (if possible).
Working on my first real project in as 3.0, trying to decide how to best work in a preloader. What I have is a single swf containing some assets, and a target to a main doc class. After loading those assets onto the stage, it runs through a routine to load several other swfs, and then 'does stuff' with them... anyway. got all that working nicely. How, now to best track the loading of the main swf? If I understand it correctly the Loader class is purely for loading external assets. well - what about internal assets?
Got this: ActionScript Code: //A large SWF file can monitor its download by calling this.root.loaderInfo.addEventListener(Event.COMPLETE, func)
I think it would be called AFTER the whole main.swf has loaded. In AS2.0 i could target _level0 to get information back about the currently loading swf... ActionScript Code: initPercent = (_level0.getBytesLoaded()/_level0.getBytesTotal());
But, again, these are internal assets, not even living in memory yet. As far as I can tell - I need to use a preliminary (separate) swf to load the main.swf. (Like i used to do with AS2) - But if there was a method of targeting internal assets - a 'self loader' that would be cleaner...
my stage is a long, thin rectanlge, with an asphalt background on a distinct locked layer
on the stage i also have a movieclip of white crosswalk 'stripes' motion-tweened from left-to-right over the asphalt
i am trying to have these stripes fade away as they approach the right side of the banner
'fade' being the operative word here, i'm trying to create a mask layer in the 'stripes' movieclip that has a transparency gradient
basically, a recatangle moves left-to-right over the stage, and a mask layer above (aligned left), has a left alpha value of 0, so the rectangle disappears behind it. i've seen references to 'soft mask' and also animated AS solutions, masks are always far too complicated.
im trying to establish a standardised approach handling event management.ive been using a similar structure to this on all my projects and havent had any problems.url...weve had a new guy start in the office who uses this method, and i can see why its an easy solution to use too, but not sure if we'll run into problems.url...was wondering if anyone had any thoughts on the correct way to handle this, and what potential problems we may come across.
Has anyone got any alternatives to what Colin Moock has coded to GET VISIBLE WIDTH/HEIGHT OF A DISPLAY OBJECT in ActionScript 3? That esp. in perspective of DisplayObjects that have 3D transforms applied and visible dimensions of which you need to consider for a calculation.
I've recently started developing a big project in flash. I'm trying to tackle the resolution issue at the start, but not sure what to do. The way I see it, the only way to go is to make something for default resolutions such as 1028*768. Other then that there isn't much to do.
A browser stats site showed that something like 50-60% have that res, but other users have different resolutions. I dont want my users to see the game as too big or too small.
I have developed a java program as a part of my homework and have to build "really good" GUI for it as is the demand.I would like to know if I can develop a flash based gui and then run my java code behind it since I have learnt flash before ??Since I have some time constraint I don't think I would be able to implement full dragabble features using swing and java applets.
So I have been sending my .apk to myself via email attachment and opening it on my Android Tablet and attempting to install the app for testing.But I have continually gotten an error, even when I save it to a microSD card on the Android Tablet.It simply won't install.I was wondering if there is an example .apk file (Hello World even) that has been created in Flash and has installed on an Android device,
I have been a desktop developer for a few years mostly doing object oriented stuff. I am trying to branch out into web development, and as a hobby project trying to put a web application together. I have been reading quite alot of information, but I still can't seem to decide on the path to take and would really like some advice. Basically, I want to build something like this:
http:[url]....I have found this as well: http:[url]....
But so far it is of little use as I am trying to grasp Javascript. I have been using visual studio for that, is that a good IDE for this tye of thing or should I try expression blend? Jpolite seems to do everything with javascript, which seems kind of cool, but I if I want to make a chart inside a widget that connects to a database, do I need something more? Is this where ASP.NET comes in? I am familiar with .NET, but if I use ASP.NET for my website, do I have to host it on IIS and windows server as opposed to Apache since mono is still being ironed out? Because that would cost more, so would PHP be a better choice?Also, for charting these guys as well as google seem to use flex: http:[url]....I have found this: http:[url].....
Would that be sufficient to implement something like google fiance purely in javascript or is there a good reason they use flex?
I am going to start doing a couple of Adobe AIR projects that will be using SQLite feature provided by AIR. Since this is the first time I am attempting to do this, Since this application will be accessing a local db, I think I can open a connection to the database at the start of the app and keep it open till the application closes. Is this a right approach to use here?
How should design my application if I am using an MVC framework like Mate or Cairngorm? Should I create some wrapper class to perform the db operations so I can reuse this in some other project? Looking forward to some valuable information...
I'm planning to develop a chat program in Flash using a sample program called Ozeki VoIP SIP SDK. On their website, they say: with the help of this sample program you can easily implement text, audio and video chat programs and it doesn't require a long period of time.