Actionscript 3 :: P2p Publish And Play
Apr 1, 2011
I'm reading is not consistant including the adobe documentation.To PUBLISH a p2p you need to:[code]myPeerID is unique but I cannot see the stream. So here are my questions:
1) Is it possible that I cannot see my own stream for some reason?
2) For the viewing...maybe it is not seeing the stream because I didn't say anything about the groupSpecifier. Although I did attach the groupSpecifier to the nc so wouldn't that be all set because I did that already? I'm just thinking maybe I'm not connected to the same group.
3) I did the configuration multistream html page like it said to do. I then put the manifest.f4m on the server like it said. Do I need to make reference to any of that in my stream name? I saw an article giving a query string that I could use in FMLE. I thought maybe I would need to use that as my stream name?
4) For viewing...in the netStream connection...some people have it to be the peerID as the second argument while others have it be groupSpecifier.groupspecWithAuthorizations(). It would be peerID right since I need to say I want to view that person and it knows which group to connect to because I specified that when I did the GroupSpecifier in the nc.
5) Does the name of the stream in publish....ns.publish("stream") mean anything? Could it be horse or donkey? Why do I have to specify anything if it should know what group to connect to based on the groupSpecifier? Is it because you can connect to a "group" and within that group you can be connected even finer to the "donkey" netstream?
View 1 Replies
Similar Posts:
Mar 15, 2012
I work in the art department of a documentary series and I have a Dell Iinspiron 3200 running Windows 98 (with Flashplayer 9) that I need to use to run animations that I made on a seperate machine running CS5. How should I publish them so that they can be played on the laptop? When I bring the files over, they are recognized as flash applications (the icon is right) but trying to play them results in two errors: "(directory) file expects a newer version of windows. Upgrade your Windows version" and "(directory) a device attached to the system is not functioning" I have tried publishing as version 9, but the fies still won't run, and examining the properties of them reveals a file version of 10.1.
View 1 Replies
Nov 15, 2011
i've created a sub-folder called dvr under fms 4.0 applications. i made a test of playing a video named sample.flv then at the same time i publish it to the same fms 4.0 server with a different video name: "mergedVideo".the asc at the fms server as following:
application.onAppStart = function()
{
trace("app start : " + application.name);
[code]...
View 1 Replies
Mar 10, 2010
I am able to publish flash as long as I launch from local computer. Can't get flash to play when I publish on external server hosted by ISP. Is there another method to publish that does NOT require the Ac_RunActiveContent.js?
View 1 Replies
Aug 17, 2011
I've noticed an issue while creating one way (A publish B play) stream through RTMFP. When I try to create connection between computers behind the same NAT (same IP) stream playing is not fired at all, but on the other hand the same code works on remote computers (different IPs).This issue arose after releasing final release of Flash Player, in a beta release everything works fine.We checked NAT settings and there are no differences for this cases.
View 3 Replies
Jul 23, 2009
I've made a presentation in the form of a swf movie using macromedia flash 8. I want to upload this to a website where when the website is loaded the movie would play automatically at a half screen size... Any host server that I could subscribe to? How to upload the file? Also, my swf file has an action script camera that doesn't work when I publish it as a html but it works in swf.
View 1 Replies
Aug 21, 2010
I've been working on a AS3 script to control my FLVplayback component. I'm very close to making this work. Let me describe what I want to happen.On my homepage I have a DIV container where my video will be located. I want a still image of the video to load with a play button over it.Upon mouse over I want the button to change colors, upon mouse click I want the video to play.I have a .FLA project I'm working. I've got a FLVplayback component, sourced to my .flv. I've created a button and it works. When you click it the video plays.I have 3 layers.
actions (this is the top layer)
buttons (has a button and progress bar)
assets (only the FLVplayer)
The following AS3 is set to frame1 in the actions layer.
I'm using FlashCS4, AS3 and DreamweaverCS4
Here is the weird issue.
#1. While working in Flash.If I do a publish preview the play button with load for a split second and then disappear to be replaced by the still image.If you click on the center of the still image where the play button SHOULD be, the video will play.
#2.If I view this online.The play buttons NEVER disappear, however the still image NEVER loads.
import fl.video.*;
import flash.display.*;
import flash.events.Event;[code]............
View 4 Replies
Nov 12, 2009
While 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??
View 2 Replies
Jun 22, 2011
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
View 1 Replies
Jun 7, 2004
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].....
View 1 Replies
Sep 25, 2010
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 Replies
Oct 9, 2010
I 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?
View 4 Replies
Feb 8, 2011
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 Replies
Feb 16, 2011
is 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 Replies
Mar 27, 2011
I 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 Replies
Sep 9, 2011
This 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.
View 4 Replies
Nov 17, 2011
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.
View 2 Replies
Apr 7, 2009
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 Replies
Jul 20, 2009
I 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 Replies
Mar 5, 2011
I 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 Replies
Feb 29, 2008
We 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.
View 1 Replies
Jan 21, 2009
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 Replies
May 19, 2009
I 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 Replies
May 23, 2009
My 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 Replies
Jun 17, 2009
I'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]....
View 9 Replies
Jul 20, 2009
I have had this problem a few times lately. When I try to update & publish files that I created in the same version of Flash CS3 and previously published fine, the "Exporting Flash Movie" bar comes up, but no movie compiles. When I go to look for the swf in the Finder (Mac OS 10.5.7), it has mysteriously disappeared, and only the .FLA remains.
It doesn't happen with ALL files I publish, only some -- so I know the SWF preview should come up automatically. I normally work off of a shared network drive, but the same thing happens on my local machine. Has this happened to anyone else?? Is there a cache I need to clear or something?
View 10 Replies
Nov 28, 2009
I'm not getting an error message when I publish my movie (CS4). I'm able to navigate to the end of the movie, so the nav bar and background image are there, but after a number of images and sound bites, other images don't appear nor do the associated sound bites play.I've removed lots of tween, which has helped some, but not enough. I've attached 2 examples. Example one is as it should be. Example 2 is what happens after several images. Attachments:example2.jpg(16.6 K)example1.jpg(39.2 K)
View 2 Replies
Dec 1, 2009
Why doesn't Flash or Adobe Media Encoder have the option to publish or covert .swf to .flv?
View 5 Replies
Apr 18, 2011
I'm using Adobe flash to create a movie and I cannot publish it, and the annoying part is that it wont give me any error messages it just crashes half way through loading. Please help! its really important as my project is due next week.
View 2 Replies
Aug 11, 2011
I want to create a flash ad for google AdWords using Flash CS5.
according to the guidelines (http://adwords.google.com/support/aw/bin/static.py?hl=en&page=guide.cs &guide=1308145&topic=1310862&answer=176108&rd=2) I am required to publish for flash player 4:
Flash versions: All Flash ads must be published for Flash Player version 4-10.
Flash CS5 doesn't offer me to target flash player 4 in the publish settings
View 5 Replies