swf_ButtonPostProcess(i->tag, 1);
}
}
+
char buf[80];
+ char*buf2 = 0;
const char* name = 0;
if(i->config_linknameurl) {
- name = url;
+ buf2 = malloc(strlen(type)+strlen(url)+2);
+ sprintf(buf2, "%s:%s", type, url);
+ name = buf2;
} else {
name = buf;
sprintf(buf, "button%d", buttonid);
} else {
swf_ObjectPlace(i->tag, buttonid, getNewDepth(dev),&i->page_matrix,0,(U8*)name);
}
+
+ if(buf2)
+ free(buf2);
}
glyph, i->swffont->id, x, y, color->r, color->g, color->b, color->a);
if(color->a == 0 && i->config_invisibletexttofront) {
+ RGBA color2 = *(RGBA*)color;
if(i->config_flashversion>=8) {
// use "multiply" blend mode
- color->a = color->r = color->g = color->b = 255;
+ color2.a = color2.r = color2.g = color2.b = 255;
}
- i->topchardata = charbuffer_append(i->topchardata, i->swffont, glyph, x, y, i->current_font_size, *(RGBA*)color, &i->fontmatrix);
+ i->topchardata = charbuffer_append(i->topchardata, i->swffont, glyph, x, y, i->current_font_size, color2, &i->fontmatrix);
} else {
i->chardata = charbuffer_append(i->chardata, i->swffont, glyph, x, y, i->current_font_size, *(RGBA*)color, &i->fontmatrix);
}