Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Myspace'ish Button Masher Games



hi, thanks for taking a sec to help me out. I was wondering if there are any helpful links on tutorials or actual .flv files that are like this. these types of flash games are very prevalent in myspace where you have to click the button x amount of times to win, sometimes you are against the computer in a timed race. when you win it then pops up a website.

I couldn't find anything here like this, or on google so I thought maybe somebody would know here.



FlashKit > Flash Help > Flash Newbies
Posted on: 10-09-2007, 06:28 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Button Action Script Not Working On Myspace
Im tryin to make a simple myspace page using flash 9 Public Alpha.
But the button action script isnt working on MySpace.

Click here to see the page

Im using the simple button actionscript

on (release) {
getURL("http://www.freeweblayouts.net", "_blank");
}

But no matter what ive done the buttons are just not working in IE.
I know it can be done because i studied this womans flash and she is using the same scripts but her buttons are working.

Click to see her page with working flash

Is there a different version of Flash 9? What am I doing wrong? Any suggestions Please?

www.myspace.com/Kato3000
www.freeweblayouts.net

Replay Button? Games?
How do you add a replay button that doesnt go back to the first frame?


Also, how do you make games in Flash MX? is there an easy way?

Replay Button On Shooting Games
I've searched the whole site and forums and haven't found an answer yet: How do you make a replay button work on a shooting game? I have tried to find a way for a couple days and haven't found yet. Thanks in advance.

Preventing Button Spamming In Games...
I have tried everything under the sun I can think of to prevent the user from abusing buton spammnig but so far have been unsuccesful. The character fire a beam from his hand with the "F" button but if you press it really fast its like he has a frickin laser machine gun on his hand . And I REALLY dont want the user to be able to sit in one spot and just spam F till armageddon...

I have tried unsuccesfully to use getTimer, but I think MAYBE its a logical failure on my part.

I have included here my .fla in zip format of course
forBLAZE.zip

[b]EDIT : fixed the flaB]

Question On Pause Button In Games
Hey guys, how can i make a pause button similar to this game ===
http://fall-out.w32.net/game.htm

the pause button is insert.

my game is working only in 1 frame. so i was wonderin' how to make the game freeze. thanks!!!

Question On Pause Button In Games
Hey guys, how can i make a pause button similar to this game ===
http://fall-out.w32.net/game.htm

the pause button is insert.

my game is working only in 1 frame. so i was wonderin' how to make the game freeze. thanks!!!

[F8] Myspace Help....
peace everyone,
now i've been seeing a couple of myspace pages using flash. but these guys aren't using the typical glitter / pimp my myspace type generators. they are using their own skills to freshen up their pages. check this out if you have the chance,

www.myspace.com/tythaartist and www.myspace.com/mdepict...now the mdepict page is really dope to me compared to the other page.

how is this done? I want to do my own page something like that. rather pay someone to do it, i can do it myself. just want to find the right tutorials to study in order to execute. if anyone has any suggestions please feel free to help me out. if there is a forum post about this, please guide me to it.

thanks everyone and have a great weekend

Myspace
I know you guys all love a challenge, but I need to spruce up my myspace profile.
Most of it would be pretty easy, I mean its just a bunch of hyperlinks and text afterall...

but it gets worse, what i need to know is how to keep the contact box and the comment box, and import them into the flash file somehow?
I dont need to worry about blogs and things for now.

Can anyone help please?

http://www.myspace.com/chrisopia

Myspace?
Hello, i have recenetley just started a band, site. And its going to be flash with alot of frequent updating, (etc, news, and shows) the band has a myspace i was was wondering if there was a way where i could set it up in flash so that when they update there myspace the same variables get updated in flash?? on their site. This would be great if i could get this working let me know if i can, or how i go abouts doing this?

Thanks,

Myspace Help...
So I created a rather jazzy friends box in myspace... check it out...

www.myspace.com/chrisopia

however the actionscript doesn't appear to want to link the poeples pictures? they're all inactive. I'm guessing it's something myspace has done, but whats the way around it?

Brief: How do you link for myspace?

Myspace
ok i made a flash myspace ya, plz don't comment but i am having problems with the links. they work here if i give you the exact link.
http://theolh.fileave.com/flashpro.swf
but when i put it in a object thing i the links don't respond
here if you wish you can test it here http://www.draac.com/htmltester.html

<object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" height="600px" width="800px" data="http://theolh.fileave.com/flashpro.swf">
<param name="allowScriptAccess" value="never" />
<param name="allowNetworking" value="internal" />
<param name="movie" value="http://theolh.fileave.com/flashpro.swf" />
<param name="quality" value="high" />
</object>

but as you see the add me, the msg me and ext. don't work it the things like the about me and stuff do idk why any advice .

.SWF Into Myspace
i have made a countdown timer to countdown to a date when a friend of mine will come back from schooling. I have exported it as an swf, but now I want to upload it to Myspace. What is the best way possible? I've tried many hosting sites, but they mainly just let you insert a link, rather than the actual swf.

Hi Im New, I Need Myspace Help
Hello,
i am new and i need help with myspace(http://www.myspace.com)
I made my profile in Flash Pro 8 and i exported it into SWF but for some odd reason the links i put to a button doesn't work,
it does work when i host it on a different website, but when i insert the .swf in Myspace the links wont work...
I used Get_Url
other people have flash profiles and their links work on myspace.. i asked them but no reply,
please
help

Thanks in advance

Myspace
anybody knows how to do flash comments and friends on myspace??
I've done actual profile,but my comments and friends page still has default setup. Thanks

.swf On Myspace Page?
Is it possible to put a swf on my myspace page? Let me know if it is possible. Thanks

Myspace Flash?
does anyone know how to start a myspace all flash site. i have FLASH 2004 pro, but how do i begin, i read the tutorials i just need more detail? thank so0o0o0o0o much!!??

Flash In Myspace?
is there a reason why the get url command doesnt work in myspace?

i made my myspace in flash.. but no links work.. thats my delima.. or however u spell it


thx

Myspace Layout
Well i have flash 8 and im looking to make a flash myspace layout...
Maybe similar to this one: http://www.flawedexpressions.com/

Anyone know how to do this or have any tutorials?

Myspace Flash
What is the code to put my flash on my myspace page?

GetURL And Myspace.com
could any one please help me to activate getURL method in my myspace blog.

here is my blog:

http://blog.myspace.com/alam_mumtaz

check out the "Blog 1"

Thanks.

Trouble In Myspace
Hello,

I'm having a problem with my links. I've made a movie to put onto myspace and I have a few links in it. Basically they are like this:

button 1 - getURL in blank window
button 2 - getURL 'myURL' [in the html I have value="mymovie.swf?myURL="http://www.mywebsite.com"]

button 3 - gotoAndStop ("Scene 2", "error").

I know that my actions are scripted properly because they work when I export and publish the movie. But in myspace the results are different. On one computer they work perfectly; on others, only 'button 3', the one with the action that acts WITHIN flash works. the buttons that are supposed to getURL in new window do nothing.

Does anyone know why that would happen? Is there scripting I need to include or remove? please help.

thanks

(i'm posting this in the backend forum as well because i'm not sure what type of problem it is)

Myspace Profile
Hello, I recently asked about loading an mp3 player xml playlist from the html parameter "flashvars", now that i have my mp3 player working perfect on myspace i figured maybe i can use the same parameters for a myspace layout. I have an RSS Reader Designed to read the blogs and used a component loader to load the jpg shown own the myspace. My question is whats wrong. the mp3 player works great but my rss loader and photo component loader is having problems. Heres the codes I have.


--------------------------------HTML code------------------------------

<param name="flashvars" value="xmlpath=http://www.mysite.net/myspaceplaylist.xml&rsspath=http://blog.myspace.com/blog/rss.cfm?friendID=4010127&csspath=http://www.mysite.net/mo_rss.css&photopath=http://a580.ac-images.myspacecdn.com/01316/97/56/1316296579_s.jpg" />
</object>

______________________________________

--------------------------------Photo Loader (loader component) ****first frame of (_root.mysarea) ***** ------------------------------
trace (_root.photopath);
this.myspacepcarea.picloader.loaders.loaderw.loadMovie(photopath);
I-------------+------------------I----------+-----------+-----I
loaders destination

------------------------------------------------------------------------------------------------------------------------------------------------------

--------------------------------RSS Loader ****first frame of (_root.blog.rssbloger) ***** ------------------------------
The RSS Loader has 2 files referenced to the HTML file. variable names csspath and rsspath. CSSpath is reference to the css layout of the rss loader.

trace (_root.rsspath);
trace (_root.csspath);
var rss_css:TextField.StyleSheet = new TextField.StyleSheet();
rss_css.onLoad = function(success:Boolean) {
if (success) {
trace("css loaded...");
function not_set_yet() {
loadDATA();
}
}
};
rss_css.load(_root.csspath);
// ************************************************
//Load XML data
// ************************************************
btnLoad.onRelease = function() {
loadDATA();
};
function loadDATA() {
var rss_xml:XML = new XML();
rss_xml.ignoreWhite = true;
rss_xml.onLoad = function(success:Boolean) {
if (success) {
processData(rss_xml);
} else {
trace("unable to load/parse cnet.xml");
}
};
rss_xml.load(_root.rsspath);
}
// ***********************************************
// Process Data
// ***********************************************
channel_title = "";
channel_desc = "";
channel_copyright = "";
channel_link = "";
channel_lang = "";
function processData(rm) {
var rss = rm.firstChild.firstChild;
item_txt.text = "";
item_txt.html = true;
item_txt.styleSheet = rss_css;
for (i=0; i<rss.childNodes.length; i++) {
//trace(rss.childNodes[i].nodeName);
if (rss.childNodes[i].nodeName == "title") {
channel_title = rss.childNodes[i].firstChild.nodeValue;
} else if (rss.childNodes[i].nodeName == "description") {
channel_description = rss.childNodes[i].firstChild.nodeValue;
} else if (rss.childNodes[i].nodeName == "copyright") {
channel_copyright = rss.childNodes[i].firstChild.nodeValue;
} else if (rss.childNodes[i].nodeName == "link") {
channel_link = rss.childNodes[i].firstChild.nodeValue;
} else if (rss.childNodes[i].nodeName == "language") {
channel_lang = rss.childNodes[i].firstChild.nodeValue;
} else if (rss.childNodes[i].nodeName == "image") {
var sTitle;
var sLink;
// link
var sURL;
// logo url
txtLogo.html = true;
txtLogo.htmlText = "";
for (j=0; j<rss.childNodes[i].childNodes.length; j++) {
if (rss.childNodes[i].childNodes[j].nodeName == "title") {
sTitle = rss.childNodes[i].childNodes[j].firstChild.nodeValue;
} else if (rss.childNodes[i].childNodes[j].nodeName == "link") {
sLink = rss.childNodes[i].childNodes[j].firstChild.nodeValue;
} else if (rss.childNodes[i].childNodes[j].nodeName == "url") {
sURL = rss.childNodes[i].childNodes[j].firstChild.nodeValue;
}
}
} else if (rss.childNodes[i].nodeName == "item") {
var itemTitle;
var itemDesc;
var itemLink;
for (j=0; j<rss.childNodes[i].childNodes.length; j++) {
if (rss.childNodes[i].childNodes[j].nodeName == "title") {
itemTitle = rss.childNodes[i].childNodes[j].firstChild.nodeValue;
} else if (rss.childNodes[i].childNodes[j].nodeName == "description") {
itemDesc = rss.childNodes[i].childNodes[j].firstChild.nodeValue;
} else if (rss.childNodes[i].childNodes[j].nodeName == "link") {
itemLink = rss.childNodes[i].childNodes[j].firstChild.nodeValue;
}
}
item_txt.htmlText += "<a href=""+itemLink+""><span class="headline">"+itemTitle+"</span></a><br><span class="thread">"+itemDesc+"</span><br>";
}
}
}
loadDATA();
__________________________________________________ ________________________

Myspace Profile
Hello, I recently asked about loading an mp3 player xml playlist from the html parameter "flashvars", now that i have my mp3 player working perfect on myspace i figured maybe i can use the same parameters for a myspace layout. I have an RSS Reader Designed to read the blogs and used a component loader to load the jpg shown own the myspace. My question is whats wrong. the mp3 player works great but my rss loader and photo component loader is having problems. Heres the codes I have.


--------------------------------HTML code------------------------------

<param name="flashvars" value="xmlpath=http://www.mysite.net/myspaceplaylist.xml&rsspath=http://blog.myspace.com/blog/rss.cfm?friendID=4010127&csspath=http://www.mysite.net/mo_rss.css&photopath=http://a580.ac-images.myspacecdn.com/01316/97/56/photo.jpg" />
</object>



----------Photo Loader (loader component) ****first frame of (_root.mysarea) ***** -------


this.myspacepcarea.picloader.loaders.loaderw.loadMovie(photopath);
I-------------+------------------I----------+-----------+-----I
loaders destination



--------------------------------RSS Loader ****first frame of (_root.blog.rssbloger) ***** ----------

The RSS Loader has 2 files referenced to the HTML file. variable names csspath and rsspath. CSSpath is reference to the css layout of the rss loader.

trace (_root.rsspath);
trace (_root.csspath);
var rss_css:TextField.StyleSheet = new TextField.StyleSheet();
rss_css.onLoad = function(success:Boolean) {
if (success) {
trace("css loaded...");
function not_set_yet() {
loadDATA();
}
}
};
rss_css.load(_root.csspath);
// ************************************************
//Load XML data
// ************************************************
btnLoad.onRelease = function() {
loadDATA();
};
function loadDATA() {
var rss_xml:XML = new XML();
rss_xml.ignoreWhite = true;
rss_xml.onLoad = function(success:Boolean) {
if (success) {
processData(rss_xml);
} else {
trace("unable to load/parse cnet.xml");
}
};
rss_xml.load(_root.rsspath);
}
// ***********************************************
// Process Data
// ***********************************************
channel_title = "";
channel_desc = "";
channel_copyright = "";
channel_link = "";
channel_lang = "";
function processData(rm) {
var rss = rm.firstChild.firstChild;
item_txt.text = "";
item_txt.html = true;
item_txt.styleSheet = rss_css;
for (i=0; i<rss.childNodes.length; i++) {
//trace(rss.childNodes[i].nodeName);
if (rss.childNodes[i].nodeName == "title") {
channel_title = rss.childNodes[i].firstChild.nodeValue;
} else if (rss.childNodes[i].nodeName == "description") {
channel_description = rss.childNodes[i].firstChild.nodeValue;
} else if (rss.childNodes[i].nodeName == "copyright") {
channel_copyright = rss.childNodes[i].firstChild.nodeValue;
} else if (rss.childNodes[i].nodeName == "link") {
channel_link = rss.childNodes[i].firstChild.nodeValue;
} else if (rss.childNodes[i].nodeName == "language") {
channel_lang = rss.childNodes[i].firstChild.nodeValue;
} else if (rss.childNodes[i].nodeName == "image") {
var sTitle;
var sLink;
// link
var sURL;
// logo url
txtLogo.html = true;
txtLogo.htmlText = "";
for (j=0; j<rss.childNodes[i].childNodes.length; j++) {
if (rss.childNodes[i].childNodes[j].nodeName == "title") {
sTitle = rss.childNodes[i].childNodes[j].firstChild.nodeValue;
} else if (rss.childNodes[i].childNodes[j].nodeName == "link") {
sLink = rss.childNodes[i].childNodes[j].firstChild.nodeValue;
} else if (rss.childNodes[i].childNodes[j].nodeName == "url") {
sURL = rss.childNodes[i].childNodes[j].firstChild.nodeValue;
}
}
} else if (rss.childNodes[i].nodeName == "item") {
var itemTitle;
var itemDesc;
var itemLink;
for (j=0; j<rss.childNodes[i].childNodes.length; j++) {
if (rss.childNodes[i].childNodes[j].nodeName == "title") {
itemTitle = rss.childNodes[i].childNodes[j].firstChild.nodeValue;
} else if (rss.childNodes[i].childNodes[j].nodeName == "description") {
itemDesc = rss.childNodes[i].childNodes[j].firstChild.nodeValue;
} else if (rss.childNodes[i].childNodes[j].nodeName == "link") {
itemLink = rss.childNodes[i].childNodes[j].firstChild.nodeValue;
}
}
item_txt.htmlText += "<a href=""+itemLink+""><span class="headline">"+itemTitle+"</span></a><br><span class="thread">"+itemDesc+"</span><br>";
}
}
}
loadDATA();
__________________________________________________ ________________________

Comment Box (Myspace)
I have been making a flash website for MySpace. I have made a comment box and field.

The code i have put in works perfectly fine in Firefox but not Internet Explorer..

The code is:

on (release) {

friendID = 73410***;
f_comments = _parent.commentbox
getUrl("http://comments.myspace.co* m/index.cfm?fuseaction=user.Confir* mComment","_top","POST");
}
......

Can anyone help? It is driving me crazy because allot of people can't comment me.

MySpace Terror
I made a flash object that should link to my favorite webpages, to put in my MySpace profile, but it doesn't work -- the links don't link.

It should work -- the actionscript is right, thr URL's are right, buttons all proper. What could the problem be? Is there anything I can do?

[F8] Myspace And Flash?
Hi every body, I've sen recently that some dudes had modified their myspace design, some of them use flash and I was wondering if someone knows how to do that? I'm not talking about typical myspace editor which can only change colors and background images, but about a complete redesign...

like what these guys do:

http://www.bandspaces.com

How can I achieve that?

Flash And Myspace
I have been trying to figure out how to add flash to myspace pages such as these. Any tips or suggestions? Tutorials?

http://profile.myspace.com/index.cfm...0-0bf2110e0e10


http://profile.myspace.com/index.cfm...id=232 993404

thanks!

[CS3] Flash Bug On MySpace
I develop for a company that provides widgets for MySpace and other social networks. Over the last few weeks we've been receiving quite a few complaints from users on our forums. The gist is that Flash video or mp3 players are not functioning correctly on MySpace. They all seem to load fine (indicating that Flash is installed), but the functionality of the players or Flash itself is broken. This seems to not be confined to IE or FF but does appear to be only Windows users. This doesn't seem to only affect our widgets, even MySpace's own video and music apps are receiving complaints as well.

What's strange is that I've not updated our code in almost a month, so I'm pretty sure this is either a Flash Player or MySpace bug.

Some of the complaints:

Flash will work fine on my machine UNTIL I VISIT A MYSPACE PAGE. After that, flash videos will freeze-up after 2 seconds on any flash video, song or playlist... on any webpage, regardless of whether it is myspace or not. If I clear my cache, then things work fine... but only until I visit a Myspace page again. I've heard of other people having the 2-second-mark freeze problem. But I've never heard of anyone specifically tracking the problem to Myspace.

This user's config:

Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.15) Gecko/20080623 Firefox/2.0.0.15
JavaScript Enabled: Yes
Cookies Enabled: Yes
Flash Version: 9.0.124.0

Another user's config:

Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts; .NET CLR 1.1.4322; Zango 10.3.65.0; IEMB3)
JavaScript Enabled: Yes
Cookies Enabled: Yes
Flash Version: 9,28

Is it possible that antivirus programs are affecting Flash files on MySpace? Or does anyone have any ideas?

Mp3 Player Like Myspace
Please i am looking for a dynamic mp3 player like the one on myspace. Thanks

CENTERING SWF On MYSPACE
So im totally new to flash design, but have managed to get this far and i know im missing something simple and cant figure it out.


I am trying to achieve two things:

1) Center my swf movie on my bands myspace profile?

2) Mute the music automatically, without requiring the user to press the button?

the code is very simple:

<object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" height="500" width="770" align="center" data="http://www.fhqhosting.com/ui/1myspace.swf">
<param name="allowScriptAccess" value="never" />
<param name="allowNetworking" value="internal" />
<param name="movie" value="http://www.fhqhosting.com/ui/1myspace.swf" />
</object>


I know div tables and setvolume peremeters exist, any help would be greatful!!

Centering SWF In Myspace
So I need 2 things:

1) Center the swf movie for my bands myspace profile??

2) automatically mute the sound, without requiring the user to press the button??? using setvolume parameter??

The code is very simple:


<object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" height="500" width="770" data="http://www.fhqhosting.com/ui/1myspace.swf">
<param name="allowScriptAccess" value="never" />
<param name="allowNetworking" value="internal" />
<param name="movie" value="http://www.fhqhosting.com/ui/1myspace.swf" />
</object>



Im not sure how to set divs, tables, ect..
Any help would be greatly appreciated!

Getting Around Allowscriptaccess=never At Myspace.com
Anyone know how to run scripts or get around that parameter that they force their?

Myspace Problem
okay so i have this flash file, and i have a MC on it that when the user clicks it, i would like it to open a new window,

right now im using this code:

getURL("http://www.myspace.com/redhotchilipeppers", "_blank");

and when i test this in my regular test enviroment as well as in a separate html file it works perfectly, however when i click it while this is on my myspace, it doesnt do anything...

does any one have any idea why this happens? and know how to fix it?

thanks for any help in advance

Actionscript Vs. MySpace
I have a pretty cool (simple) page I built for MySpace -

http://www.visualtemptation.com/vtxflams/VTX01ms.html

I've had problems loading it and was wondering if it's because I'm using the Actionscript "loadMovie" to load the different swfs into the main stage. Is there any way to fix this?

Thanks for your time
Adam

Myspace & GetURL
getURL doesn't work in myspace...how do I get around this? I'm trying to make links to things like message me, add me, ect in an embeded flash movie...but...no dice...myspace doesn't allow alot of things but i've seen this done....any suggestions?

Preloaders On Myspace
Does anyone know how to put a flash on myspace, with a working preloader? Everytime I put a flash on myspace, the entire flash has to load before it displays, this basically kills preloaders, and it looks really ugly. Does anyone know how to fix this? I read somewhere that you can make a small container flash, that loads your actual movie, but I don't know how that works.

Any help is apriciated.

External Txt In Myspace
I'm reposting because I think my last post was unclear.

Hey guys,

I want to post a flash that grabs text from a seperate text file- It's so I can upload new tour dates for bands easily by uploading a new text file with the new tour dates on it- but it's for myspace which is disabling the flash grabing the external txt file for security reasons...so is there a way around this? Without having to make the txt file internal or having to change it to an image? I'll admit Im a novice at this to say the least, but is there no way flash can do this is or is there something that works in concert with flash that I can use? Any ideas help. Thanks!

Linking To Myspace
Hi guys, I am working on a new myspace profile in flash. I have it all done but I am getting output errors from flash . The errors are all on links that link to myspace functions such as "Message Me". I am guesing this is because the myspace URL uses questionmarks and other such symbols...correct me if i am wrong.

The error is attached to the message I think

Is there any way of getting around this problem, Thank you for your time!







Attach Code

**Error** Scene=Scene 1, layer=Message Me, frame=60:Line 1: Statement must appear within on handler
getURL('http://messaging.myspace.com/index.cfm?fuseaction=mail.message&friendID=20556944');

Myspace Profile
Hello, I recently asked about loading an mp3 player xml playlist from the html parameter "flashvars", now that i have my mp3 player working perfect on myspace i figured maybe i can use the same parameters for a myspace layout. I have an RSS Reader Designed to read the blogs and used a component loader to load the jpg shown own the myspace. My question is whats wrong. the mp3 player works great but my rss loader and photo component loader is having problems. Heres the codes I have.


--------------------------------HTML code------------------------------

<param name="flashvars" value="xmlpath=http://www.mysite.net/myspaceplaylist.xml&rsspath=http://blog.myspace.com/blog/rss.cfm?friendID=4010127&csspath=http://www.mysite.net/mo_rss.css&photopath=http://a580.ac-images.myspacecdn.com/01316/97/56/photo.jpg" />
</object>



----------Photo Loader (loader component) ****first frame of (_root.mysarea) ***** -------


this.myspacepcarea.picloader.loaders.loaderw.loadMovie(photopath);
I-------------+------------------I----------+-----------+-----I
loaders destination



--------------------------------RSS Loader ****first frame of (_root.blog.rssbloger) ***** ----------

The RSS Loader has 2 files referenced to the HTML file. variable names csspath and rsspath. CSSpath is reference to the css layout of the rss loader.

trace (_root.rsspath);
trace (_root.csspath);
var rss_css:TextField.StyleSheet = new TextField.StyleSheet();
rss_css.onLoad = function(success:Boolean) {
if (success) {
trace("css loaded...");
function not_set_yet() {
loadDATA();
}
}
};
rss_css.load(_root.csspath);
// ************************************************
//Load XML data
// ************************************************
btnLoad.onRelease = function() {
loadDATA();
};
function loadDATA() {
var rss_xml:XML = new XML();
rss_xml.ignoreWhite = true;
rss_xml.onLoad = function(success:Boolean) {
if (success) {
processData(rss_xml);
} else {
trace("unable to load/parse cnet.xml");
}
};
rss_xml.load(_root.rsspath);
}
// ***********************************************
// Process Data
// ***********************************************
channel_title = "";
channel_desc = "";
channel_copyright = "";
channel_link = "";
channel_lang = "";
function processData(rm) {
var rss = rm.firstChild.firstChild;
item_txt.text = "";
item_txt.html = true;
item_txt.styleSheet = rss_css;
for (i=0; i<rss.childNodes.length; i++) {
//trace(rss.childNodes.nodeName);
if (rss.childNodes.nodeName == "title") {
channel_title = rss.childNodes.firstChild.nodeValue;
} else if (rss.childNodes.nodeName == "description") {
channel_description = rss.childNodes.firstChild.nodeValue;
} else if (rss.childNodes.nodeName == "copyright") {
channel_copyright = rss.childNodes.firstChild.nodeValue;
} else if (rss.childNodes.nodeName == "link") {
channel_link = rss.childNodes.firstChild.nodeValue;
} else if (rss.childNodes.nodeName == "language") {
channel_lang = rss.childNodes.firstChild.nodeValue;
} else if (rss.childNodes.nodeName == "image") {
var sTitle;
var sLink;
// link
var sURL;
// logo url
txtLogo.html = true;
txtLogo.htmlText = "";
for (j=0; j<rss.childNodes.childNodes.length; j++) {
if (rss.childNodes.childNodes[j].nodeName == "title") {
sTitle = rss.childNodes.childNodes[j].firstChild.nodeValue;
} else if (rss.childNodes.childNodes[j].nodeName == "link") {
sLink = rss.childNodes.childNodes[j].firstChild.nodeValue;
} else if (rss.childNodes.childNodes[j].nodeName == "url") {
sURL = rss.childNodes.childNodes[j].firstChild.nodeValue;
}
}
} else if (rss.childNodes.nodeName == "item") {
var itemTitle;
var itemDesc;
var itemLink;
for (j=0; j<rss.childNodes.childNodes.length; j++) {
if (rss.childNodes.childNodes[j].nodeName == "title") {
itemTitle = rss.childNodes.childNodes[j].firstChild.nodeValue;
} else if (rss.childNodes.childNodes[j].nodeName == "description") {
itemDesc = rss.childNodes.childNodes[j].firstChild.nodeValue;
} else if (rss.childNodes.childNodes[j].nodeName == "link") {
itemLink = rss.childNodes.childNodes[j].firstChild.nodeValue;
}
}
item_txt.htmlText += "<a href=""+itemLink+""><span class="headline">"+itemTitle+"</span></a><br><span class="thread">"+itemDesc+"</span><br>";
}
}
}
loadDATA();
__________________________________________________________________________

XML Gallery On Myspace
Hello, I've run into a bit of a problem.

I created a small XML/Flash slideshow gallery. I uploaded it to my host and tested it out in my browser and after some small oversights got it working perfectly.

I'm currently in the process of customizing my myspace profile, and where the gallery comes in I'm essentially replacing the table that includes your profile picture and link to more pics with this XML/Flash gallery.

This has become the problem. After embedding the flash file on my myspace profile, I find that the swf does load, but the XML isn't being loaded...getting no images populating my swf and no other data populating either.

Other info: All paths to images, XML files, and any other file have been stated absolutely within both the AS and the XML. So it's not a relative addressing problem.

Any ideas? Thanks in advance.

Myspace Mp3 Player
Hey, i'm sure this has come up before but does anyone know how to make one like it? I want members of my community to be able to add my bands songs to their profile, in the same way.

Thanks for help...

Xml Photogallery For Myspace
so here's what I'm trying to do, and here's the problem

I'm trying to make an easily updatable photo gallery in flash to be placed on a friend of mine's myspace page. I used this tut

kirupa.com/developer/mx2004/xml_flash_photogallery.htm

the swf reads an xml file and can then display the pics and captions from that xml file. so all I'll need to update in the future is the xml file and upload the new pics to a server and I'd be done, no need to open up the fla at all.

the only thing I changed from the original is the design to make it match her myspace page better. as far as the action script, the only part I've touched is the location of the images.xml file

changed from

xmlData.load("images.xml");

to

xmlData.load("http://www.freewebs.com/jaredcheeda/amy/images.xml");

or

xmlData.load("http://www.the1801.com/thejared/temp/images.xml");

whenever I change the action script to go get the xml file from somewhere online, rather than just grab it out of the same directory as the swf, it seems to have trouble.

I created a photobucket account for her and have all the pics uploaded to it, but since photobucket only allows pics, vids, and swf, I needed a place to host the xml. So I set it up on a freewebs account (free hosting site) and eventually on a temporary server I have access to (as a test place).

the problem is when I embed the swf in a page, it plays it, but it can't load the xml file.

src="http://the1801.com/thejared/temp/photogallery.swf"
won't work, but
src="photogallery.swf"
will work, even if the html page that's loading it is in the same temp folder. this is a problem, being that it needs to be embedded into a myspace page

for those unfamiliar with myspace, they restrict some things on their pages. Iframes aren't allowed (which would have been the easiest solution). you can't use javascript, and object tags don't work. so basically you're stuck with the embed tag. besides that though, pretty much the rest of HTML is allowed and I'm pretty sure everything in CSS is allowed, (as long as you're not blocking thier ads).

here's a test page
http://www.the1801.com/thejared/temp/index.html
the top is a link to how it should display, the three things in the middle are my attempts to host it online and link to it from another page (like what would be happening on myspace).feel free to view source. in IE the freewebs one won't display (for me) at all, I think freewebs may have something to stop linking to thier files from other pages (anti-leeching), however in FF for me it displays perfectly the way I want it to, but this could just be on my computer, being that I may have logged in or viewed the original swf on the freewebs server and firefox's weird caching system may just be retrieving it or something (I don't know). anyways, I want something that works every time in any browser and on any OS (especially mac, since my retarded friend spent an ungodly amount of money on an ibook that is only used for changing songs on her ipod and playing around on myspace)

the fla is in Flash MX 2004, but I also have Flash 8 if it will help anything

things I'm unclear about that may be a solution:
there's an option when exporting fla's as swf in Flash Pro 8
Local playback security: Access local files only or Access network only
don't know what that means

k, here are links to just about everything relating to this, incase any of it is needed.
http://www.the1801.com/thejared/temp/index.html
http://www.the1801.com/thejared/temp/photogallery.swf
http://www.the1801.com/thejared/temp/photogallery2.swf
http://www.the1801.com/thejared/temp/photogallery.fla
http://www.the1801.com/thejared/temp/images.xml
http://i118.photobucket.com/albums/o...otogallery.swf
http://i118.photobucket.com/albums/o118/amyjowright/
http://www.freewebs.com/jaredcheeda/amy/images.xml
http://www.freewebs.com/jaredcheeda/...otogallery.swf
http://www.kirupa.com/developer/mx20...otogallery.htm

just as a note, the goal is to have an easily updatable photogallery, preferable something that all I need to do is edit a text file and everything will be updated, so if there's another way around this entire thing, I'm open.

I know it's possible, because there are services out there that allow you to do on-the-fly loading of images into an swf on myspace pages, but I don't like the way they stamp there names all over it, and the lack of control over the look of it. I'm guessing it may be using something with php or something, which I wouldn't have access to (no server of my own to use for php, plus I don't really know any php)

MySpace In Flash?
Is it possible to make an entire MySpace page in flash?
Does myspace allow such things?
If so, how would I go about doing it?

RJ

Help Me Please- Flash In Myspace
hey guys
I recently tried uplaoding a flash file onto my myspace, but all the links in the flash file that are linked to another page didnt work and it did when it wasnt on the myspace page, but if i put a HTML link into myspace it works fine, why is this happening, can it be fixed?
thankyou

Embed .swf In Myspace?
Hey there. I am trying to embed my .swf file so it displays on my myspace page, but i think i severely screwed up the code.
Here are my issues that I hope you can help with:

1.) i want the video to be compatible in IE & Firefox. (currently it works better in firefox)

2.) NO loop

3.) the links in the page must function when the correct code is in place.

The location for my SWF movie is: http://www.fileden.com/files/2007/3/...riendslist.swf

My current code looks like:

<object type="application/x-shockwave-flash" data="http://www.fileden.com/files/2007/3/23/919039/friendslist.swf" height="350" width="1000">
<param name="movie" value="http://www.fileden.com/files/2007/3/23/919039/friendslist.swf" />
<param name="allowScriptAccess" value="never" />
<param name="allowNetworking" value="internal" />
<param name="loop" value="false" />
</object>

Myspace Friends
Heres what i would like to do...

in your friends section on myspace, i would like to put a flash file there...which of course i can do

what i would like to do is maybe make an xml file for each of my friends, and the flash file randomly chooses friends and shows their pic and info and stuff

and then after like 5 secs it would change friends...could that be done?

Myspace On Mypage
i have a super anbicious project set for february 27, and i really wanted a social area like my space or hi5 or badoo or friendster. do any of these services provide off site services. or better yet, a forum built specially for making comunitiess like myspace. odd right.

MySpace + Flash + PHP
Hi Everyone...

I know there are a lot of issues with MySpace as far as using Flash etc.. I'm not a MySpace user so I don't really know the answer to this question.

What, if any, are the limitations to adding a flash based contact form (done through PHP & MySQL). A client wants this done and I'm not sure if it will be functional.

I'm thinking there might be some issues with accessing the PHP on the client's server and/or posting back to a MySQL database. If I made it a straight email form (again via PHP) but instead of linking to a MySQL it just sent an email, would that work better or are the same issues at play?

Thank you everyone.

Much Love!

- Edit -
The Flash portion seems to work as when I click the submit button in the Flash movie posted on MySpace it puts "undefined" entries into the MySQL database.

Any ideas on what the cause of that could be? Is this a reflection of the Flash/MySpace interaction or a error in the in the PHP?

Myspace & Flash?
Does anyone know of a good hack for embeding Flash on mypsace?

Copyright © 2005-08 www.BigResource.com, All rights reserved