FMS 2 - Trouble Adding Application (CentOS)
Hi,Very recently I managed to install on a CentOS 4.4 platform. I checked what services were running:./fmsmgr list21937 pts/0 00:00:00 fmsmaster32580 pts/0 00:00:00 fmsadminI tried to develop my first test application found in 'Learning Flash Media Server 2' book. After creating the subfolder under applications folder, I them tried to add the application inside the Admin Console. The application was added momentarily and then disappeared. I went to check the messages log and by stopping and starting the fms server I was able to isolate the weird Failed messages below: Jul 27 14:21:49 popcodestudio 257[21937]: Server starting...Jul 27 14:21:49 popcodestudio Server[21937]: No primary license key found. Switching to Developer Edition.Jul 27 14:21:49 popcodestudio 257[21937]: Server started (/opt/macromedia/fms/conf/Server.xml).Jul 27 14:21:49 popcodestudio Server[21950]: No primary license key found. Switching to Developer Edition.Jul 27 14:21:49 popcodestudio Server[21953]: No primary license key found. Switching to Developer Edition.Jul 27 14:21:49 popcodestudio Adaptor[21950]: Listener started ( _defaultRoot__edge1 ) : 19350Jul 27 14:21:50 popcodestudio Adaptor[21950]: Failed to create thread (TCProtocolAdaptor::startListenerThread).Jul 27 14:21:50 popcodestudio Adaptor[21950]: Failed to start listeners for adaptor _defaultRoot__edge1.Can anybody help me please, I couldn't find any help anywhere on the WEB.Thanks a lot
Adobe > Flash Media Server
Posted on: 07/27/2007 02:34:37 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Adding An Application To Flash
Please someone help me with this...
I'm thinking this is an actionscript question. I am trying to add a virtual tour to flash, but I don't know the first thing to do if I can't import it. The virtual tour is a standalone application and I don't know how I can tell flash to play it. Can someone help me pleasssssseeeeee???
Imelda
FMS On CentOS
Hello,
I'm having trouble getting FMS2 installed on CentOS. I have looked all over for information, but can't seem to solve the problem. After a fresh install in everything appears to install OK, it says server started.
So i think everything is working fine. When i go to load an application I get this in the logs:
Failed to create thread (TCServerConnector::startConnector)
Server aborted
Anyone have any ideas?
Thanks.
FMS 2 - CentOS (4.4)
Hi,
I have installed the FMS 2 (Developer License - 10 connection) on a remote CentOS 4.4 with quite a bit of gymnastics! I followed the minimalistic install steps described in the documentation.
After the installation, I logged into the admin console and went to the Manage Servers tab. I can see 'Server 1' with a _defaultVHost_ entry below it. I tried several times to ping and connect to 'Server 1' with no luck.
First of all, when FMS is installed properly, How many servers (services) are supposed to run? There is the admin and I presume a fms server. I tried to start the fms server by this command:
./fmsmgr server fms start
All I get is this output:
Server:fms command:start
NPTL 2.3.4
Starting Macromedia Flash Media Server (please check /var/log/messages)
When I look at the running processes (daemons), I only see fmsadmin! On top of it, the log file is empty! What am I doing wrong? Do I have to install another C++ or C library?
Any help is greatly appreciated.
Trouble With Win32 Flash Application
I have a CD with a flash intro setup to autorun. The problem I'm having is that the .exe runs on my hard drive, and it runs on my floppy drive, but it does not run on a burnt CD. Does anyone know how to solve this little delema. Thank you in advance.
FMS And CentOS (hey It Rhymes)
Hi All,
I am trying to install FMS on CentOS, but I can never really get past the initial attempt.
I immediately get a "os not supported" message and it's a game over.
Anyone has any experience with this OS?
Adding File Upload Functionality To An Application
Hi guys,
i trying to do an application that can let user uploads their own images into the application and edit.
i tried the tutorial in flash help> Actionscript 2.0> Learning Actionscript 2.0 in Adobe Flash > Adding file upload functionality to an application
It doesnt work. any one tried it before?
or any one knows how to do this?
Trouble With RegisterClass Method Of Application Object
hey
I posted this problem other places but it seems no one knows. Hopefull someone here can help
I am having a problem with the registerClass method of the Application object. I searched numerous resources and found nothing that helped. Right now I'm just going by the Macromedia documentation and it's pretty unclear(to me anyways). I'm not having a problem accessing properties of an object I pass from the client to server. In fact, it doesn't even appear that I have to register the class with the application object for this to work. The problem is, everytime I try to call a method of an object passed from the client to the server I get "TypeError: class_obj.set_id is not a function".
here is the code I'm using on the client side
_________________________________________
#include "netdebug.as"
stop();
client=new NetConnection();
client.onStatus=function(info){
for(var i in info){
trace(i + ": " + info[i]);
}
};
client.ahole=function(cobj){
trace("Bam");
trace(cobj.class_id);
};
a=new my_class();
a.class_id=6;
client.connect("rtmp:/RegisterClass");
client.call("test_class", null, a, client);
function my_class(){
this.class_id=null;
}
my_class.prototype.set_id=function(new_id){
this.class_id=new_id;
};
_______________________________________________
and here is the code I'm using in the main.asc file
_______________________________________________
function my_class(){
this.class_id=null;
}
my_class.prototype.set_id=function(new_id){
this.class_id=new_id;
}
application.onAppStart=function(){
trace("Starting App");
}
application.onConnect=function(new_client){
this.acceptConnection(new_client);
}
Client.prototype.test_class=function(class_obj){
class_obj.set_id(5);
this.call("ahole", null, class_obj);
}
__________________________________________________ __
Hopefully someone has done this succesfully before and can point me in the right direction. Thanks in advance for any help.
cfm
Connect To CentOS Linux 4.4
Can anyone me connect the flashmediaserver to CentOS Linux 4.4, I have the server but can't seem to get it installed.
Thank you.
Installing Red5 In CentOS
Hello,
Hope this is the correct forum. I would like to know if anyone has experience installing Red5 in a CentOS machine. If you can give me some direction on how to do it I will appreciate it.
thanks!
Trouble With Adding A New Scene
Hi,
I have a main scene that begins with a animation. Now when i add a new scene to house a preloader and place it above the main scene and play the movie the preloader works fine but when it plays the next scene everything stops at frame 1. At 1st I thought it was my preloader but i tripled checked it and it was fine, I also just added a blank scene but i get the same problem. Im using flash 8. ne 1 ever get this problem?
thx
Having Trouble Adding A SWF File To Vb.net
Ok so I found this on a help site somewhere but I can't seem to locate the Shockwave control in VB.net. I am currently using the trial version of Flash 8 and vb.net from 2002. Are my versions incompatible?
VB.Net
Right click on the tool box. Select “Add/Remove Items…”. Select “COM Components”
Select “Shockwave Flash Object”. Click OK
Draw it on the form
Name it “SF1”
Adding Load Bar Trouble
hey guys, i think i posted this once before but i still havnt gotten a solution.
basically what i want to achieve is a site like the "Preloader and Transition for Dynamic Files" tutorial but where it says "loading" i want to replace with a loading bar. now i thought this would be pretty simple and straight forward but as hard as i try to make it work, it wont
this is my best guess so far in the 'content' actionscript
onClipEvent (enterFrame) {
if (!loaded && this._url != _root._url) {
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.transition.loadBar._width = getPercent*100;
_root.transition.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
loaded = true;
_root.transition.gotoAndPlay("opening");
}
}
}
i thought that should work but it doesnt? can anyone help me out? ill really appreciate some help.
cheers, evan
Adding Load Bar Trouble
hey guys, i think i posted this once before but i still havnt gotten a solution.
basically what i want to achieve is a site like the "Preloader and Transition for Dynamic Files" tutorial but where it says "loading" i want to replace with a loading bar. now i thought this would be pretty simple and straight forward but as hard as i try to make it work, it wont
this is my best guess so far in the 'content' actionscript
onClipEvent (enterFrame) {
if (!loaded && this._url != _root._url) {
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.transition.loadBar._width = getPercent*100;
_root.transition.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
loaded = true;
_root.transition.gotoAndPlay("opening");
}
}
}
i thought that should work but it doesnt? can anyone help me out? ill really appreciate some help.
cheers, evan
Trouble Adding .mp3 To Project
Hello, I have just started to play around with Flash this week and I am having trouble importing an .mp3 file to my project. It gives me the error, "One or more files were not imported because there were problems reading them". However, this is only for certain .mp3 files. I can import some .mp3's, just not all of them. They all exist in the same folder and I made sure that the file name were legit. I am completey lost, so if anybody could help, I would appreciate it!
Regards,
Corey
Still Having Trouble Adding Link To Swf File
Hey There,
I'm still having difficulty adding a hyperlink to an swf file... i tried adding the 'get url' action into the graphic itself, even changed it into a movie behavior- but for some reason when i go to 'basic actions', and scroll down to the 'on mouse event' or 'on clip event', they aren't highlighted- so i can't choose them.
so- essentially. i want the animation to loop, but i only want the url link to open if someone clicks on the animation. the animations i want to become hyperlinks are at the bottom of this page: http://www.lynnguppy.com/johnnyfish.htm
? any more help ? i know i'm probably missing something simple. but i guess that's why i'm a newbie.
thanks for your kind indulgence, lynn
Having Trouble With Dynamic Text Adding, Etc
Hello, Ive gotten lots of help here for my dynamic text and this is the last thing to complete my site.
What I have is a main scene with 2 movie clips
one movie clip you make a selection
the other movie clip shows the total cost, adding or subtracting the amount of your choice.
Its confusing so ill show you what code I have
On first frame of the main scene
Code:
_root.baseprice=700;
_root.surfaceprice=0;
_root.cupprice=0;
_root.legprice=0;
_root.addonprice=0;
_root.total_price=_root.baseprice + _root.surfaceprice + _root.cupprice + _root.legprice + _root.addonprice;
In the movie clip where I want to display the total (named "right"), i have a dynamic text field var: named "total_price" and this code in the first frame of the clip
Code:
_root.right.total_price=_root.total_price;
Now this displays the "700" like it should. But I want it to change as i make my selections in the other movie clip.
So I have this code for 3 buttons, one button makes the value 0, one 100, and one 200.
Code:
//first button
on (press) {
_root.surfaceprice =0;
//different button
on (press) {
_root.surfaceprice =100;
//last button
on (press) {
_root.surfaceprice =200;
So, in theory, shouldnt pressing these buttons change the value of the "_root.surfaceprice" in the main scene, then in turn chang the value of the "total_price" in the other movie clip?
Thank you for the help.
Brian
Trouble Adding Eventlistener In Loop
I'm having trouble adding this eventlistener in a simple loop. Can somebody tell, why the eventhandler doesn't get triggered?
Code:
// handler
function countryHandler(e:MouseEvent)
{
trace(e.currentTarget.name);
}
// add eventlistener loop
for (var i:Number = 0; i < isoCountriesArr.length; i++)
{
var tempId:String = isoCountriesArr[i];
if (map_mc.getChildByName(tempId) != null)
{
var tempCountryMc:MovieClip = MovieClip(map_mc.getChildByName(tempId));
countryArray.push(tempCountryMc)
tempCountryMc.addEventListener(MouseEvent.CLICK, countryHandler);
}
}
Trouble Adding Flvplayback Flash Cs3
Hi,
I can't seem to add the flvplayback component to the stage to a flash actionscript 3 file (for that matter my video imports seem to fail as well)---i have no trouble doing it in a action script 2 file though.
any advice?
thanks.
Trouble Adding Commas To String
I'm using code I found on this site to add commas to a large number (so that a number like 1000000 appears as 1,000,000). Below is the actionscript I'm using.
When I define the variable debt as any number, the script works perfectly. But if I define debt as a variable passed to the movie from a PHP file, then the script puts the commas in the wrong places (i.e., 10,000,00). Can anyone explain to me why this would happen, and how to fix it?
var input = debt;
var inputString = input.toString();
var finalString = "$";
var count = 0;
var tempString = "";
for (var i = inputString.length-1; i>=0; i--) {
count++;
tempString += inputString.charAt(i);
if ((count%3 == 0) && (i - 1 >= 0)) {
tempString += ",";
}
}
for (var k = tempString.length; k>=0; k--) {
finalString += tempString.charAt(k);
}
return(finalString);
Trouble Adding Numbers In Array
As an excercise, I'm trying to create a class that will take the average value of numbers in an array.
I'm stuck on adding the values of the array elements. I keep getting "NaN" for the total. Below is my code.
ActionScript Code:
private function getTotal ():Number
{
var total:Number;
for (var i = 0; i<numArray.length; i++)
{
total += Number(numArray[i]);
}
trace("total= "+total);
return (total);
}
Having Trouble Adding Adverts And External Xml
Hello,
I am having trouble adding adverts and external files to a flash website.
I needs some guidance on how to do this properly. Can someone share their knowledge with me?
Thanks,
Sid
Trouble With Adding Buttons That Link To Other Scenes...? (PLEASE HELP)
Greetings...
I have put in the following code, to link to various scenes in my movie...
================================================
For example:
on (press, release) {
gotoAndPlay("Scene 6", 1);
}
================================================
Now, I place these actionscripts on the images that I converted to Flash Buttons and the following error comes up...
================================================
Example:
Scene=Scene 2, Layer=Presentations, Frame=485: Line 1: Mouse events are permitted only for button instances
on (press, release) {
================================================
When I play my movie, the "Buttons" that I created do act like real buttons (my mouse changes on MouseOver) but when I click them, nothing happens...
Why would this happen? I have other buttons in my movie, on other pages that link just fine and I used the same code... Why isn't it working now?
Thanks!!!
Dan
Trouble Adding Duplicated Movieclips To Array
whats up everybody,
once again its almost time to choke the young'ns. I'm on my last nerve and someone or something is gonna catch the wrath.
i have a question or problem that seems easy enough to handle. i've been trying to store my duplicated movie clips inside an array so i can access the x and y positions later. i have duplicate about 20 movie clips and need to have their names stored in an array while they're being duplicated. here's what my code looks like so far:
var intervalID;
intervalID = setInterval(checkLoadStatus, 100);
function checkLoadStatus() {
if(Title.loaded){
clearInterval(intervalID);
//split artist string into array
aArtists = Title.artists.split(",");
aPhotos = Title.photos.split(",");
// initialize stars with Title data
star_amount = aArtists.length;
trace("XXstar_amount = " + star_amount);
//declare arrays
a_Stars = new Array(star_amount);
a_centerCheck = new Array(star_amount);
for (i=0; i<star_amount; i++){
a_Stars[i] = duplicateMovieClip("star", "star" + i, 1+i );
//set length of array
a_Stars[i] = this["star" + i];
//set boolean values to check for position
a_centerCheck[i] = false;
}
star._visible = false;
trace("AAthe elements in a_Stars: " + a_Stars[1]._name);
trace("ZZthe elements in a_centerCheck: " + a_centerCheck[5]);
}
}
the problem is that flash is not storing the elements of the array. on my trace command a_Stars array keeps coming up empty while a_centerCheck displays its elements all fine. stars(the duplicated movie clip) is a child so the target is i believe to be ok. (but is probably wrong also - i just don't know).
any help, as always, is greatly appreciated.
thanks
erase
Having Trouble Adding Action Script To Button Symbol
Hello everyone:
I am hoping someone will read this as I am a developer in 'dires straits' with Flash ( a newbie). My problem regards a layer called "button" which has already been converted to symbol and turned into an invisible button. The problem lies when I try to use the selection tool to select it so that I can add action script to it. Instead of the actions dialogue box saying "actions-button", it says "actions-frame", and as a result, the action script doesn't work. I don't know what to do, it should be simple to select it but something is wrong. If you feel a need to help a developer in need, you can email me at support@tahutiwebsites.com, and I can e-mail you the file so that you can help. Thanks, or you can call me at 310-867-5167
Corinna
Trouble Adding Dynamically Named Elements To An Array Immediate Help Is Needed
OK, here we go... if someone can help me figure this out, I will have successfully completed my site in time for the deadline today at noon...
-- I have an array located at "_parent.emptyWindows"
-- "_parent[this._name]" gives me the name of the current MC and the value I want to add to array "emptyWindows"
-- I'm trying to add an element in this manner:
Code:
_parent.emptyWindows[_parent[this._name]] = _parent[this._name];
That is not working, but not even this is working for me:
Code:
_parent.emptyWindows["bird"] = "bird";
Here I've given an explicit value and name for the element to be added to the array, but obviously something is wrong in my context and I just am NOT finding it.
Any guesses???
Much appreciation,
The Dust
Trouble Adding Animation To Existing Rollover Animation
Hey all,
I'm using Flash 8. I have a picture of a building which is segmented into floors. Upon rolling over a grouping of floors the user sees either a blue overlay, indicating they can click, or a gray overlay simply describing what the floor is. I already have some actionscript in place and I don't need to alter it, I just added more animation to an existing movieclip rollover, but it's not quite working. On one of the floors that rolls-over gray, I want an additional rollover with some text. So I made a movie clip of the rollover animating out and the type coming in and I just added it to the gray fade in movie clip since there was already onRollover actionscript in place there. However, the rollover kept playing over and over again. So, of course I added a Stop action. Then, the animation didn't work anymore, it just rolled over to the final state of that animation. Does anyone have any ideas of what I can do, or what I can do as an alternative? I'll post the actionscript in case that helps. Like I said, the rollover "rolls-over" but either loops (without a Stop action), or rolls over to the final frame in the animation (with a Stop action).
Thanks!
Mc
Having Trouble Adding Additional Text To Text Stored In Var
How can i add "&print=page" to printVar=facility.php?type=all&state=ak so it would be, printVar=facility.php?type=all&state=ak"&print=pag e in a button?
I tried this and it won't work..
[code]
on(release){
getURL(printVar+"&print=page")
}
or
on(release){
newPrintVar = printVar+"&print=page"
getURL(newPrintVar)
}
Using Mx.core.Application.application.url In A Class
I have a VERY simple class that does not work and I would like to know why. Here it is:
package Test{
import mx.core.Application;
publicclass Environment{
privatevar CurrentURL:String;
publicfunction Environment(){
this.CurrentURL = mx.core.Application.application.url;
trace("Current URL: "+this.CurrentURL);
}
}}
The error message is "TypeError: Error #1009: Cannot access a property or method of a null object reference". This is because mx.core.Application.application is null. My problem is that when I trace mx.core.Application.application.url in my Flex2 application it is defined, and it is the current Request URI. Why can't I access it from within my class? Can this be some kind of namespace issue? Why does ActionScript insist on making me mad (rhetorical).
Thanks in advance!
LoadMovie Trouble Trouble Troubles
hello,
i'm having a little bit of trouble here trying to load multiple movies into the same container. not all at one time. like this:
when a button is clicked this happens in my preloader clip which is located in my _root movie:
********************************
// set vars
sectionMovie = _root.currentSection + ".swf";
// un/load movie
unloadMovie("_root.SectionContent");
loadMovie(sectionMovie, "_root.SectionContent");
********************************
then the next frame of the preloader says:
********************************
// get the percent of the movie loaded
bytesLoaded = _root.sectionContent.getBytesLoaded();
bytesTotal = _root.sectionContent.getBytesTotal();
percentLoaded = int((bytesLoaded / bytesTotal)*100);
// if it's loaded then continue
if (percentLoaded == 100) {
this.gotoAndStop (1);
}
********************************
it all seems like it should work. i click "button1" which loads "movie1.swf" perfectly. then i click "button2" and it will unload the movie fine, but it just stops when it gets to "loadMovie"... anyone know what is happening?
thakns in advance for the help, it's a school project...mwaahaha!
xo
"Oooooh Trouble Trouble..." (Foghat Reference +1000 Points)
I am attempting to add X movie clips to the stage via script, with follow AI behaviors added to each of them. But for now I am just having them immediately start moving left until they hit the stage edge OR eachother...which is the problem.
I cannot get them ALL to stop when they collide with somehting else on the stage...
the way I atempted to solve this problem was to start an array... a list... and to add to that list the name of every object I add to the stage when I add it to the stage. So before ANYTHING moves it loops through this array to see if it is hitting anything else on the stage. Sounds simple right?
Well it seems to only work for the LAST movie attached in my function.
I have attached the script to this post. Please take a look, provide some help, give me some alternative ideas, tell me a good joke :-P, just gimme some feedback. Thanks in advance to anyone who even tries to help.
I Am Adding A Child To The Stage, Adding An Event Listener To The Child. I Then Want
I'm trying to do something that seems like it should be really simple to do.
I am adding a child to the stage, adding an event listener to the child. I then want to remove the child from within the event listener.
ActionScript Code:
var newClip:NewClip = new NewClip();
addChild(newClip);
newClip.addEventListener(Event.ENTER_FRAME, newClipListener);
public function newClipListener(event:Event) {
trace("test");
}
I've tried quite a few things and nothing seems to work. The only method I know that works looks like this, but it's stupid and cumbersome and i'm sure there is a better way
ActionScript Code:
var newClip:NewClip = new NewClip();
addChild(newClip);
newClipArray.push(newClip);
newClip.myID = newClipArray.length-1;
newClip.addEventListener(Event.ENTER_FRAME, newClipListener);
public function newClipListener(event:Event) {
removeChild(newClipArray[event.target.myID]);
}
Adding Links On "Adding Thumbnails" Tutorial
I've stumbled across a very interesting tutorial, which helped me a lot.
http://www.kirupa.com/developer/mx2004/thumbnails.htm
But, I've noticed a little detail. When you click on the big image of the finished example on the first page of tutorial, it acts like a link. When I have downloaded finished .fla source, links are nicely written in the images.xml file, but the links in the .fla file don't work.
Please, tell me which AS code I have to add to my .fla file in order to activate links (and make them work properly).
Thanks.
Trouble Explaining The Trouble
i am having a hard time explaining this problem so i have attached my fla file with some notes attached to it.
i'm trying to customise the a.s. but alas i'm not very good at it yet.
i have an element on the page that when it is clicked on it zooms big and comes to the center of the stage. when you click on it again it zooms back to its original position. - i have this part working.
the problem is i want elements within the zoomed elements to behave the same way. essentially zooming further into the stage. i just can't get it to work.
at this point i am completely lost, any help on this is much appreciated.
thanks everyone
Can This Be Done.. Application On Top
Hi:
I am providing instructions on how to use a software using flash. At the same time the user performs the steps i mention on the software itself. I was wondering if i could do something such that the instructions i provide stay always on top of the other software the user is working on.
Thanks..
Uday
Web Application
Hi, ive been wonderin, if i could make an application, where the users could react, a kind of multiplayer game, and they could speak, go away, walk, run, and fight. Can i make it real using asp, PHP or Cgi???
Tab Application
I have a movie that has a tab/folder user interface. Sort of like a file folder. You click the tab and that folder jumps to the front. It works great, except you can still click the buttons (and input text) in the other files eventhough they are in layers lower than the top file. Any ideas on how to fix that problem? Thanks.
MX- Help With Map Application?
I need to put together a map that has similar features to the basic google map. Pan up, down, left, right, zoom in and out. Also and this is really confusing me is I need to be able to drag houses from a side panel and plant them on the map. Then after the house is on the map have the whole map with the house(s) move with the pan / zoom buttons.
Please help for I am in a bind and need this very soon.
Thanks
Is There An Application Out For Mac Or Pc
Is there an application out there for mac or pc to turn a image into Vector Art or into an Illustration? Is there a better application then flash trace bitmap
I need to get something that does art like this, check the links Thanks.
http://www.easytemplates.com/preview/300110011
http://www.easytemplates.com/fla-templates.htm
Application.as ?
hello,
I am a designer with some flash programming skills, trying to rip apart a coworkers flash app development work. When I open the .FLA file, there is no reference to the external classes he has, yet the .FLA file still uses them and it works. There is no code in the .FLA!! In his class packages, he has a file called "Application.as" which seems to have all the code. Is it possible for the .FLA to automatically Import this file? I am lost...thanks in advance...
Is There An Application Out For Mac Or Pc
How to turn a image into a Illus? is there a better app. then flash trace bitmap
I won't to get some thing like this
http://www.easytemplates.com/preview/300110032
http://www.easytemplates.com/fla-templates.htm
Help With Map Application
Hi guys....
I really need u guys help with my map application...since I'm stuck up here
u can see the mockup preview here..
http://www.franzacollections.net/mapstuff/mockup.swf
as u guys can see and test the map.I already done with preparing the navigation and controller for the maps..but there is still minor issues occured..and realy need u guys help/ at least give me some shed on light how to overcomes it.. really need u guys help....
1.How to easing the map within map boundary..as u guys obviously can see when the menu item being click the maps will ease to certain location based on assigning x,y coordinate read from array.But how to detect/rectify by the times the map easing is it the maps easing over beyonds the boundary or not,if so it will only easing within boudary only...not using that given coordinates....does make sense?
2.Regarding the bubble thingy...how to keep it's remain their xscale and yscale property eventhough the map it scaling...as u guys can see in the mockup...the bubbles also scaling together with the maps..pretty annoying...I try to keep bubbles scale remain by using this code but not to avail I guess...
Code:
//inside zoom in function
zoomin.onPress = function(){
if (mapmc._xscale < maxScale) {
mapmc._xscale = mapmc._xscale + scaleSpeed/0.5;
mapmc._yscale = mapmc._yscale + scaleSpeed/0.5;
//////////////////// how to keep remain child scale ///////////////
orichildXscale = orichildYscale = (100/mapmc._xscale)*100;
///////////////////////////////////
}
}
3.I do manage keep the map within boundary upon panning...by dragging the maps..but the problem occurred when I start rescale the map I cant reach certain point on maps when I dragging the maps...(is it because of I'm setting off the boudary manually at the 1st places???) ..
Anyway sorry for th elong questions but at least give me some shed on light and point me to the rite path....I just really need help with it..then I'm done ....because it's just a simple and basic map controller I guess...hope I will get reply from u guys...thanks for u guys time and concern...
thanks in advanced...
in case u guys wanna see my current code and my mockup fla
http://www.franzacollections.net/mapstuff/mockup.fla
any help are appreciate...
Pls Help For My First Application
I borrow the old Flash Communication Server book for reference and follow its example. I create the folder named "simple" as "C:Program FilesMacromediaFlash Media Server 2applicationssimple". And then create a file "main.asc", inside is "load("component.asc"); ".
Then i create the Flash file with the SimpleConnect component, the PeopleList component and the ConnectLight component. Also i change the Application Dirtectory to "rtmp:/simple" and add the PeopleList and ConnectLight to Comunication Component of SimpleConnect.
However, after testing it, the PeopleList do not show the login name. But the console showed that there is one loaded.
What is the problem....? Anything need to set up, like the environment varable??
Thank you very much!!
Application.cpp ?
Hello,
I have a problem that occurs quite often, but I do not know the cause. My application is a video chat, and at times there has to be an error log in core.log:
2007-12-2522:46:141764(e)2581279Assert failed in servercoreFCSLocalApplication.cpp line 122-
2007-12-2522:46:141764(e)2581279Assert failed in servercoreFCSLocalApplication.cpp line 122-
2007-12-2522:46:141764(e)2631029Bad network data; terminating connection : String too long to display-
2007-12-2522:46:141764(e)2631029Bad network data; terminating connection : String too long to display-
Someone has already had this problem? I saw no or it could come ...
Application VOD Set Up
I have a quick question. What is the standard practice when setting up video on demand. Right now I am just putting the files in VOD/Media folder and streaming them from there. Is there any performance advantage to creating seperate folders under the VOD folder and streaming individual flv files from a folder besides the media folder. Just worried that streaming all the videos from the media folder might effect perfomance.
Application Help
Right now I'm starting an application that would turn out to be a chat application. I have the regular buttons needed in a application (close, maximize, minimize), but I can't seem to get the right AS needed to get the buttons to do what I want them to do. Any help would be appreciated. Maybe a tutorial or something. I tried the 'removemovieclip' but then realized i would need to create the whole thing into one MC and didnt want to try if i wasnt sure if it was going to work or not. Any help would be appreciated. Thanks.
Application
Is it possible to make an application on flash?
Application Help
Right now I'm starting an application that would turn out to be a chat application. I have the regular buttons needed in a application (close, maximize, minimize), but I can't seem to get the right AS needed to get the buttons to do what I want them to do. Any help would be appreciated. Maybe a tutorial or something. I tried the 'removemovieclip' but then realized i would need to create the whole thing into one MC and didnt want to try if i wasnt sure if it was going to work or not. Any help would be appreciated. Thanks.
What Application?
The lines/folders and moving centre piece on http://www.wireframe.co.za/default1.htm are very crisp and clear. Anyone have a idea/guess with what application it was done?
You don't need eyes to see just a vision.
Get The Application Name
cheers any help in advance:
does any1 know how to get the name of the .swf, thru action script,
ya see, the way i'm saving the .swf's i won't know the name of them, and i want a text file to be assocatied wit that .swf.
(have the same name)
ie:
var myappname = appname???
|