Professional :: Can't Resolve When Using The Controller?
Mar 15, 2010
I'm using CS4 and encountered an issue that I can't resolve when using the controller. When an audio file (MP3) is on the timeline, I hit play on the controller to listen to audio but when I hit stop, the play head stops while the audio continues to play. I also noticed that when scrubbing the timeline you can't hear the audio.
Has anyone encountered this? This issue doesn't happen in CS3 and since a lot of my work deals with syncing graphics to narration I have to go back to CS3, which I don't want to do.
(Flash CS3, Dreamweaver CS3, Mac OSX) I can encode Flash video, and place a nice skin (controller bar) into the file, within Fash, but when I place the final .SWF file into my Dreamweaver page (Insert-->Media-->Flash), and test it in a browser, the vid will play automatically and there is no skin (controller bar). The skin file is residing in the same folder as the .FLV and the .SWF file, but for some reason the skin refuses to allow itself to be seen.
I am getting the following error - I have googled it and can't seem to resolve the problem, upon debugging the movie it says that it is on line 9 - so can anyone let me know what is wrong. I checked all of the buttons and they have the correct instance names.
Quote:
TypeError: Error #1010: A term is undefined and has no properties. at POA09_fla::MainTimeline/frame1()
I am using flash builder 4 to run sample application from "Getting Started with FLEX 3", but the code can't run because there is one place that FB4 can't resolve, I guess this is because the library has been obsolete but after a tons of search I can't find the solution.
I got some movieclips which contain instance name class in flash.ex: mc_1, mc_2.My problem is I get incompatible errors TYPE while clicking on each of these MCs Error #1010: A term is undefined and has no properties.[code]
i created project with flexmojos maven archtype..i used flexmojos:flexbuilder and compile/run with FlashBuilder 4 everything is okay but when i try to compile project with flexmojos i got following error: ERROR] Z:....srcmainflexMain.mxml:[6,-1] Could not resolve < fx:Script > to a component implementation.INFO] BUILD FAILURE
my mxml: <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
I'm getting some warning signs in FDT in a couple of lines of code that access values in the app descriptor, like this:
var appDescriptor:XML = NativeApplication.nativeApplication.applicationDescriptor; var ns:Namespace = appDescriptor.namespace(); var appId:String = appDescriptor.ns::id[0]; var appVersion:String = appDescriptor.ns::versionNumber[0];
Those lines work fine, but FDT underlines "id" and "versionNumber", and issues the warning "Could not resolve variable (may be an XML element name)".
I am trying to create a menu bar with the following items: File, Database, Navigate, Window. However, I am getting an error which I do not understand: Could not resolve <mx:XMLList> to a component implementation. Can anyone explain the error to me? My code is as follows:
I am using Flash Builder 4 and need a VideoDisplay component that works with Cue Points. The newer version of theOSMF classes that Flex's VideoDisplay are based on handles this already. The idea is to roll my own VideoDisplay component rather than monkey patch the existing one. To do this, I have created a project with the newer version of the OSMF classes, and another project with which I would build the new VideoDisplay, in a separate package name.
The issue is that since the Flex 4.1 SDK contains the majority of the OSMF classes with their original package names, a statement such as import org.osmf.media.MediaPlayer; references the class located at
I tried many way to solve this error in mxml but failed anyway: "Cannot resolve attribute 'colorChanged' for component type com.colorPicker.controls.colorclasses.ColorMap. AdvancedColorChooser.mxml" <ColorPicker:ColorMap id="ColorSelector" modifier="{ColorModifier.value}" mode="{ColorMode}" value="{_value}" colorChanged=" { handleColorChange(); <!-- defined in the script region below --> [Code] .....
How should I define the "colorChanged"? Should I define colorChanged as an event in ColorMap.as? Like this, internal function colorChanged(arg1:flash.events.Event=null):void { return; } But I got syntax error parsing the mxml file.
I have a little game where I'd like a background image to slowly resolve. Basically, it starts out quite pixelated and slowly resolves to "clean". Is there a popular library or something for this? I've found a couple of examples on the web, but they all seem a bit heavy duty.
I've been working for a month on a flash game, which should be manageable to play in a browser (light computation). This being said, I've noticed that in some browsers the game runs at what looks like 15 fps (the game should run in 80fps). This has been known to happen in IE9, and the quick fix was to add this line to the top of the html: <meta http-equiv="X-UA-Compatible" value="IE=9"> This was a quick-fix that forces IE into compatibility mode and greatly improved the fps (to about... 60, let's say). Still, I believe that the game is running slower than it should in every browser, which is evident when the html version is compared to the swf.
AIR seems to keep its own DNS cache when an application is running, and ignores any changes to the OS DNS cache (i.e. ipconfig /flushdns.More specifically, I'm creating multiple URLStream & URLRequest objects over a long period of time in a AIR application. Once the first one connects the host's IP address is cached for the lifetime of the application.And the URLRequest.useCache property,understandably,has no effect on DNS caching.how to force a host name to re-resolve inside a AIR (or Flash) application?
Note: Unfortunately, resolving the IP through a web service and rewriting the URL is not an option as a workaround.The use-case is downloading files from Amazon S3 using signed URLs which are invalidated if modified.
Update: The test results above were gathered on WinXP prior to AIR 1.5.2. Subsequent tests using 1.5.2 show serialized requests with URLStream.load() are re-resolved more frequently but still ignore TTL values.I still haven't figured out what conditions are necessary to trigger the re-resolution, but have noted a couple of cases that prevent it.For instance, if another asynchronous URLStream is active to the same host then requests use the cached IP address and are not resolved. And simply closing and dereferencing all streams to a host is not sufficient to ensure the same host name will be re-resolved in the next request.
I have a controller that receives an event with some data. As a part of the processing this s new data it needs to modify a collection in another controller. Is it a bad idea to inject a controller into another controller to modify this collection?
i'm trying to use org.simplemvc for my first mvc project. i'm getting it piece by piece, but I can't figure out how to get the controller from a class of mine that extends view.I thought it would be as simple as just calling a method from it's super, view, the controller getter. but it tells me the property doesn't exist, so I'm thinking it has something to do with the interface.[code]
Rather than build a controller for each video on our website, my IT dept wants me to build one controller that all videos can access. How do I do that and do I need a script? I know nothing about scripting and I'm a newbie in video publishing
The first is that when loading an external swf in my main SWF I get this in the output window:
TypeError: Error #1009: Cannot access a property or method of a null object reference. at audio_fla::list_1/frame1() at flash.display::Sprite/constructChildren() at flash.display::Sprite() at flash.display::MovieClip() at audio_fla::MainTimeline() TypeError: Error #1009: Cannot access a property or method of a null object reference. at audio_fla::MainTimeline/frame1()
But it still works. Its an mp3 player. The other problem is that the loaded SWF has a volume controller. When I test the external SWF by itself it works fine. When I load it on my main SWF when I start to drag the handle on my volume slider and MOUSE_UP outside the handle it still keep dragging the handle.
The code of my main SWF is: import caurina.transitions.*; var _currentCategory:String = ""; var percent:String = ""; var loader = new Loader(); loader.name="videoLoader"; [Code] .....
I am working on a flex application which makes calls to an .NET webservice. I am trying to follow the MVC design pattern. I have created a model, which stores all information received from the webservice. The webservice itself is created by actionscript in the controller. The view in my case, consists of various user-defined components (multiple .mxml files).
The Model is a singleton class, and each of the views accesses a getInstance of the model. The question is how do i access the webservice (i.e. controller) from each of these components? Does the controller also need to be a singleton class just like the model? and let each component get an instance of the controller in order to access the webservice?
I'm trying to create an asp.net mvc controller method that will return an image generated by a POSTed bytearray. The post is coming from Flash and has the request header: "Content-type", "application/octet-stream" (although this can be changed if needed).[URL]
var header:URLRequestHeader = new URLRequestHeader("Content-type", "application/octet-stream"); var jpgURLRequest:URLRequest = new URLRequest("jpg_encoder_download.php?name=sketch.jpg");
Can flash video controller control external swf files? It seems it can only control flvs?nyways, I am working on a flash animation with voice over and I need to have a video ontroller so it can rewind, fast forward, pause the swf and turn off the sound....etc....oes anyone know any video controller in AS3 that can control swfs out there that I can download or purchase?I know I could convert the swf to quicktime then flv, but the quality would be degraded because of the conversion from vector graphics to bitmap. I certainly wouldn't want to have that.
i need to have a slider over my stage to control the time-line "frame by frame motion"...to drag the slider and move foreword and backward with actionscript 3.0the problem is how to control the slider to reflect in the main time lineand the drag and move action for the slider itself ..
I have an external sound controller that plays 10 tracks. The current way I load the sound controller is with LoadMovie and I do it on the last frame of the movie that is my actual website. However, this slows my whole site down significantly, because when I press stop on the sound controller...everything is at the speed I want it to go. What is the best way to go about preventing this slow down?