Hi,
this is perhaps a common question, but everywhere I just find how to
load external images into a movieclip. I have images in my Library
that I want to load into a movieclip, so I used attachMovie like this:
mc.attachMovie( "imagename" );
where imagename is the Linkage identifier, but this doesn't work,
so I wonder what I am doing wrong?
Thx
User Profile
Collapse
-
Load image from library into movieclip
-
Display %-sign in PHP
Hi!
I have database-table with different texts, in which the %-sign is used.
When I retrieve the info with SQL and PHP and display the texts with echo, I see that the percent-sign is there. I then want to get that data into a flash-document with a LoadVars. I have embedded the %-sign for the dynamic textfield, but it won't show it anyway. I don't know where the problem is, is it in the PHP or Flash?
If this should... -
Get screenshot from flv
Hi!
I wonder if there is a way to get a frameimage with actionscript
from an flv-video, I'm making a youtube-like video-player.
Or is that something that is resolved when uploading a video
on youtube?
Thx -
LoadVars - getting several variables with for-loop
Hi!
I have like a 100 names in a database table, I want to get
them with a LoadVars in actionscript.
I wonder if there is a way of writing instead of this:
...Code:myData = new LoadVars(); myData.onLoad = function() { textfield1.text = myData.name1; textfield2.text = myData.name2; textfield3.text = myData.name3; ... textfield100.text = myData.name100; -
Use Javascript to change the color of a Flash movieclip
Hi!
I know there is a way to control a flashmovie using javascript, but
I wonder if there is a way to access a movieclip instance in a flashmovie
using javascript.
I have a site with a flashmovie embedded then I have a javascript menu
that enables the user to change the backgroundcolor of the site.
The backgroundcolor of both the html-page and the flashmovie needs to be
changed. The... -
Send value from Flash to database with PHP
Hi!
This has been posted in the flash-forum as well.
I know a solution for this problem and that is using this code:
PHP: (submitScore.ph p)
[code=php]
<?php
$nick = $_POST['Nick'];
$score = $_POST['Score'];
$kills = $_POST['Kills'];
$floor = $_POST['FloorNr'];
$db=mysql_conne ct("")
or die("Couldn't connect.");
... -
Flash send value to database with PHP
Hi!
I know a solution for this problem and that is using this code:
PHP: (submitScore.ph p)
<CODE>
<?php
$nick = $_POST['Nick'];
$score = $_POST['Score'];
$kills = $_POST['Kills'];
$floor = $_POST['FloorNr'];
$db=mysql_conne ct("")
or die("Couldn't connect.");
mysql_select_db ("databasename" , $db);... -
Woooo!
With quite a lot tea-drinking and weird background-music, I solved
the algorithm that checks all files in all subfolders of a folder, here
it is:
...Code:function findFile(PathArray, itr, nextFree){ var newitr = nextFree; var fso = new ActiveXObject("Scripting.FileSystemObject"); var fold = fso.GetFolder(PathArray[itr]); FileEnum = new Enumerator(fold.files); -
I know I must create a recursive function, i.e. a function that looks through a
folder, looks at the files there, then takes the next subfolder and calls itself
again. The súbfolder's relative path needs to be stored in an array I guess, but I
don't feel that smart this early in the morning, and this must have been done a
thousand times before, but I can't find any algorithm on google. Does anyone
here know...Leave a comment:
-
Thx for the reply!
But this doesn't work as I want it to.
If I change:
FileEnum = new Enumerator(fold .files);
to
FolderEnum = new Enumerator(fold .SubFolders);
All it does is list the subfolders in the main-folders and not the
the subfolders of the subfolders etc...
I want it to look for the file in the main-folder, sub-folders, the sub-sub-folders =
all folders in the...Leave a comment:
-
Search function to search through subfolders
Hi!
Does anyone know a searchscript to create a javascript file-search.
I want it to be able to search for a specific filename in a folder INCLUDING
its sub-folders.
I know there is a way to search a folder for a file but not its sub-folders, here
is what I got:
function findFile(Npath) {
var fso = new ActiveXObject(" Scripting.FileS ystemObject");
var fold...
No activity results to display
Show More
Leave a comment: