ActionScript 2.0 :: XML Not Working On Publish?
Jan 18, 2010Fundamentally my code seems to work on preveiw but when I actually publish nothing appears.Here's the code in full:
Code:
stop();
#include "as/tween.as"
[code]....
Fundamentally my code seems to work on preveiw but when I actually publish nothing appears.Here's the code in full:
Code:
stop();
#include "as/tween.as"
[code]....
Fundamentally my code seems to work on preview but when I actually publish nothing appears.Here's the code in full:
Code:
stop();
#include "as/tween.as"
[code].....
I am working on Flash CS5 Professional. I have created a simple fla file but not able to Publish->preview the swf file in Google Chrome. When I click on Publish Preview it opens a new browser window but nothing happens.
View 6 RepliesI am trying to create a simple online recording via FMS2
Here is my coding:
Code:
NetConnection.defaultObjectEncoding = ObjectEncoding.AMF0;
var nc:NetConnection = new NetConnection();
var ns:NetStream;
[code].....
WHen I try to record a video via my cam (click the button "btnRec"), ... no error message comes up, but there is no FLV file (it should be "videoName.flv") has been generated in rtmp://localhost/test ?
I have a file that i am trying to add a blur filter to. it is at the very end of the movie. It shows up in the FLA but when I publish the movie the blur isn't there. Here is the fla file and swf I'm getting [URL]
View 3 RepliesIts set to print a mc that sits off screen with dynamically generated text within. This all works perfectly when i test the movie within flash, it prints perfect. However, when i publish the swf it stops working, instead it prints the corner of the offscreen content.
View 1 RepliesI'm having an issue with some AS3 Loadvars. This works fine when running as preview (^+Ent), however after publishing this doesn't work. I'm very new (this is my first 'dip' into the flash world!).
Code:
myData = new LoadVars();
myData.load("[URL]");
myData.onLoad = function(success) {
if(success){
L_Var1.text = this.RetVar1;
L_Var2.text = this.RetVar2;
_level0.gotoAndStop(2);
} else {
_level0.gotoAndStop(80);
}};
Whenever this runs in preview, frame 2 is shown without issue. If run after publishing, frame 80 is shown, but without the trace I cannot see why.
I have a flash document with only 1 scene, but several frames. On the first frame i have several buttons, their behavior is "button". I wrote a simple onRollover command on each one. Like this
on(rollOver){
gotoAndStop(2)
}
It works fine when I test the movie, however, when I publish it, nothing happens when I rollover the button. I suppose there is a simple answer to this, but i just can't find it
After making changes to a perfectly working fla it won't publish correctly,meaning:1. When previewing all the components jump (as usually happens when there isa compile error) but no error is displayed in the log.In this case when used with the whole project, the project doesn't load,even though the corrupted fla is not the first loaded (non of the fla loadsbesides the preloader).2. When previewing and running with the whole project the labels on thebutton components disappear, but only the ones that are dynamically changedby an external as file.*there are other similar bugs as well like unable to enter the table in thegame etc.The changes I make before it happens:- changing the size of a shape inside a movie clip.- changing the size of a movie clip.- changing anything in an already existing code (like changing the size of afont).- adding new basic code anywhere (like trace code).
- changing button skins.Basically, any change I make corrupts the file but not consistently,meaning, I can make the same change twice and the file will break only one of thetimes, or, I can make several changes until it breaks.It also happens on every computer but also, not consistently, I can work fora while, making the same change, deleting, making the change again etc, onlyon the fifth or sixth time the file will break. On a different computer itcan take only two or three times.The corrupted file start working again after I change the name of the foldercontaining my project or move all the files to a different folder anywhereon my computer. After a short while the file crushes again.
I am trying to publish the video of a webcam to a Flash Media Server 2.My code is working in the Flash standalone player (tested with 10.0 and 10.2), but not in the browser plugin (tested with 10.2, both in IE and Opera.The connection to my FMS is working successfully, but after the publish, nothing happens, I never get the NetStream.Publish.Start Event. On the server I can see the connection in the management console, even the stream in the streams tab. But I cannot connect to that strea.[code]
View 1 Repliesi have an fscommand with ActionScript Code:
fscommand("fullscreen", "true");
and i have checked the flash - allow full screen in html tab in publish setting but it doesn't working
I have Xml Flash website but it is done in FlashMx with a Publish settings of Actionscript 1.0 and Flash Player 6 . Now I have a flv player component I want to embedd it inside my xml flash project, It says you need a higher publish settings to enable that flv component. ok fine Now i have changed the Publish settings to Flash Player 8 . When I run the movie Flv component is working but the xml flash website has been disappeared only blankscreen .
View 4 RepliesWhile publishing my movies in CS4, I noticed that the javascript required to embed the movie in a web page was published as inline javascript in the published page. This means that code would be downloaded for each page my movie is on. Is it possible to configure Flash CS4 to publish that javascript to a separate .js file, instead of having to manually copy-paste that each time??
If no, I believe that js is independent of the Flash movie (please correct me, if I am wrong). So, can I copy-paste that javascript to an external file just once, and use the js file for all my movies being published??
I'm using Flash to play a RTMP stream to a Wowza server.
I publish my microphone with
m_MicStream.publish ("mic_user1", "live");
Unfortunately, my receiving end only supports AAC audio. Is there a way to publish AAC audio with Flash?
Note : I tried the mp4:mic_user1, but it does not work. The stream negociation seems ok, but the received audio is garbage
Ive made a movie that add strings from several input text fields to an array. This array is sent from the flash video to php. This is working fine when I preview the movie as Flash. The php script prints the variables as intended.
But when I preview it as html the arrays are all empty...
[AS]
on (release) {
number_of_attr1 = main._currentframe + 1;
suggestions1 = new Array();
[Code].....
I've just about got my first site finished, but am having a few issues with publishing it, firstly, I can't get any browser to load it with a scroll bar - if it goes beyond the dimensions of the page the viewer is unable to see anything which is cropped.Secondly the alignment is fine in firefox, but totally off in safari and internet explorer.And lastly (and its a biggy) I can't work out which files and which order of files to upload to my server in order to get the damn thing live!
View 2 RepliesI recently got Flash CS5 and began working with it on some things. One thing I was making was a simple animation that I was going to publish as an animated GIF. However, upon completing my animation, I've been unable to publish it as one. I can get it to publish as a GIF, yes, but it only shows the first frame.
My Publish Settings for GIFs in Flash CS5 are as such:
Playback: Animated, Loop Continuously
Options: Optimize Colors checked
Transparent: Opaque
Dither: None
Palette Type: Web 216
Are there any other settings I may be missing to ensure I can publish as an animated GIF?
Is there a way to publish my SWF file so that it will display my SWF file no matter what resolution setting the user has?
View 1 Repliesis this possible? i want publish my air application made in flash but when it's install, i don't want the swf in folder application. there is a way to do this? or embed the swf in the executable.
View 3 RepliesI want to design a simple website. My main problem is that when I publish it I have a border around my swf .How can I publish my fla file and make it occupy full browser window - without any border at all - I want just my swf !Whats the proper stage size and scale settings? Do i have to add some code in the exported html?
View 5 RepliesThis question is a mutual question of as3 and fms, In my flv file, I have 500 hundred small size (20 seconds timewise - 0.80 mb byte wise) videos in the library. In a test , randomly 6 of tese viedos come to the screen and since it is a test if you choose the correct video, the next question comes (another 6 videos randomly come and so on....) I have 2 questions here
1. My swf is working fine with 20 videos (flv playback ) in the library, but when I fill the library with 500 of them, is there a possible size problem because of libraray capacity ( I think the stage is not a problme because only 6 videos are available on the stage each time)
2.If I publish this swf in the net and use an fms server to make possible anybody can use the swf and videos at the same time, what capacity shall I choose as - ??? how many people at the same time. There are options like 100 people -300- 500 people at the same time. But in brief in my library I have500 videos and randomly 6 on the stage.
I have overlaid Air 3.0 over the flex sdk. I have targeted swf version 13 and included 3.0 in the header of my xml file, is there anything else i need to do to get my app published with air 3.0.
Also is there a way to check what version of air the app has been published with once it has been published?
I am using flash builder 4.5 and osx.
I'm new to flash mx 2004 and I'm having a problem publishing and playing my finished project. Every time I try to play or publish the project I get a 'The Flash program is out of memory. Please increase virtual memory on your PC' message. I was originally working on a 1 gig RAM PC and thought this was the problem. I've since borrowed a 2 GIG RAM PC which allowed me to do a little bit more work before I got the same problem. I then got a 4 GIG PC and was able to finish the project but if I try to play it or publish it the program crashes. Any Ideas. This is a college project which I need to publish as a windows exe file and I can't do it. I don't know what's wrong. The project is about 280 meg in size. I tried to 'save and compact' but it still crashes. I also tried to debug the flash project and it crashed again. I'm baffled as I think a 4 GIG PC should be ample and I no longer think that this is entirely a RAM problem anyway.
View 1 RepliesI know Flash well enough to make my site but know virtually nothing about HTML. I have published my HTML through Flash but the image is always aligned top left and not centred. I want to change the code to make it centre in the browser window but there's pages of the stuff and I'm not sure what's what or what to change.
View 4 RepliesI have project I am buidling in Flash CS5/AS3 that will need to take data imputted by the user and publish a .pdf
View 1 RepliesWe recently upgraded our network to Leopard and Flash to CS3,and since then, I can't publish to a network drive.The reason I need to do this is that we're on a network where all our project files are on the server, and we work directly from the server. With previous versions of Flash and the system, I was able to work on a Flash file on the server and publish or test to the same place. Now I need to copy my flash file to my local
computer in order to publish or test.If I try, I get this error: "Error creating Flash movie file.Be sure the destination file is not locked or on a locked drive.Also, check that the file name is not too long." Neither of those are the case.
My flash cs3 is crashing every time I try to publish a file, why? I run vista business 32 bit I didn't have problems until today,using flash cs3 for the[code]...
View 9 RepliesI have many layers and would like to hide or shut one off so it does not Publish. How? When I hide the layer in the timeline, it dissappears from the timeline, but still Publishes...
View 2 RepliesMy client would like his pages without the right scroll bar. I realize it is a bit crazy on his part, but this is what he wants. How can I publish Flash ani so that there is no vertical scrollbar on the right side? Here is the example that he is using..[URL]..
View 4 RepliesI'm pretty new at Flash and I have been trying to solve this for the last coupleof days to no success. When I publish to html in flash my movie gets cut at the bottom which it really can't. Is there anyway to resolve this? the code is the following:
[Code]....