IDE :: LoadMovie Fail In Browser?
Aug 24, 2009This as always a stupid question, my bad.
View 1 RepliesThis as always a stupid question, my bad.
View 1 RepliesI have an AS2 .swf being loaded as a child of a parent AS3 .swf. The AS2.swf calls loadmovie() and unloadmovie() to display 3 jpeg files. The images load the first time, but after that, a call to loadmovie() to replace the image, or a call to unloadmovie() fail. I found the following Adobe Bug report ([URL]) that has said this has been resolved, and also said that child movieclips could be replaced without a problem. Here is the code I'm calling.
[Code]....
I"m a bit confused because FlexUnith 4's behavior. When I use fail() in try-catch body fail method is just ignored.
[Code]....
I suppose this one should fail as there is no way around it, but it succeeds and turns green. Whatam I doing wrong? When i put fail() before try-catch block it fails as it is suposed to. BTW using Flash builder 4.
I have a campus map at www.averett.edu/map. The swf is very tall and you have to scroll down to get to some navigational buttons at the bottom which load swf of other campus maps into the top left corner of the parent. The problem is...even though the movies load without a problem, the browser is still scrolled down to the bottom of the page and the user has to scroll back up to see the maps. Is there anything I can do to force the browser window to scroll back up to the top when a movie loads?
View 1 RepliesI'm having a weird pb, i load a movie using loadMovie(), it works in the flash player but not when the swf in embeb in a html page.
View 4 RepliesI have a campus map at The swf is very tall and you have to scroll down to get to some navigational buttons at the bottom which load swf of other campus maps into the top left corner of the parent.The problem is...even though the movies load without a problem, the browser is still scrolled down to the bottom of the page and the user has to scroll back up to see the maps.
View 2 RepliesUsing loadmovie I'm loading an external SWF on a different domain. Any property changes made to a movie clip in the loaded SWF don't show in a broswer. container.emc.loadMovie([URL]); Inside movieA is the movieclip "box". I don't want "box" to be visible so I've used container.emc.box._visible = false; All working fine at this point, when I preview the SWF from Flash (CS3) I see that box isn't visible. When I open the SWF in the browser, movieA is loaded but box is not set to invisible. This happens with all browsers or any publish settings I try.
View 1 RepliesIf you have a very large project Flash CS5 fails to compile it. The same error used to occur in CS4 until the 10.0.2 patch was released. Is this going to be fixed in Flash CS5? Currently Flash CS5 is completely useless to us because of this problem.
View 5 Replies[url]...
Works just fine, but when I embed it into my page, it loads the video, but doesn't load the playlist / audio file as seen at[url]...[code]...
My app uses a Dictionary
protected _categoryToValueDict:Dictionary = new Dictionary();
to map something to something else.Now, at a certain point in the application, I need to remove a certain key from the Dictionary.I implemented this simple method:
public function setCategoryNoValue( cat:TAModelCategory ):void {
// delete( _categoryToValueDict[ cat ] );
var old:Dictionary = _categoryToValueDict;
[code]....
Thus, my question: What's the difference between the two alternatives? To make the object referenced by myObject eligible for garbage collection, you must remove all references to it. In this case, you must change the value of myObject and delete the myObject key from myMap, as shown in the following code:
myObject = null;
delete myMap[myObject];
Is suppose this to be a typo. Shouldn't it read like this:
delete myMap[myObject];
myObject = null;
Why pass a null-pointer to myMap as key?
I have a couple of buttons in my flash application that call two different javascript functions. They work in all browsers except IE9 (I haven't tried earlier IEs). My code to call the function is something like this:
ExternalInterface.call(
"myLovelyFunction",
string1, string2);
[Code]....
In IE9, the function does absolutely nothing, but the console complains with:
SCRIPT438: Object doesn't support property or method 'SetReturnValue'
index.php, line 1 character 1
line 1, character 1 is obviously pointing at nothing in particular.
I can make it work fine by switching on compatability view, although the console error doesn't go away.
Is there anything about IE9 that causes this, and more importantly, how do I fix this?
I want to ActionScript3 set HomePage to Google ",so I use following stagement:[code]Then I call this swf in html page,like follows:[code]When I use mouse click,IE8 raise javascript error.'null' is null or not object
View 5 RepliesEvents xml exists in the publish directory of site.fla. The following returns no trace.
ActionScript Code:
package
{
import flash.display.*;[code]..........
Not really resolved, just giving up
View 2 RepliesI have this problem that I don't know what causing it. This is what happened : I made an animation which is called anim.swf, in that animation i put some code to generate instance of movieclip from the library to be put on the stage using this code :
[Code]...
[Code]....
Code: 1172: Definition flash.events.MouseEvent:MIDDLE_MOUSE_DOWN could not be found. 1119: Access of possibly undefined property MIDDLE_MOUSE_DOWN through a reference with static type Class.
I have created a motion tween in CS4 that works perfectly when scrubbing with the playhead. However, when testing, the motion tween fails yet the rest of the animation plays perfectly.
View 11 RepliesSo i was going to run through some test's so I can get some basic lipsync. I recorded some audio and then proceeded to import i when to file, imported and then clicked the file.after it loaded, nothing happened
View 2 RepliesCreate P12 Certificate fail (Air for Android) Watch the video
View 3 RepliesI'm making simple 3D transformations in Flash to rotate stuff, but I get distortions. I can rotation left, right, up, down, but not diagonally since it completely distorts my faces (the ones I draw).I think I fail to move the camera somehow, but I'm not experienced enough to understand my error.Here's the file: http:[url]....
Example: when a face is rotated at about 45° around the y axis (vertical to screen) and then rotated around the x axis the perspective doesn't feel right... the faces are too narrow.What I do is multiply the rotation matrices between themselves (the mouse position providing the angles) get the transformed points, project them to screen and draw boxes with them.
I'm using a Dictionary with weak keys to test if an object has been garbage collected. When all references to the object outside of the dictionary are removed, I expect the dictionary to no longer be populated. It seems to work for an Object, but for a Sprite it indicates that the garbage collection hasn't taken place.[code]...
View 1 RepliesI am a really novice actionscripter and have no idea if or how the following can be accomplished:I have coded a drag/drop function so that when a Christmas ornament is dragged and dropped on a Christmas tree, a window opens up for Url...The non-profit site I'm doing the movie for has one of those special PayPal hosted buttons so that when you click on the PayPal Donate button provided for the site, it opens up a special Paypal window for donations to that site.Is there a way I can code the drop function to access that special window? [code] Click Donate and enter the amount of your donation in the space provided. If you have a Paypal account - log into it to complete the donation. If you want to use a credit card, fill out the form completely and click to review.
View 1 RepliesSo I have made 7 movieclips on the stage that will act as buttons. I gave them all the instance name "port_BTN_0", port_BTN_1", ..., port_BTN_7".Then I will create movieclips as a child of those buttons that will act like imageholders. When the user rolls over the buttons, they will fade away. And here in the last command, it seems to fail.
Here is my code.
Code: Select allvar n:int = 5
for (var j:int = 0; j<n; j++) {
[code]....
I'm attempting to use FMIS to try and record a user's webcam as a file on the serer.Saving as .flv works fine but when semyStream.record("mp4:"+mystreamName+".f4v");It creates the file but its only 20kb and empty.Do I require a plug-in or component? Or do I have to record as FLV and then convert to another format?
View 6 RepliesIn my tracking I records the voice, it generates the file (if i download I was able to listen to it), but if I try to play, it doesn´t play. If I use FP9 r124 it works, using FP10r53 or the latest 10.1.82.76 it fails !!! all with the same SWFhas anyone experienced the same? I can not ask everyone to downgrade the flash player.
View 8 RepliesWe recognized that some older flash projects are compiling well in the old CS4 Flash but fail in CS5 (same player verison). Is there any list of things that has changed for compiling in CS5?
View 3 RepliesI'm trying to animate a walk cycle but I fail miserably. Here's a link to the feet portion of the walking.
View 1 RepliesI have two flash movies communicating with each other using localConnection, passing an object from swfA to swfB. This seems to work fine, but will occasional fail. The only information we have is that the status event is fired with a level of error, there is no other information. Once a connection has failed it will continue to do so.
I don't know why it's happening but it is not a security problem (both movies are running on the same domain) and all communication is wrapped in a try..catch.
alternative method for communicating between movies? I've tried using ExternalInterface but it's too slow for the number of updates that are sent.
I'm implementing AMF service methods for an flash front-end. Normally things work fine, but we've found that if two methods are called one right after the other, the second call returns null to the flash front-end even though the method actually completes successfully on the PHP end (to verify this, I dump the return data to a file right before I return it).
View 3 RepliesI have a flex3 web application that displays some data from the server on the same page by using the states class.
The MXML code part is this:
<mx:states>
<mx:State name="Chart">
<mx:AddChild position="lastChild">
[Code]....